Product Supplierinfo for Customers

product_supplierinfo_for_customer
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_supplierinfo_for_customer
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSJordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, German Loredo [Vauxoo], Gil Arasa Verge, Vang - Nguyen Phu, Vang-NguyenPhu
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
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 modules allows to use supplier info structure, available in
*Inventory* tab of the product form, also for defining customer
information, allowing to define prices per customer and product.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_search_view product.customerinfo.search.view product.customerinfo search New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (3)
  • partner_id Many2one
    help='Customer of this product' string='Customer'
  • product_code Char
    string='Customer Product Code'
  • product_name Char
    string='Customer Product Name'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (1)
  • base Selection
    ondelete={'partner': 'set default'} selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search_fetch(self, domain, field_names, offset=0, limit=None, order=None)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
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_supplierinfo_for_customer
VERSION
VERSION 1.0.6
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSAlexey Pelykh, Víctor Martínez, Weblate, OCA-git-bot, Simone Orsi, Oihane Crucelaegui, oca-ci, FernandoRomera, josep-tecnativa, Bhavesh Heliconia
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_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (1)
  • partner_id Many2one
    help='Customer of this product' string='Customer'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (1)
  • base Selection
    ondelete={'partner': 'set default'} selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • name_get(self)
  • price_compute(self, price_type, uom=False, currency=False, company=None, date=False)

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
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_supplierinfo_for_customer
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Carlos Roca, Olga Marco, dhx, josep-tecnativa, nalejhandro
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_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (1)
  • name Many2one
    help='Customer of this product' string='Customer'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (1)
  • base Selection
    ondelete={'partner': 'set default'} selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • name_get(self)
  • price_compute(self, price_type, uom=False, currency=False, company=None)

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_supplierinfo_for_customer
VERSION
VERSION 2.0.3
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, sergio-teruel, Sébastien BEAU, oca-travis, Weblate, OCA-git-bot, Alfredo Zamora, oca-ci, Alessandro Uffreduzzi, Ilyas, Olga Marco, oca-git-bot, Alessio Renda, PicchiSeba
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - sales_team
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_pricelist_item_form_view product.pricelist.item xpath Inherits product.product_pricelist_item_form_view
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (6)

New fields (1)
  • name Many2one
    help='Customer of this product' string='Customer'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (1)
  • base Selection
    ondelete={'partner': 'set default'} selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • name_get(self)
  • price_compute(self, price_type, uom=False, currency=False, company=False)

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
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_supplierinfo_for_customer
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSmreficent, Enric Tobella, Lois Rilo, OCA Transbot, sergio-teruel, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, oca-ci, CarlosRoca13
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 (5)
XML IDNameModelTypeStatus
product_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_pricelist_item_form_view product.pricelist.item xpath Inherits product.product_pricelist_item_form_view
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
res_partner_form_view res.partner xpath Inherits base.view_partner_form
Models touched (7)

New fields (1)
  • name Many2one
    help='Customer of this product' string='Customer'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • get_customerinfo_price(self, uom=False, currency=False, company=False)

New fields (1)
  • base Selection
    selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • name_get(self)
  • price_compute(self, price_type, uom=False, currency=False, company=False)

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (1)
  • price_compute(self, price_type, uom=False, currency=False, company=False)

New fields (0)

No new fields.

Public methods (2)
  • action_view_customerinfo(self)
  • default_get(self, fields)
    @api.model
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/12.0/product_supplierinfo_for_customer
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, mreficent, OCA Transbot, sergio-teruel, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - 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_customerinfo_form_view product.customerinfo.form.view product.customerinfo form New
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo tree New
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
Models touched (7)

New fields (1)
  • name Many2one
    domain=[('customer', '=', True)] help='Customer of this product' string='Customer'
Public methods (1)
  • get_import_templates(self)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • get_customerinfo_price(self, uom=False, currency=False, company=False)

New fields (1)
  • base Selection
    selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • name_get(self)
    @api.multi
  • price_compute(self, price_type, uom=False, currency=False, company=False)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
    @api.multi
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model

New fields (2)
  • customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Customer'
  • variant_customer_ids One2many → product.customerinfo
    comodel_name='product.customerinfo' inverse_name='product_tmpl_id' string='Variant Customer'
Public methods (1)
  • price_compute(self, price_type, uom=False, currency=False, company=False)

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/11.0/product_supplierinfo_for_customer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, OCA Transbot, Sergio Teruel, oca-travis, OCA-git-bot, tbaden
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_supplierinfo_customer_form_view product.supplierinfo.customer.form.view product.supplierinfo form New
product_supplierinfo_customer_tree_view product.supplierinfo.customer.tree.view product.supplierinfo tree New
product_supplierinfo_form_view product.supplierinfo.form.view product.supplierinfo xpath Inherits product.product_supplierinfo_form_view
product_template_form_view product.template.common.form product.template div Inherits product.product_template_form_view
view_product_supplier_inherit product.template.supplier.form.inherit product.template field Inherits purchase.view_product_supplier_inherit
Models touched (5)

New fields (1)
  • base Selection
    selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • price_compute(self, price_type, uom=False, currency=False, company=False)
    @api.multi

New fields (1)
  • supplierinfo_type Selection
    default='supplier' oldname='type' selection=[('customer', 'Customer'), ('supplier', 'Supplier')] string='Type'
Public methods (2)
  • onchange_type(self)
    @api.onchange('supplierinfo_type')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model
    Add search argument for field type if the context says so. This should be in old API because context argument is not the last one.

New fields (4)
  • customer_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('supplierinfo_type', '=', 'customer')] inverse_name='product_tmpl_id' string='Customer'
  • supplier_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('supplierinfo_type', '=', 'supplier')] inverse_name='product_tmpl_id' string='Supplier'
  • variant_customer_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('supplierinfo_type', '=', 'customer')] inverse_name='product_tmpl_id' string='Customer'
  • variant_supplier_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('supplierinfo_type', '=', 'supplier')] inverse_name='product_tmpl_id' string='Supplier'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/10.0/product_supplierinfo_for_customer
VERSION
VERSION 3.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSGitHub, mreficent, Jordi Ballester Alomar, OCA Transbot, oca-travis, tbaden
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - purchase
    - stock_account
    - stock
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_supplierinfo_customer_form_view product.supplierinfo.customer.form.view product.supplierinfo form New
product_supplierinfo_customer_tree_view product.supplierinfo.customer.tree.view product.supplierinfo tree New
product_supplierinfo_form_view product.supplierinfo.form.view product.supplierinfo xpath Inherits product.product_supplierinfo_form_view
product_template_form_view product.template.common.form product.template div Inherits product.product_template_form_view
view_product_supplier_inherit product.template.supplier.form.inherit product.template field Inherits purchase.view_product_supplier_inherit
Models touched (5)

New fields (1)
  • base Selection
    selection_add=[('partner', 'Partner Prices on the product form')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • price_compute(self, price_type, uom=False, currency=False, company=False)
    @api.multi

New fields (1)
  • type Selection
    default='supplier' selection=[('customer', 'Customer'), ('supplier', 'Supplier')] string='Type'
Public methods (2)
  • onchange_type(self)
    @api.onchange('type')
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model
    Add search argument for field type if the context says so. This should be in old API because context argument is not the last one.

New fields (2)
  • customer_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('type', '=', 'customer')] inverse_name='product_tmpl_id' string='Customer'
  • supplier_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('type', '=', 'supplier')] inverse_name='product_tmpl_id' string='Supplier'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/8.0/product_supplierinfo_for_customer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, Stéphane Bidoul (ACSONE), Yennifer Santiago, OCA Transbot, oca-travis, OCA-git-bot, Javier Iniesta
WEBSITE
WEBSITEhttp://www.odoomrp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
product_supplierinfo_extended_form_view product.supplierinfo.extended.form product.supplierinfo field Inherits product.product_supplierinfo_form_view
product_supplierinfo_extended_tree_view product.supplierinfo.partner.tree product.supplierinfo field Inherits product.product_supplierinfo_tree_view
product_supplierinfo_search_view product.supplierinfo.search product.supplierinfo search New
product_supplierinfo_template_form_view product.supplierinfo.template.form product.supplierinfo field Inherits product_supplierinfo_extended_form_view
product_supplierinfo_template_tree_view product.supplierinfo.template.tree product.supplierinfo field Inherits product_supplierinfo_extended_tree_view
product_template_extended_form_view product.template.extended.form product.template field Inherits product.product_template_form_view
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • price_rule_get(self, prod_id, qty, partner=None)
    @api.multi
    Pass context if the type of the pricelist is sale for restricting on the search product.supplierinfo records of type customer.

New fields (1)
  • type Selection
    default='supplier' selection=[('customer', 'Customer'), ('supplier', 'Supplier')] string='Type'
Public methods (2)
  • onchange_type(self)
    @api.multi@api.onchange('type')
  • search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False)
    Add search argument for field type if the context says so. This should be in old API because context argument is not the last one.

New fields (2)
  • customer_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('type', '=', 'customer')] inverse_name='product_tmpl_id' string='Customer'
  • supplier_ids One2many → product.supplierinfo
    comodel_name='product.supplierinfo' domain=[('type', '=', 'supplier')] inverse_name='product_tmpl_id' string='Supplier'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model