OCA / multi-company

GNU Affero General Public License v3.0
98 stars 280 forks source link

[FIX] product_multi_company: fix access to product variant #588

Closed aayartsev closed 5 months ago

aayartsev commented 5 months ago

Fix for this issue https://github.com/OCA/multi-company/issues/585

aayartsev commented 5 months ago

@aleuffre thanks, i add mised record in init file. As i can see this solution will not have risk because product variant record created from product template record, but product.product model did not have rules for multi-company features. It was a reason why we had mistake

francesco-ooops commented 5 months ago

@pedrobaeza what do you think about this?

ilyasProgrammer commented 5 months ago

@aleuffre @pedrobaeza please take a look at another solution: https://github.com/OCA/multi-company/pull/590

francesco-ooops commented 5 months ago

This can be closed then