Hello,
We’re starting to support a new business who already has an Odoo database. The previous MSP handled upgrades yearly by dumping PSQL and reimporting bypassing ORM.
The reason this has come up is because it’s a multi-company database and the end users keep hitting access right rules due to location_id belonging to another company_id - this is just an example but it happens in almost every module with different fields.
Is there a module available or does someone have a sql script that can be run to verify all of the records are assigned to the correct company_id or give some sort of indication the extant of the nightmare I’m being plunged into?
Thank you for your time.
Hello,
Thanks for your email.
I am unable to respond at the moment, I will get back to you as soon as possible.
Regards,
Debashish Roy
We also experience from time to time when an updated custom module damages the data integrity especially when there are m2o or m2m relations between tables. This sometimes can be observed when trying exporting data.
Is there a way to test the integrity without testing every screen.
Thanks in advance.