Skip to content

[20.0][MIG] brand: migrate all 13 addons to Odoo 20.0 - #329

Open
juhenriquez wants to merge 522 commits into
OCA:20.0from
juhenriquez:20.0-mig-brand-suite
Open

juhenriquez wants to merge 522 commits into
OCA:20.0from
juhenriquez:20.0-mig-brand-suite

Conversation

@juhenriquez

Copy link
Copy Markdown

Migrate all 13 addons in OCA/brand from 19.0 to 20.0 so the complete brand suite can be installed and used together on Odoo 20.

Related to #326 and the existing product_brand proposal #327. The product_brand reference work is credited in its contributor list. The 19.0 addon history and original licenses/authors are preserved, followed by one migration commit per addon.

Changes:

  • Convert access rights and company restrictions to ir.access, and adapt views, menus, binary fields, demo data and test users to Odoo 20.
  • Port sales, invoice and purchase report extensions to the TableSQL hooks. Preserve brand price rule precedence, quantity/UoM behavior and existing ASCII tag codes.
  • Apply branded accounting accounts during ORM invoice creation, keep different brands separate when grouping invoices, and propagate required brands before creating pickings.
  • Adapt external reports to all current layouts and independent table styles, with brand-specific assets and company fallback.
  • Add regression coverage for reports, pricing, accounting, access restrictions, stock valuation, document layouts and brand propagation.

Validation uses Odoo 20 Community commit 120d92e5e9fa6abbbf721140f0887e8e7c366efa, Python 3.12 and PostgreSQL 16:

  • Full installation with demo data: 58 tests, zero failures/errors (56 addon tests plus 2 core web installation checks).
  • Fresh installation without demo data: all 13 addons installed at 20.0.1.0.0; no warnings/errors.
  • Update of all installed addons: 56 tests, zero failures/errors.
  • All repository pre-commit hooks pass, including OCA checks, Ruff and mandatory pylint.
  • manifestoo license/development-status checks pass; all 13 addon wheels build successfully.

Contributor: Juliano Henriquez juliano@consultoriahenca.com, Santo Domingo, República Dominicana.

Ivorra78 and others added 30 commits October 14, 2026 12:10
Currently translated at 100.0% (3 of 3 strings)

Translation: brand-16.0/brand-16.0-product_brand_stock_account
Translate-URL: https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-product_brand_stock_account/es/
Currently translated at 100.0% (3 of 3 strings)

Translation: brand-16.0/brand-16.0-product_brand_stock_account
Translate-URL: https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-product_brand_stock_account/it/
Changes include:

- Add `product_brand_id` field to stock report list view.
- Deprecated usage of `stock.valuation.layer` model [1].

[1]: odoo/odoo@08b62a4
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: brand-19.0/brand-19.0-brand
Translate-URL: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-brand/
Currently translated at 100.0% (213 of 213 strings)

Translation: brand-19.0/brand-19.0-brand
Translate-URL: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-brand/de/
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/
Co-Authored-By: Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu>
@OCA-git-bot OCA-git-bot added mod:product_brand_stock_account Module product_brand_stock_account mod:product_brand Module product_brand mod:partner_brand Module partner_brand mod:brand Module brand mod:product_brand_purchase Module product_brand_purchase mod:account_brand Module account_brand mod:sale_brand Module sale_brand mod:product_brand_tag Module product_brand_tag mod:stock_brand Module stock_brand mod:pricelist_brand Module pricelist_brand mod:brand_external_report_layout Module brand_external_report_layout mod:product_brand_stock Module product_brand_stock mod:product_brand_mrp Module product_brand_mrp series:20.0 labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_brand Module account_brand mod:brand_external_report_layout Module brand_external_report_layout mod:brand Module brand mod:partner_brand Module partner_brand mod:pricelist_brand Module pricelist_brand mod:product_brand_mrp Module product_brand_mrp mod:product_brand_purchase Module product_brand_purchase mod:product_brand_stock_account Module product_brand_stock_account mod:product_brand_stock Module product_brand_stock mod:product_brand_tag Module product_brand_tag mod:product_brand Module product_brand mod:sale_brand Module sale_brand mod:stock_brand Module stock_brand series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.