跳至內容
選單
此問題已被標幟
1 回覆
2398 瀏覽次數

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
2087
1
10月 21
1426
0
2月 25
1281
1
8月 19
3074
2
12月 18
3482