Skip to content

[19.0][MIG] product_category_company#947

Open
JasminSForgeFlow wants to merge 28 commits intoOCA:19.0from
ForgeFlow:19.0-mig-product_category_company
Open

[19.0][MIG] product_category_company#947
JasminSForgeFlow wants to merge 28 commits intoOCA:19.0from
ForgeFlow:19.0-mig-product_category_company

Conversation

@JasminSForgeFlow
Copy link
Contributor

Standard Migration

@ForgeFlow

carmenbianca and others added 28 commits February 16, 2026 08:46
…mpany

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
The removed check was code that logically could never be reached, by my
reckoning. Maybe I'm wrong. Reducing the amount of code seems like the
right thing to do in any case.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
… row in form view

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
The removed code was already covered by `check_company=True` on the
parent_id field. By also adding `check_company=True` on the child_id
field, the restraint becomes completely unnecessary.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
…t.template

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
…eating product

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
…estriction on category read access

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: multi-company-16.0/multi-company-16.0-product_category_company
Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-product_category_company/
Currently translated at 100.0% (4 of 4 strings)

Translation: multi-company-16.0/multi-company-16.0-product_category_company
Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-product_category_company/es/
Currently translated at 100.0% (4 of 4 strings)

Translation: multi-company-16.0/multi-company-16.0-product_category_company
Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-product_category_company/it/
Currently translated at 100.0% (4 of 4 strings)

Translation: multi-company-16.0/multi-company-16.0-product_category_company
Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-product_category_company/it/
…ch domain

This PR modifies the search method so that categories without company set are also returned. This is needed because without this change, product categories without company were not appearing in the product category list neither by searching.
…categories

Set 'product.category' read permissions to false in multi-company module to prevent listing categories from other companies. This change ensures that in a multi-company environment, product categories from one company are not visible to users of another company.
@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-mig-product_category_company branch from 564b8a6 to 3155c0e Compare February 17, 2026 05:45
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.

9 participants