Community mailing list archives

community@mail.odoo.com

Add data to Many2many using search in XML

by
Alien Group Lda, Alaney Kilson Dória
- 06/01/2016 18:54:06

Hi all,

It's possible to use search for many2many fields in xml?

ex: <field name="tags" search="[('some_field','=', some_value)]"

My intention is to add a set of fields  but I don't have xml id to identify the data, so I want to use search to find the related record and return ids.

Best regards
--
ALIEN GROUP LDA

Alaney Dória

CEO | Odoo Consultant

em.alaney.doria@alien-group.com

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: www.alien-group.com, Email: geral@alien-group.com

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