OCA / multi-company

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

Double negation #492

Closed eltantillo closed 8 months ago

eltantillo commented 1 year ago

https://github.com/OCA/multi-company/blob/bfe86bde4370f2fd160a94a790ca62d2a3bb7e70/product_category_inter_company/models/product_category.py#L25C73-L25C73

Isn't this the same as: and record.parent_id.company_id == record.company_id and this should not trigger the error.

github-actions[bot] commented 10 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.