Skip to Content
Menu
This question has been flagged
1 Reply
5060 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
4
Nov 20
6610
3
Aug 19
9129
1
Dec 24
1754
1
Nov 24
1494
0
Sep 24
1075