跳至内容
菜单
此问题已终结
1 回复
2383 查看

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
2066
1
10月 21
1406
0
2月 25
1250
1
8月 19
3059
2
12月 18
3461