Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2462 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
okt. 24
2172
1
okt. 21
1473
0
feb. 25
1388
1
aug. 19
3170
2
dec. 18
3605