TIP: You can type at any time to perform a new search.
Product Code Builder
product_code_builder · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 0.0.1
- Category
- Product
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.akretion.com
- Last tracking update
- 2026-08-07 07:03:07
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- GitHub, Stéphane Bidoul (ACSONE), Sébastien BEAU, David Beal, OCA Transbot, oca-travis, Antonio Esposito, Chafique
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- product_code_builder_sequence
- Description
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
attribute_tree_view |
product.attribute | tree | Inherits product.attribute_tree_view | |
product_normal_form_view |
product.product | form | Inherits product.product_normal_form_view | |
product_template_only_form_view |
product.template | form | Inherits product.product_template_only_form_view | |
variants_tree_view |
product.attribute.value | tree | Inherits product.variants_tree_view | |
view_product_attribute_search |
product.attribute | search | New | |
view_product_attribute_value_search |
product.attribute.value | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
codeCharargs: 'Code' -
sequenceIntegerargs: 'Sequence'
No public methods.
New fields (3)
-
attribute_sequenceIntegerrelated='attribute_id.sequence'store=True -
codeCharargs: 'Code' -
commentTextargs: 'Comment'
No public methods.
New fields (2)
-
default_codeCharcompute='_compute_default_code'compute_sudo=Truehelp='Reference of the variant'inverse='_inverse_default_code'store=True -
manual_default_codeCharhelp='hidden field'
No public methods.
New fields (3)
-
auto_default_codeBooleandefault=compute_default_auto_default_codehelp='Generate a reference automatically based on attribute codes'string='Automatic Reference' -
default_codeCharrelated='prefix_code' -
prefix_codeCharcopy=Falsehelp='This is the code of the product modelIf Automatic Reference is checked, this field is used as a prefix for the product variant reference.\nIn case that there is only one variant this code is the same as the code of the uniq variant'string='Internal Reference'
-
compute_default_auto_default_code(self)