Community mailing list archives

Re: Add data to Many2many using search in XML

Holger Brunn
- 06/02/2016 02:05:16
> it is not possible to use a 'search' in xml.

yes it is:

A syntax in the lines of

should do what you want.

But it's nearly never a good idea to do this. Better declare the records
in question in XML anyways, and write a pre-migration script that
creates the XML ids in question. An example can be found here:

Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

phone: +31 (0)20 3093096