Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2488 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Okt. 24
2218
1
Okt. 21
1503
0
Feb. 25
1410
1
Aug. 19
3240
2
Dez. 18
3649