Community mailing list archives

community@mail.odoo.com

Re: Migrate :: Persist from pre- to post-

by
DevCO Colombia , David Arnold
- 06/18/2016 22:47:27
This is the famous query to fish out all places relating to model. The first building block for the mentioned problem. For that it's worth sharing...

El jue., 16 jun. 2016 a las 18:41, David Arnold (<dar@devco.co>) escribió:
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