コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3030 ビュー

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 



アバター
破棄
最善の回答

Hi,

Non stored computed fields are not searchable.

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

Thank you

アバター
破棄
関連投稿 返信 ビュー 活動
3
10月 23
9127
1
9月 23
3439
1
5月 23
2422
2
4月 23
2996
1
3月 23
2367