forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[MIG] product_template_tags: DEPRECATED #5
Open
Kimkhoi3010
wants to merge
54
commits into
18.0
Choose a base branch
from
18.0-mig-product_template_tags
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
[UPD] Suggested Changes Updated code based on reviews [UPD] Add readme folder Added readme folder and made it so tags can be colored. [UPD] Aesthetic Changes Aesthetic changes requested from reviewer. [UPD] README.rst [UPD] Update product_template_tags.pot
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-12.0/product-attribute-12.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_template_tags/ [UPD] README.rst
[UPD] README.rst
[UPD] Update product_template_tags.pot
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-13.0/product-attribute-13.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_template_tags/
Currently translated at 100.0% (17 of 17 strings) Translation: product-attribute-13.0/product-attribute-13.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_template_tags/es/
Currently translated at 100.0% (17 of 17 strings) Translation: product-attribute-13.0/product-attribute-13.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_template_tags/de/
Currently translated at 100.0% (17 of 17 strings) Translation: product-attribute-13.0/product-attribute-13.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_template_tags/fr/
The tag.products_count field was store=True If more than one user is adding/removing the same tag to different products at the same time it will raise concurrencies issues In fact, if you are configuring/importing your products this compute could be so slow Since that each tag will be updated for each product It was changed to store=False in order to avoid these issues. The tag.products_count field is displayed in tree view So it needs to be so faster Then the compute was changed using a query directly with "group by" in order to process it faster
avoid return if nothing to compute to be compliant with new ORM compute field method
Currently translated at 100.0% (17 of 17 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_template_tags/nl_NL/
Currently translated at 100.0% (18 of 18 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_template_tags/nl/
Allow to order tags.
* Improve tags form view * Improve tags search view: company_id should only be visible in case of multi-company * Improve tree view: Replace products_count with color * Improve product kanban's views * Add a kanban view for product.product * Add missing xml header in xml files * Rename field from 'Product Tags' to 'Tags'
This should be handled in glue modules for each Sale, Purchase and Inventory apps.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-14.0/product-attribute-14.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_template_tags/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_template_tags/it/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-15.0/product-attribute-15.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_template_tags/ca/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-15.0/product-attribute-15.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_template_tags/pt/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-15.0/product-attribute-15.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_template_tags/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/it/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/it/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/it/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/it/
Currently translated at 100.0% (19 of 19 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/
Currently translated at 100.0% (23 of 23 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/it/
Currently translated at 73.9% (17 of 23 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_template_tags Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_template_tags/hr/
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.
In Odoo 16, a new standard model called
product_tag
was introduced in theproduct
module, which serves the same purpose as the deprecatedproduct_template_tags
model.So removing this module causes no harm.