Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Sales Management
Folder size
0.25 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 09:06:25
Authors
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Maintainers
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Committers
Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
product_customerinfo_sale
Description
This module allows you to define a customer-specific product data structure (patterned after the standard supplier/vendor info) on the product form.

This structure enables defining customized information for each customer and product, including:

    - Custom Price (Price-list price)
    - Customer Product Name
    - Customer Product Code
    - Minimum Order Quantity (MOQ)

Code Analysis

Views touched (5)
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 list New
product_product_customer_info_form_view product.product form Inherits product.product_normal_form_view
product_template_form_view product.template form Inherits product.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (8)
  • date_end Date
    help='End date for this customer price'
  • date_start Date
    help='Start date for this customer price'
  • min_qty Float
    help="The minimum quantity to purchase for this customer to benefit from the price. Expressed in the customer's Product Unit of Measure if set, otherwise in the default Product Unit of Measure."
  • partner_id Many2one
    help='Customer of this product' string='Customer'
  • price Float
    help='Price at which the product is sold to this customer.'
  • product_code Char
    string='Customer Product Code'
  • product_name Char
    string='Customer Product Name'
  • product_uom_id Many2one
    help='Customer specific unit of measure.'
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 (1)
  • name_search(self, name='', domain=None, operator='ilike', limit=100)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • read(self, fields=None, load='_classic_read')
  • search_fetch(self, domain, field_names=None, 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 (1)
  • name_search(self, name='', domain=None, operator='ilike', limit=100)
    @api.model

New fields (0)

No new fields.

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

Loading…