Product Supplierinfo for Customer Sale

product_supplierinfo_for_customer_sale
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, oca-ci, German Loredo [Vauxoo]
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Based on product_supplierinfo_for_customer, this module loads in every
sale order the customer code defined in the product and allows use the
product codes and product name configured in each products in sale
orders.

If you use Advanced price rules with formulas to define your pricing,
and choose that the price should be calculated from the partner prices
in the product form, the quantity in the sales order will be proposed
from the minimum quantity defined in the customerinfo.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (1)
  • product_customer_code Char
    compute='_compute_product_customer_code' string='Cust. Code'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, German Loredo [Vauxoo], Reyes4711
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (1)
  • product_customer_code Char
    compute='_compute_product_customer_code'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSPedro M. Baeza, sergio-teruel, Weblate, OCA-git-bot, oca-ci, Carlos Roca, Eduard Brahas, Juany Davila, ilo
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
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 xpath Inherits product_supplierinfo_for_customer.product_customerinfo_form_view
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo xpath Inherits product_supplierinfo_for_customer.product_customerinfo_tree_view
product_customerinfo_view_search product.customerinfo.view.search product.customerinfo search New
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (1)
  • product_id Many2one
    compute='_compute_product_id' readonly=False store=True
Public methods (0)

No public methods.

New fields (1)
  • product_customer_code Char
    compute='_compute_product_customer_code'
Public methods (1)
  • product_id_change(self)
    @api.onchange('product_id')
    Inject the customerinfo in the context for not repeating the search in _update_description + assign the mininum quantity if set.
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, Miquel Raïch, sergio-teruel, oca-travis, Weblate, OCA-git-bot, oca-ci, PicchiSeba, Eduard Brahas
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
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 xpath Inherits product_supplierinfo_for_customer.product_customerinfo_form_view
product_customerinfo_tree_view product.customerinfo.tree.view product.customerinfo xpath Inherits product_supplierinfo_for_customer.product_customerinfo_tree_view
product_customerinfo_view_search product.customerinfo.view.search product.customerinfo search New
sale_order_customerinfo_view_search sale.order.customerinfo.view.search sale.order xpath Inherits sale.view_sales_order_filter
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (1)
  • product_id Many2one
    compute='_compute_product_id' readonly=False store=True
Public methods (0)

No public methods.

New fields (2)
  • product_customer_code Char
    compute='_compute_product_customer_code' search='_search_product_customer_code' string='Product Customer Code'
  • product_customer_name Char
    compute='_compute_product_customer_code' search='_search_product_customer_name' string='Product Customer Name'
Public methods (1)
  • product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSLois Rilo, Jordi Ballester, OCA Transbot, Miquel Raïch, sergio-teruel, oca-travis, Weblate, OCA-git-bot, oca-ci, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (1)
  • product_customer_code Char
    compute='_compute_product_customer_code' string='Product Customer Code'
Public methods (1)
  • product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_supplierinfo_search_view product.supplierinfo.search.view product.supplierinfo xpath Inherits product.product_supplierinfo_search_view
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • partner_is_customer Boolean
    related='order_id.partner_id.customer'
  • product_customer_code Char
    compute='_compute_product_customer_code' string='Product Customer Code'
Public methods (2)
  • get_customer_supplierinfo(self, line)
    Search customerinfo for variant first, if it has not been found then search by product template
  • product_id_change(self)
    @api.multi@api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Vauxoo
COMMITTERS
COMMITTERSPedro M. Baeza, Hugo Adan, Moisés López, OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - sale
    - sales_team
    - account
    - analytic
    - web_planner
    - portal
    - http_routing
    - purchase
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_supplierinfo_search_view product.supplierinfo.search.view product.supplierinfo xpath Inherits product.product_supplierinfo_search_view
sale_order_form_context_supplierinfo sale.order.form.context.supplierinfo sale.order xpath Inherits sale.view_order_form
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • name_search(self, name='', args=None, operator='ilike', limit=80)
    @api.model

New fields (1)
  • product_customer_code Char
    compute='_compute_product_customer_code' size=64 string='Product Customer Code'
Public methods (2)
  • get_customer_supplierinfo(self, line)
    Search supplierinfo for variant first, if it has not been found then search by product template
  • product_id_change(self)
    @api.multi@api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/product_supplierinfo_for_customer_sale
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSDenis Roussel, Jordi Ballester Alomar, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - sale
    - sales_team
    - account
    - analytic
    - web_planner
    - procurement
    - purchase
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_supplierinfo_search_view product.supplierinfo.search.view product.supplierinfo xpath Inherits product.product_supplierinfo_search_view
view_order_form sale.order.product.code.view.form sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (1)
  • product_customer_code Char
    compute='_compute_get_product_customer_code' size=64 string='Product Customer Code'
Public methods (1)
  • product_id_change(self)
    @api.multi@api.onchange('product_id')
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_sale
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Vauxoo
COMMITTERS
COMMITTERSGitHub, Yennifer Santiago, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.vauxoo.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_supplierinfo_for_customer
odoo/odoo:
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - sale
    - sales_team
    - web_kanban_sparkline
    - account_voucher
    - account
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_form_context_supplierinfo sale.order.form.context.supplierinfo sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • name_search(self, name='', args=None, operator='ilike', limit=80)
    @api.model