跳至內容
選單
此問題已被標幟
1 回覆
4883 瀏覽次數

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.

頭像
捨棄
最佳答案

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,

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
11月 20
6482
3
8月 19
8981
1
12月 24
1597
1
11月 24
1371
0
9月 24
963