Wednesday, August 21, 2019

create active filter in odoo

ODOO

we can create active filter that we think we will use it usually to filter data 

E.G :

 let us say we have active field in our object and we want to make active filter by it , so we must go to search view in xml file , and do it as bellow 

<search >
       <filter string="Archive" domain="[('active','=',False)]"/>
</search>

No comments:

Post a Comment

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...