cscmvi wrote:Greetings from Tampere, Finland!
How is the fields dictionary used in the record filter python expression? I can't seem to understand it's data model.
br, Marko
ps. The server_migration module is great work!
Hi, I have noticed some activity from Finland on OpenERP. I really appreciate your interest in our work.
Well as I do not make mappings by myself - I made analysis and a concept of this model, probably, I will not tell exact usage of this environment variable....
This is intended to make more advanced mappings. For example when one object on donating system produces two objects on receiving base.
This is an example from one of our mappings, hope this will help you.
- Code: Select all
if fields['type']!='contact':
is_valid=True
else:
is_valid=False
We are almost ready with some sample data for this module. It will actually be ready made mappings to move migration mappings from one server to another. This is important for not recreating similar stuff, but reuse them in other migration projects. As you would probably do with Partners and other common models.
Kaspars