-
-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] product_category_active: Migration to 18.0 #1851
Merged
OCA-git-bot
merged 20 commits into
OCA:18.0
from
yankinmax:18.0-mig-product_category_active
Jan 21, 2025
Merged
[18.0][MIG] product_category_active: Migration to 18.0 #1851
OCA-git-bot
merged 20 commits into
OCA:18.0
from
yankinmax:18.0-mig-product_category_active
Jan 21, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The problem why child_of was not working directly in the search is because there are involved inactive records that are excluded by default by the ORM. We need to disable that exlusion for a proper working, and it's needed because the other domain is not taking into account possible inactive categories in the middle of the hierarchy.
Translated using Weblate (Portuguese) Currently translated at 50.0% (2 of 4 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_category_active Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_category_active/pt/
Translated using Weblate (Catalan) Currently translated at 100.0% (4 of 4 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_category_active Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_category_active/ca/
[UPD] Update product_category_active.pot [UPD] README.rst product_category_active 16.0.1.0.1 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_category_active Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_category_active/
Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_category_active Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_category_active/it/ [UPD] README.rst
- Include context keys for avoiding mail operations overhead. [BOT] post-merge updates
Currently translated at 100.0% (4 of 4 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_category_active Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_category_active/it/
In odoo, archived items are not displayed by default. (see users view, products, etc...) The product_category_active module doesn't follow this convention because it is changing the context of the action of product.category. As a result, all categories are displayed, polluting visibility with obsolete items. - Remove the active_test in the context of the action. - create a migration script to remove the active_test on existing instances. - add filters to display archived and 'archived or active' categories, in case you want to see all categories
legalsylvain
approved these changes
Jan 21, 2025
StephaneMangin
approved these changes
Jan 21, 2025
@legalsylvain maybe a merge? |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 65c0d71. Thanks a lot for contributing to OCA. ❤️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is opened just to speed up the migration.
Everything was handled by HeliconiaSolutions here: