Community mailing list archives

Re: Add data to Many2many using search in XML

Alien Group Lda, Alaney Kilson Dória
- 06/03/2016 10:05:08

Just to close this, It's possible to do what I wanted.


Alaney Dória

CEO | Odoo Consultant

tm.+244 913 728 600

Linkedin Facebook Facebook
Código QR

Rua Doutor Agostinho Neto, 156, Bairro Azul, Luanda - Angola, Tel: +244 913 728 600 | +244 913 728 650,
Website:, Email:

Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!

On 06/02/2016 07:22 AM, Holger Brunn wrote:
> 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

Post to: