Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3013 Vizualizări

hi,

I want to add a domain for the computed field, when I try this I get all the data without filtering.

domain = self.env['hr.contract'].search_count(
[('notification_date', '=', today)]

where notification-date is computed.

Thank you in advance for any help 



Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Non stored computed fields are not searchable.

Make it stored computed field or try defining a search function for the field.

Thank you

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
oct. 23
8993
1
sept. 23
3411
1
mai 23
2372
2
apr. 23
2923
1
mar. 23
2311