Pricelist Per Product

pricelist_per_product
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/9.0/pricelist_per_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, David Beal, oca-travis, Brett Wood, Ted Salmon
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_pricelist_item_form_view product.pricelist.item.form product.pricelist.item xpath Inherits product.product_pricelist_item_form_view
product_pricelist_view product.pricelist.form product.pricelist xpath Inherits product.product_pricelist_view
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (2)

New fields (2)
  • product_item_ids One2many → product.pricelist.item
    comodel_name='product.pricelist.item' inverse_name='pricelist_id'
  • product_template_count Integer
    compute='_compute_product_template_count' help='Number of Product Template with this Pricelist' string='Template with this Pricelist'
Public methods (1)
  • button_template_in_pricelist(self)
    @api.multi
    Return a tree form of ``product.template`` for the pricelist

New fields (1)
  • related_sequence Integer
    help="Allows modification of the sequence manually as the sequence field is difficult to modify due to 'handle'." related='sequence' string='Sequence'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/8.0/pricelist_per_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYsale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSAkretion
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, beau sebastien, David Beal, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_pricelist_version_form_view product.pricelist.version field Inherits product.product_pricelist_version_form_view
product_pricelist_view product.pricelist field Inherits product.product_pricelist_view
product_pricelist_view_tree product.pricelist field Inherits product.product_pricelist_view_tree
product_template_form_view product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • price_grid Boolean
    help=PRICE_GRID_HELP string='Product Price Grid'
Public methods (0)

No public methods.

New fields (3)
  • currency_name Many2one
    readonly=True related='price_version_id.pricelist_id.currency_id'
  • date_end Date
    readonly=True related='price_version_id.date_end'
  • related_sequence Integer
    String='Sequence' help="Allows to modify the sequence manually because the sequence field is difficult to modify because 'handle'." related='sequence'
Public methods (3)
  • button_product(self)
    @api.multi
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (3)
  • item_grid_ids One2many → product.pricelist.item
    args: 'product.pricelist.item', 'price_version_id'
  • price_grid Boolean
    domain=[('price_surcharge', '=', 0)] help=PRICE_GRID_HELP related='pricelist_id.price_grid' store=True
  • tmpl_in_count Integer
    compute='_compute_count_products' help='Number of Product Template with this Pricelist version' string='Template with this Version'
Public methods (1)
  • button_template_in_version(self)
    @api.multi

New fields (1)
  • pricelist_item_ids One2many → product.pricelist.item
    default=_default_pricelist_item_ids help='These prices are defined with absolute values\n(no calculation with discount)' string='Pricelist Items' args: 'product.pricelist.item', 'product_tmpl_id'
Public methods (7)
  • create(self, vals)
    @api.model
  • create_or_write_pricelist(self, pricelist_item_vals)
    @api.model
  • default_pricelist_item_ids(self)
  • get_default_pricelist_item_vals(self, version)
  • get_pricelist_version_domain(self)
  • update_pricelist_values(self, vals)
    @api.model
  • write(self, vals)
    @api.multi