Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.0
Category
Point Of Sale
Folder size
0.17 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
http://www.lalouve.net
Last tracking update
2026-08-07 07:10:00
Authors
Odoo Community Association (OCA), GRAP, La Louve
Maintainers
Odoo Community Association (OCA), GRAP, La Louve
Committers
OCA Transbot, oca-travis, Rafael Blasco
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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.