Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2118 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ott 24
1670
1
ott 21
1173
0
feb 25
886
1
ago 19
2754
2
dic 18
3095