Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.1.2
Category
Sales Management
Folder size
0.21 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:22:59
Authors
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Maintainers
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Committers
JordiMForgeFlow, German Loredo [Vauxoo], Weblate, OCA-git-bot, oca-ci, Gil Arasa Verge, Vang - Nguyen Phu, Vang-NguyenPhu
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
edi_voxel_oca, product_supplierinfo_for_customer_sale
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 form Inherits product.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

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

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…