POS - Sales
pos_sale · odoo/odoo
Replaces
pos_picking_load via pos_sale_order_load (14.0) · pos_sale_order_load (15.0) · pos_sale_product_configurator (18.0) Health
100/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by25/257 modules depend on it
-
Maturity25/25In 10 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
7
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.07 MB
Module directory on disk
Code analysis
0 migration notes
14 models
7 views
0 HTTP endpoints
Description
This module adds a custom Sales Team for the Point of Sale. This enables you to view and manage your point of sale sales with more ease.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_be_pos_sale, pos_event_sale, pos_sale_delivery, pos_sale_loyalty, pos_sale_margin, pos_sale_stock, pos_self_order_sale
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
pos_sale.pos_orderline_receipt_information |
pos_sale.pos_orderline_receipt_information | ir.ui.view | qweb | Inherits point_of_sale.pos_orderline_receipt_information |
report_invoice_document |
report_invoice_document | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_config_settings_view_form |
res.config.settings.view.form.inherit.pos_sale | res.config.settings | form | Inherits point_of_sale.res_config_settings_view_form |
view_order_form_inherit_pos_sale |
sale.order.form.pos.sale | sale.order | form | Inherits sale.view_order_form |
view_pos_config_search_inherit_pos_sale |
pos.config.search.view | pos.config | search | Inherits point_of_sale.view_pos_config_search |
view_pos_order_form_inherit_pos_sale |
pos.order.form.pos.sale | pos.order | form | Inherits point_of_sale.view_pos_pos_form |
view_pos_session_search_inherit_pos_sale |
pos.session.search.view | pos.session | search | Inherits point_of_sale.view_pos_session_search |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 14
New fields (0)
No new fields.
Public methods (3)-
action_post(self) -
button_cancel(self) -
reflect_cancelled_sol(self, isCancelled)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
pos_config_idsOne2many → pos.configstring='Point of Sales' args: 'pos.config', 'crm_team_id'
No public methods.
New fields (3)
-
crm_team_idMany2one → crm.teamhelp="This Point of sale's sales will be related to this Sales Team."index='btree_not_null'ondelete='set null'string='Sales Team' args: 'crm.team' -
default_product_idMany2one → product.productdefault=_get_default_sol_producthelp='This product will be used as default product on productless SOLs.'init_storage='_init_column_default_products'required=Truestring='Default Product' args: 'product.product' -
down_payment_product_idMany2one → product.productdefault=_get_default_down_payment_producthelp='This product will be used as down payment on a sale order.'init_storage='_init_column_default_products'required=Truestring='Down Payment Product' args: 'product.product'
No public methods.
New fields (3)
-
crm_team_idMany2one → crm.teamondelete='set null'string='Sales Team' args: 'crm.team' -
currency_rateFloatcompute='_compute_currency_rate'digits=0readonly=Truestore=True -
sale_order_countIntegercompute='_count_sale_order'groups='sales_team.group_sale_salesman'readonly=Truestring='Sale Order Count'
-
action_pos_order_paid(self) -
action_view_sale_order(self) -
sync_from_ui(self, orders)@api.model -
write(self, vals)
New fields (6)
-
down_payment_detailsTextstring='Down Payment Details' -
has_default_productBooleancompute='_compute_has_default_product'help='To check whether the product is default product from pos.config or not. In case of description only SOLs we use default product from pos.config.' -
qty_deliveredFloatcompute='_compute_qty_delivered'copy=Falsereadonly=Falsestore=Truestring='Delivery Quantity' -
sale_order_line_idMany2one → sale.order.lineindex='btree_not_null'string='Source Sale Order Line' args: 'sale.order.line' -
sale_order_line_nameTextrelated='sale_order_line_id.name' -
sale_order_origin_idMany2one → sale.orderindex='btree_not_null'string='Linked Sale Order' args: 'sale.order'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
crm_team_idMany2one → crm.teamreadonly=Truerelated='config_id.crm_team_id'string='Sales Team' args: 'crm.team'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
pos_crm_team_idMany2onereadonly=Falserelated='pos_config_id.crm_team_id'string='Sales Team (PoS)' -
pos_default_product_idMany2onereadonly=Falserelated='pos_config_id.default_product_id' -
pos_down_payment_product_idMany2onereadonly=Falserelated='pos_config_id.down_payment_product_id'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
pos_order_countIntegercompute='_count_pos_order'groups='point_of_sale.group_pos_user'readonly=Truestring='Pos Order Count' -
pos_order_line_idsOne2many → pos.order.linegroups='point_of_sale.group_pos_user'readonly=Truestring='Order lines Transfered to Point of Sale' args: 'pos.order.line', 'sale_order_origin_id'
-
action_view_pos_order(self) -
load_sale_order_from_pos(self, config_id)
New fields (1)
-
pos_order_line_idsOne2many → pos.order.linegroups='point_of_sale.group_pos_user'readonly=Truestring='Order lines Transfered to Point of Sale' args: 'pos.order.line', 'sale_order_line_id'
-
read_converted(self) -
unlink(self)
New fields (2)
-
order_referenceReferenceselection_add=[('pos.order', 'POS Order')] -
stateSelectionselection_add=[('paid', 'Paid'), ('invoiced', 'Invoiced'), ('done', 'Posted')]
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…