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

Hey, 

I'd like to display a list of invoice (account move) that contain a specific account number in the account move line

We can search by account number in the account move line viewbut not in the account move view.

Thanks in advance

アバター
破棄
最善の回答

Try to add the field in the code to the account.move model

test_field = fields.Text(string='That's the answer', related='move_line_ids.account_number')


Not sure about the fields' names, but that's the idea.

アバター
破棄
関連投稿 返信 ビュー 活動
2
10月 24
2152
1
10月 21
1459
0
2月 25
1355
1
8月 19
3139
2
12月 18
3564