Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 13.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
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

This module extends the product pricelists feature to allow show price for all pricelists from a product form view.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
- uom
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
product_pricelist_view_simulation product.pricelist Inherits product.product_pricelist_view
product_template_form_view_pricelist_simulation product.template form Inherits product.product_template_only_form_view
view_pricelist_simulation_view_form wizard.preview.pricelist.form wizard.preview.pricelist form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • show_in_simulation Boolean
    default=True
Public methods (0)

No public methods.

New fields (6)
  • line_ids One2many → wizard.preview.pricelist.line
    comodel_name='wizard.preview.pricelist.line' compute='_compute_line_ids' inverse_name='simulation_id' string='Simulation Lines'
  • price_date Date
    default=fields.Date.context_today required=True string='Date'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('product_tmpl_id', '=', template_id)]" string='Product Variant'
  • product_qty Float
    default=1 required=True string='Quantity'
  • template_id Many2one → product.template
    comodel_name='product.template' readonly=True string='Product Template'
  • variant_count Integer
    compute='_compute_variant_count' string='Variants Count'
Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (5)
  • currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True related='pricelist_id.currency_id' string='Currency'
  • price Monetary
    readonly=True string='Unit Price'
  • pricelist_id Many2one → product.pricelist
    comodel_name='product.pricelist' readonly=True
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • simulation_id Many2one → wizard.preview.pricelist
    comodel_name='wizard.preview.pricelist'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…