Community mailing list archives

community@mail.odoo.com

Re: Add data to Many2many using search in XML

by
dom
- 06/01/2016 21:04:57

Hi Alaney,

it is not possible to use a 'search' in xml.
You can filter records by using a domain.

Regards

On 2 Jun, 2016 6:58 am, "Alaney Dória" <alaney.doria@alien-group.com> wrote:

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!

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe