Repository navigation
[20.0][MIG] product_brand: Migration to 20.0 - #327
Open
josecanogil wants to merge 79 commits into
Open
josecanogil wants to merge 79 commits into
josecanogil wants to merge 79 commits into
Conversation
… Thanks to NetAndCo who starts the module
* add smart button, move menu to a more visible position. * show brand in product.template kanban and tree views. * show brand in product variant kanban and tree views. * add product_brand kanban view. * update module's README and manifest file. * Search and group by brand for both product.product and product.template. * Convert model to new APIs. * Refactor products_count computation using product_ids one2many field. * Add public read access to product.brand (fixes 403 error on webshop for public user). * Make brand name required.
Migration to 10.0
Old form view was out of order: form blocks misaligned, because it was not using Odoo 10 views styling and layout.
Lookup fails when the ID is formatted. The unformatted version of the data is located under `raw_value`.
Currently translated at 100,0% (21 of 21 strings) Translation: product-attribute-11.0/product-attribute-11.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/product-attribute-11-0/product-attribute-11-0-product_brand/de/
… with other odoo apps. (#364) * Make the logo always the same width (64px). * Remove the description (200 first caracters). Not relevant for a configuration model. * Move the brand name and product count beside the image. This is the way it is displayed in partners and products kanban views.
Currently translated at 100.0% (24 of 24 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_brand/es/
Currently translated at 37.5% (9 of 24 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_brand/nb_NO/
Currently translated at 100.0% (24 of 24 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_brand/nb_NO/
Currently translated at 100.0% (24 of 24 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_brand/nl_NL/
Currently translated at 100.0% (23 of 23 strings) Translation: brand-16.0/brand-16.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-product_brand/pt/
- Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (22 of 22 strings) Translation: brand-17.0/brand-17.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-product_brand/it/
Currently translated at 100.0% (22 of 22 strings) Translation: brand-17.0/brand-17.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-product_brand/pt_BR/
* Rule product.brand.public has no group, this is a deprecated feature. odoo/odoo#125216 * Every access-granting rule should specify a group. odoo/odoo@ce1a4a2
Co-authored-by: Do Anh Duy <duyda@trobz.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: brand-18.0/brand-18.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-18-0/brand-18-0-product_brand/
Currently translated at 100.0% (22 of 22 strings) Translation: brand-18.0/brand-18.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-18-0/brand-18-0-product_brand/it/
Currently translated at 95.4% (21 of 22 strings) Translation: brand-18.0/brand-18.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-18-0/brand-18-0-product_brand/nl/
sale_ok and purchase_ok fields are not well aligned after product_brand is installed. This fix re-align the two fields in the same base line.
Currently translated at 100.0% (22 of 22 strings) Translation: brand-19.0/brand-19.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand/it/
Currently translated at 100.0% (22 of 22 strings) Translation: brand-19.0/brand-19.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand/sl/
Currently translated at 100.0% (22 of 22 strings) Translation: brand-19.0/brand-19.0-product_brand Translate-URL: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand/sl/
Assisted-by: Claude Code:claude-opus-5-5
Assisted-by: Claude Code:claude-opus-5-5
Contributor
|
/ocabot migration product_brand |
This file contains hidden or 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
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.
Migration of
product_brandto 20.0.ir.model.access.csvconverted toir.access.csv(same four rows).sale.reportandaccount.invoice.reportno longer have the_select*/_group_by*hooks in 20.0; the brand is now added through_select_dictand_select_list, following the core pattern (sale_stock,sale).t-escis no longer allowed in view archs, replaced byt-out.sale.prod_config_mainwas removed; the menu now lives under Sales > Products (sale.product_menu_catalog), restricted to sales managers to keep the same audience as before.fa-cubesis replaced byview_list(as on the product category form).BaseCommonnow runs as a test user with onlybase.group_user; the common test class sets_test_user_groupsto Product: Create.stringflagged bypylint-odooand the past financed-migration credits.Assisted-by: Claude Code:claude-opus-5-5