TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
1.1
Category
Sales/Point of Sale
Folder size
1.0 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-09-30 18:18:34
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Christophe Matthieu, Aurélien Warnon, Victor Feyens, Julien Mougenot, svs-odoo, Tiffany Chang (tic), Gorash, william-andre, Antoine Vandevenne (anv), Renaud Thiry, rhe-odoo, David Monnom (moda), Pedram (PEBR), amdi-odoo, Dylan Kiss (dyki), Sarah Bellefroid, Louis Travaux, Adrien Guilliams (adgu), guva-odoo, Majed Alhanash (malh), manv-afk, parp-odoo, Loukas Wets (lowe), Yousef Alnashef (alny), Stéphane Diez, Jitendra Prajapat, David Monnom, Arthur Nanson, Mohammad Abdulmoneim (abdu), Pierre Lamotte (pila), Pierre Pulinckx, Michaël Mattiello, Corentin Heinix (cohe), Valeriya (vchu), Krzysztof Magusiak (krma), Ajit Singh, krip-odoo, joseph, Robin Engels (roen), Radu Macocian (admac), Guillaume V, Meet Jivani [MEJI], Hadi El Yakhni, josm-odoo, igbe, sjai-odoo, Julien Launois (jula), Yagnik ✗ (yagp), Amr Elkhatieb, Nisarg (nipl), Lionel Piraux (lipi), Traina Ludo, rpka-odoo, Léopold Cantraine, adgu-odoo, Shubham Agarwal, Shubham Agarwal(shag), Abdullah (abye), jean (jebou), Jean Schoenlaub, Elisabeth Dickinson (edi)
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
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.

Code Analysis info_outline

Views touched (7)
XML IDNameModelTypeStatus
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_ids One2many → pos.config
    string='Point of Sales' args: 'pos.config', 'crm_team_id'
Public methods (0)

No public methods.

New fields (3)
  • crm_team_id Many2one → crm.team
    help="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_id Many2one → product.product
    default=_get_default_sol_product help='This product will be used as default product on productless SOLs.' init_storage='_init_column_default_products' required=True string='Default Product' args: 'product.product'
  • down_payment_product_id Many2one → product.product
    default=_get_default_down_payment_product help='This product will be used as down payment on a sale order.' init_storage='_init_column_default_products' required=True string='Down Payment Product' args: 'product.product'
Public methods (0)

No public methods.

New fields (3)
  • crm_team_id Many2one → crm.team
    ondelete='set null' string='Sales Team' args: 'crm.team'
  • currency_rate Float
    compute='_compute_currency_rate' digits=0 readonly=True store=True
  • sale_order_count Integer
    compute='_count_sale_order' groups='sales_team.group_sale_salesman' readonly=True string='Sale Order Count'
Public methods (4)
  • 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_details Text
    string='Down Payment Details'
  • has_default_product Boolean
    compute='_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_delivered Float
    compute='_compute_qty_delivered' copy=False readonly=False store=True string='Delivery Quantity'
  • sale_order_line_id Many2one → sale.order.line
    index='btree_not_null' string='Source Sale Order Line' args: 'sale.order.line'
  • sale_order_line_name Text
    related='sale_order_line_id.name'
  • sale_order_origin_id Many2one → sale.order
    index='btree_not_null' string='Linked Sale Order' args: 'sale.order'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • crm_team_id Many2one → crm.team
    readonly=True related='config_id.crm_team_id' string='Sales Team' args: 'crm.team'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • pos_crm_team_id Many2one
    readonly=False related='pos_config_id.crm_team_id' string='Sales Team (PoS)'
  • pos_default_product_id Many2one
    readonly=False related='pos_config_id.default_product_id'
  • pos_down_payment_product_id Many2one
    readonly=False related='pos_config_id.down_payment_product_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • pos_order_count Integer
    compute='_count_pos_order' groups='point_of_sale.group_pos_user' readonly=True string='Pos Order Count'
  • pos_order_line_ids One2many → pos.order.line
    groups='point_of_sale.group_pos_user' readonly=True string='Order lines Transfered to Point of Sale' args: 'pos.order.line', 'sale_order_origin_id'
Public methods (2)
  • action_view_pos_order(self)
  • load_sale_order_from_pos(self, config_id)

New fields (1)
  • pos_order_line_ids One2many → pos.order.line
    groups='point_of_sale.group_pos_user' readonly=True string='Order lines Transfered to Point of Sale' args: 'pos.order.line', 'sale_order_line_id'
Public methods (2)
  • read_converted(self)
  • unlink(self)

New fields (2)
  • order_reference Reference
    selection_add=[('pos.order', 'POS Order')]
  • state Selection
    selection_add=[('paid', 'Paid'), ('invoiced', 'Invoiced'), ('done', 'Posted')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…