Skip to content

Comments

[19.0][MIG] product_status#2219

Open
SilvioC2C wants to merge 65 commits intoOCA:19.0from
camptocamp:19.0-mig-product_status
Open

[19.0][MIG] product_status#2219
SilvioC2C wants to merge 65 commits intoOCA:19.0from
camptocamp:19.0-mig-product_status

Conversation

@SilvioC2C
Copy link

Depends on #2217, will be rebased once the other PR is merged

Cédric Pigeon (ACSONE) and others added 30 commits February 19, 2026 21:36
* [10.0] re-introduce state field on product

* [ADD] add setup for product state
I've added both field content and help to ease understand the possibilities (draft and sellable have different meaning than In Development and Normal
Currently translated at 100.0% (6 of 6 strings)

Translation: product-attribute-12.0/product-attribute-12.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_state/pt/
Currently translated at 100.0% (29 of 29 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_state/de/
Currently translated at 100.0% (29 of 29 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_state/fr/

Translated using Weblate (French)

Currently translated at 55.2% (16 of 29 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_state/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-13.0/product-attribute-13.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_state/

[MIG] product_state: Migration to 14.0
Application: False
Currently translated at 93.1% (27 of 29 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_state/nl/
As fields are on the form view, a write is called with them. This
is an unwanted behaviour.
* Fix bug when inverting non-exist new state
* Show default and active fields in product state form
* Refactor inverse state to use with variant state
Co-authored-by: Iryna Vyshnevska <iryna.vyshnevska@camptocamp.com>
Translated using Weblate (Catalan)

Currently translated at 93.7% (30 of 32 strings)

Translation: product-attribute-15.0/product-attribute-15.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_state/ca/
[UPD] Update product_state.pot

[UPD] README.rst
Translated using Weblate (Italian)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/it/
Translated using Weblate (Italian)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/it/

Translated using Weblate (Spanish)

Currently translated at 100.0% (33 of 33 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/es/

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/

Translated using Weblate (Spanish)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/es/

Translated using Weblate (Italian)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (32 of 32 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_state/it/
OCA-git-bot and others added 26 commits February 19, 2026 21:36
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-18.0/product-attribute-18.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state/
Currently translated at 100.0% (31 of 31 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state/it/
Currently translated at 80.6% (25 of 31 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state/fr/
Currently translated at 83.8% (26 of 31 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state/fr/
Currently translated at 100.0% (31 of 31 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_state
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state/nl/
Before this change a product would never get back into its default
state. Example: a new proudct with a new until date in the past will keep
a state set as `new`.
Instead it should be set to the default status.
@SilvioC2C SilvioC2C force-pushed the 19.0-mig-product_status branch 2 times, most recently from 3f47298 to ea01d80 Compare February 20, 2026 15:36
@SilvioC2C SilvioC2C force-pushed the 19.0-mig-product_status branch from ea01d80 to 01438c7 Compare February 20, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.