Community mailing list archives

community@mail.odoo.com

Migrate :: Persist from pre- to post-

by
DevCO Colombia , David Arnold
- 06/16/2016 19:41:23
Hi

I want to write an updating algorithm taking advantage of the new company dependent external ids created for accounts (1_account_2530).

Basically what I want to accomplish is a check weather there was a change in the templates across module updating.

Of course I would be able to simply create a temporary database table, BUT this would not automatically fetch present (and potentially future) many2many relationships as they are stored in separate (unkown at the time of coding) tables.

Can you give me any advice on how to access/save pre-migration state across the data loding porcess?

Thanks in advance!

Best, David