TIP: You can type at any time to perform a new search.
Product State
product_state · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Product
- Folder size
- 0.12 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
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Maksym Yankin, Weblate, OCA-git-bot, oca-ci, MohamedOsman7
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- product_state_sale, product_status
- Description
This module introduces the state field on product template and allows simple product life cycle: - draft: In Development - sellable: Normal - end: End of Lifecycle - obsolete: Obsolete
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_state_search_form_view |
product.state.search.form | product.state | search | New |
product_template_form_view |
product.template.common.form | product.template | form | Inherits product.product_template_form_view |
product_template_view_tree_inherit_product_state_id |
product.template.tree (product_state_id) | product.template | tree | Inherits product.product_template_tree_view |
view_product_state_form |
product.state.form | product.state | form | New |
view_product_state_kanban |
product.state.kanban | product.state | kanban | New |
view_product_state_tree |
product.state.tree | product.state | list | New |
view_product_template_search_state |
product.template.search.state | product.template | search | Inherits product.product_template_search_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (8)
-
activeBooleandefault=True -
codeCharrequired=Truestring='State Code' -
defaultBooleanargs: 'Default state' -
descriptionTexttranslate=True -
nameChar → State Namecomodel_name='State Name'required=Truetranslate=True -
product_idsOne2many → product.templatecomodel_name='product.template'inverse_name='product_state_id'string='State Products' -
products_countIntegercompute='_compute_products_count'string='Number of products' -
sequenceIntegerdefault=25help='Used to order the States'
No public methods.
New fields (2)
-
product_state_idMany2one → product.statecomodel_name='product.state'copy=Falsedefault=<expr>group_expand='_read_group_state_id'help='Select a state for this product'index=Trueinverse='_inverse_product_state_id'string='State'tracking=10 -
stateCharcompute='_compute_product_state'index=Trueinverse='_inverse_product_state'readonly=Truestore=Truestring='Product Status'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…