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

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

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
nov 20
6562
3
ago 19
9081
1
dic 24
1720
1
nov 24
1461
0
set 24
1039