Skip to Content
Menu
This question has been flagged
816 Views

Hi, 

I need some help 

I have one computed field in model - 'dname' and i want to use this field into filter domain value

But filter can't work.

If i use directrly " Desinfector Name"  filter work

odoo v14


in model

dname = fields.Char(compute='_get_name_des', store=True) 
def _get_name_des(self):        
    for rec in self:            
    rec.dname = 'Desinfector Name'
in xml

                

 

 

    
if  i  use  directly  desinfector  name  in  domain  value  filter  work
 




Avatar
Discard