Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.4
Category
Point Of Sale
Folder size
0.24 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 07:47:37
Authors
Odoo Community Association (OCA), GRAP, Tecnativa, La Louve, Lambda IS
Maintainers
Odoo Community Association (OCA), GRAP, Tecnativa, La Louve, Lambda IS
Committers
Sylvain LE GAL, David, Weblate, OCA Transbot, OCA-git-bot, oca-travis, dsolanki, Jose Zambudio
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
pos_order_mgmt
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' string='Refund Orders Quantity'
  • returned_order_id Many2one → pos.order
    comodel_name='pos.order' readonly=True string='Returned Order'
Public methods (3)
  • action_pos_order_paid(self)
  • partial_refund(self, partial_return_wizard)
  • refund(self)

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)
  • 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
    default=True string='Allow Negative Quantity on PoS'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
210 days ago
Last activity
4 days ago
Repository
OCA/pos
Pull request
[18.0][MIG] pos_order_return: Migration to 18.0 (#1473)