Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2386 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
okt. 24
2082
1
okt. 21
1412
0
feb. 25
1266
1
aug. 19
3063
2
dec. 18
3472