Skip to Content
Menu
This question has been flagged
1 Reply
1832 Views

Hi everyone, I am new to odoo and I have this issue where I need to get the filtered records from field input widget="domain", is it possible? also could you please give me some help on how to achieve that?

Avatar
Discard
Best Answer

Hello Christian Alip

It is not possible to filter record based on widget="domain"
Domain is a attribute

Find code in comment. 


Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Discard

If you want to filter a record you need to give a domain in a field like

<field name="state_ids" widget="many2many_tags" domain="[('country_id', 'in', country_ids)]"/>

Also you can find in base domain= so you will get multiple result