OCA / multi-company

GNU Affero General Public License v3.0
97 stars 279 forks source link

[16.0][IMP-FIX] sale_product_company: define table in m2m model #629

Closed pilarvargas-tecnativa closed 1 month ago

pilarvargas-tecnativa commented 1 month ago

When defining an m2m template it is convenient to define a unique named table to avoid conflicts with fields from other modules. This module is conflicting with the field of the abstract model ‘multi.company.abstract’ of the module base_multi_company which is extended in the model ‘product.template’ in the module product_multi_company as the same table is defined. To avoid conflicting with this abstract model, the m2m field of this module is renamed.

Error: https://github.com/OCA/multi-company/actions/runs/9205459570/job/25321188163?pr=628#step:8:297

cc @Tecnativa TT48972

@pedrobaeza @carolinafernandez-tecnativa please review

OCA-git-bot commented 1 month ago

What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-629-by-pedrobaeza-bump-nobump, awaiting test results.

OCA-git-bot commented 1 month ago

Congratulations, your PR was merged at 84e150d842a01327addc0edaa53d2ca53eaec46e. Thanks a lot for contributing to OCA. ❤️