Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2519 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
paź 24
2270
1
paź 21
1514
0
lut 25
1443
1
sie 19
3254
2
gru 18
3668