Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5008 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 11 20
6562
3
thg 8 19
9082
1
thg 12 24
1720
1
thg 11 24
1461
0
thg 9 24
1039