POS Order Load and Save

pos_order_load
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/10.0/pos_order_load
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Invitu, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets_backend pos_order_load assets ir.ui.view qweb Inherits web.assets_backend
index_pos_order_load POS Index Order Load ir.ui.view qweb Inherits point_of_sale.index
Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • create_from_ui(self, orders)
    @api.model
    Remove from the 'orders' list all orders where amount_return is < 0 (because that means they are not paid, but just in draft state). * call a specific function for the draft orders list * call the parent create_from_ui() for the remaining orders
  • load_order(self, order_id)
    @api.model
  • search_read_orders(self, query)
    @api.model
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/8.0/pos_order_load
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - stock_account
    - stock
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets_backend pos_order_load assets ir.ui.view qweb Inherits web.assets_backend
index_pos_order_load POS Index Order Load ir.ui.view qweb Inherits point_of_sale.index
Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • create_from_ui(self, orders)
    @api.model
    Remove from the 'orders' list all orders where amount_return is < 0 (because that means they are not paid, but just in draft state). * call a specific function for the draft orders list * call the parent create_from_ui() for the remaining orders
  • load_order(self, order_id)
    @api.model
  • search_read_orders(self, query)
    @api.model