Skip to Content
Menú
This question has been flagged
1 Respondre
2238 Vistes

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

Avatar
Descartar
Best Answer

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.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
d’oct. 24
1815
1
d’oct. 21
1251
0
de febr. 25
1017
1
d’ag. 19
2868
2
de des. 18
3231