İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2535 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eki 24
2281
1
Eki 21
1542
0
Şub 25
1464
1
Ağu 19
3266
2
Ara 18
3705