Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 104 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.17 MB
Module directory on disk
Code analysis 10 migration notes 5 models 4 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
view_partial_return_wizard_form pos.partial.return.wizard form New
view_pos_order_form pos.order form Inherits point_of_sale.view_pos_pos_form
view_pos_order_line_form pos.order.line form Inherits point_of_sale.view_pos_order_line_form
view_product_template_form product.template form Inherits point_of_sale.product_template_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (3)
  • refund_order_ids One2many → pos.order
    comodel_name='pos.order' inverse_name='returned_order_id' readonly=True string='Refund Orders'
  • refund_order_qty Integer
    compute='_compute_refund_order_qty' digits=dp.get_precision('Product Unit of Measure') string='Refund Orders Quantity'
  • returned_order_id Many2one → pos.order
    comodel_name='pos.order' readonly=True string='Returned Order'
Public methods (2)
  • partial_refund(self, partial_return_wizard)
    @api.multi
  • refund(self)
    @api.multi

New fields (2)
  • refund_line_ids One2many → pos.order.line
    comodel_name='pos.order.line' inverse_name='returned_line_id' readonly=True string='Refund Lines'
  • returned_line_id Many2one → pos.order.line
    comodel_name='pos.order.line' readonly=True string='Returned Order'
Public methods (1)
  • max_returnable_qty(self, ignored_line_ids)
    @api.model

New fields (2)
  • line_ids One2many → pos.partial.return.wizard.line
    comodel_name='pos.partial.return.wizard.line' inverse_name='wizard_id' string='Lines to Return'
  • order_id Many2one → pos.order
    comodel_name='pos.order' string='Order to Return'
Public methods (2)
  • confirm(self)
    @api.multi
  • default_get(self, fields)
    @api.model

New fields (5)
  • initial_qty Float
    help='Quantity of Product initially sold' readonly=True string='Initial Quantity'
  • max_returnable_qty Float
    help='Compute maximum quantity that can be returned for this line, depending of the quantity of the line and other possible refunds.' readonly=True string='Returnable Quantity'
  • pos_order_line_id Many2one → pos.order.line
    comodel_name='pos.order.line' readonly=True required=True string='Line To Return'
  • qty Float
    default=0.0 string='Returned Quantity'
  • wizard_id Many2one → pos.partial.return.wizard
    comodel_name='pos.partial.return.wizard' string='Wizard'
Public methods (0)

No public methods.

New fields (1)
  • pos_allow_negative_qty Boolean
    string='Allow Negative Quantity on PoS'
Public methods (0)

No public methods.