Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2302 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 24
1940
1
říj 21
1316
0
úno 25
1129
1
srp 19
2951
2
pro 18
3330