Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Lots of our modules do not handle multi-company correctly with Odoo >= 13

by
AGILE BUSINESS GROUP SAGL, Simone Rubino
- 18/02/2022 14:45:58
Worth mentioning: the fine tool for module migrations https://github.com/OCA/odoo-module-migrator warns the developer about this thanks to https://github.com/OCA/odoo-module-migrator/pull/53.

On Wed, 9 Feb 2022 at 14:51, Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote:
On Wed, Feb 9, 2022 at 2:41 PM Holger Brunn <mail@hunki-enterprises.nl> wrote:
could we write the AST version of
grep -RE 'user(_id|).company_id[^s]' --include=*.py
?
I recently came across https://semgrep.dev/ which might be handy in such situations.

-sbi

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference