Skip to content
Health
100/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by25/25
    7 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…