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

In odoo we have 2 reports customer invoices and supplier invoices both have same object account.invoice but we differeintate with type field like in_invoice and out_invoice.

Now i have created one report for customer invoice but it shows in both objects view its a default functionality but i want to change in that like this print can be view only in customer invoice objects view not in supplier invoice.

Avatar
Vazgeç
En İyi Yanıt

Hello Kamlesh,

You can remove that from fields_view_get. You will get default_type in context and based on that you can remove it.

Thanks,

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Kas 20
6699
3
Ağu 19
9221
1
Ara 24
1975
1
Kas 24
1653
0
Eyl 24
1206