Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2351 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
okt. 24
2017
1
okt. 21
1372
0
feb. 25
1211
1
avg. 19
3023
2
dec. 18
3396