OCA / multi-company

GNU Affero General Public License v3.0
101 stars 281 forks source link

[QUESTION] A couple of questions about some parts of code #509

Closed lorenzoallegrucci closed 6 months ago

lorenzoallegrucci commented 1 year ago

I'm using base_multi_company and also product_multi_company and partner_multi_company on odoo14 and I have couple of questions about some parts of code a bit obscure to me:

1) Why on base_multi_company the original rule is restored with active=False? https://github.com/OCA/multi-company/blob/14.0/base_multi_company/hooks.py#L78 Shouldn't be True?

2) Can someone explain to me the logic in: https://github.com/OCA/multi-company/blob/14.0/partner_multi_company/models/res_partner.py#L43 and why this same logic is not implemented on product_multi_company?

Thank you very much,

github-actions[bot] commented 7 months ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.