Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

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

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 4 models 3 views 0 HTTP endpoints

Description

This Odoo module allows you to set allowed pricelists for customers and restrict the selection of pricelists to only those allowed for the partner in the sale order.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits sale.res_config_settings_view_form
view_order_form sale.order.form sale.order form Inherits sale.view_order_form
view_res_partner_form_inherit res.partner.form.inherit res.partner form Inherits product.view_partner_property_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • use_partner_pricelist Boolean
Public methods (0)

No public methods.

New fields (1)
  • use_partner_pricelist Boolean
    readonly=False related='company_id.use_partner_pricelist'
Public methods (1)
  • set_values(self)

New fields (1)
  • allowed_pricelist_ids Many2many → product.pricelist
    comodel_name='product.pricelist' copy=False domain=<expr> help='If set, you can only use the selected pricelists for this partner in the sale order.' string='Allowed Pricelists'
Public methods (0)

No public methods.

New fields (1)
  • partner_allowed_pricelist_ids Many2many → product.pricelist
    comodel_name='product.pricelist' compute='_compute_partner_allowed_pricelist_ids' help="Technical field used to show the allowed pricelists for the partner if the partner don't have allowed pricelists it shows all the pricelists."
Public methods (0)

No public methods.

Loading…