Product Pricelist Simulation

product_pricelist_simulation
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/17.0/product_pricelist_simulation
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSRuchir Shukla, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the product pricelists feature to allow show price
for all pricelists from a product form view.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_pricelist_view_simulation product.pricelist xpath Inherits product.product_pricelist_view
product_template_form_view_pricelist_simulation product.template xpath Inherits product.product_template_form_view
view_pricelist_simulation_view_form wizard.preview.pricelist.form wizard.preview.pricelist form New
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 string='Pricelist'
  • 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' string='Simulation'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/product_pricelist_simulation
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Lois Rilo, Weblate, OCA-git-bot, Simone Orsi, oca-ci, Hugo
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_pricelist_view_simulation product.pricelist xpath Inherits product.product_pricelist_view
product_template_form_view_pricelist_simulation product.template xpath Inherits product.product_template_form_view
view_pricelist_simulation_view_form wizard.preview.pricelist.form wizard.preview.pricelist form New
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 string='Pricelist'
  • 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' string='Simulation'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/15.0/product_pricelist_simulation
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Stefan
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_pricelist_view_simulation product.pricelist xpath Inherits product.product_pricelist_view
product_template_form_view_pricelist_simulation product.template xpath Inherits product.product_template_form_view
view_pricelist_simulation_view_form wizard.preview.pricelist.form wizard.preview.pricelist form New
Models touched (3)

New fields (1)
  • show_in_simulation Boolean
    default=True string='Show in simulation'
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 Datetime
    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
    currency_field='currency_id' readonly=True
  • pricelist_id Many2one → product.pricelist
    comodel_name='product.pricelist' readonly=True string='Pricelist'
  • 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' string='Simulation'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/13.0/product_pricelist_simulation
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSPedro M. Baeza, Ernesto Tejeda, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_pricelist_view_simulation product.pricelist xpath Inherits product.product_pricelist_view
product_template_form_view_pricelist_simulation product.template xpath Inherits product.product_template_form_view
view_pricelist_simulation_view_form wizard.preview.pricelist.form wizard.preview.pricelist form New
Models touched (3)

New fields (1)
  • show_in_simulation Boolean
    default=True string='Show in simulation'
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
    currency_field='currency_id' digits='Price' readonly=True string='Price'
  • pricelist_id Many2one → product.pricelist
    comodel_name='product.pricelist' readonly=True string='Pricelist'
  • 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' string='Simulation'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/product-attribute
PULL REQUEST
PULL REQUEST[19.0][MIG] product_pricelist_simulation (#2144)