Repository
OCA/pos · module folder · Try on Runboat
Module version
1.1.0
Category
Point Of Sale
Folder size
1.15 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:09:20
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Sylvain LE GAL, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_res_config_settings_form res.config.settings form Inherits point_of_sale.res_config_settings_view_form
view_sale_order_form sale.order form Inherits sale_stock.view_order_form_inherit_sale_stock
view_stock_picking_form stock.picking form Inherits stock.view_picking_form
view_stock_picking_type_form stock.picking.type form Inherits stock.view_picking_type_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (2)
  • iface_load_picking Boolean
    default=True string='Load Pickings'
  • iface_load_picking_max_qty Integer
    default=10 required=True string='Max Picking Quantity To Load'
Public methods (0)

No public methods.

New fields (1)
  • origin_picking_id Many2one → stock.picking
    comodel_name='stock.picking' readonly=True string='Origin Picking'
Public methods (2)
  • create_from_ui(self, orders, draft=False)
    @api.model
    Cancel the original picking, when the pos order is done
  • create_picking(self)
    Call super() for each order separately with the origin picking id in the context. The new picking will be updated accordingly in the picking's action_confirm()

New fields (2)
  • pos_iface_load_picking Boolean
    readonly=False related='pos_config_id.iface_load_picking'
  • pos_iface_load_picking_max_qty Integer
    readonly=False related='pos_config_id.iface_load_picking_max_qty'
Public methods (0)

No public methods.

New fields (1)
  • final_pos_order_id Many2one → pos.order
    comodel_name='pos.order' help='This Sale Order has beend replaced by this PoS Order' readonly=True string='Final PoS Order'
Public methods (0)

No public methods.

New fields (1)
  • final_pos_order_id Many2one → pos.order
    comodel_name='pos.order' help='This picking has been canceled, because it has been replaced by this PoS Order' readonly=True string='Final PoS Order'
Public methods (4)
  • action_confirm(self)
    Assign to same procurement group as the origin picking
  • load_picking_for_pos(self, picking_id)
    @api.model
  • search_pickings_for_pos(self, query, pos_session_id)
    @api.model
  • update_from_origin_picking(self, origin_picking)

New fields (1)
  • available_in_pos Boolean
    help='If checked, associated pickings will be available in the point of sale, to be changed and paid in it' string='Available in Point Of Sale'
Public methods (0)

No public methods.

Loading…

Loading…