تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3710 أدوات العرض

I have created two views for one model, each view should have it´s own reports.

When I add a repoert, both views inherit it, is it possible to customize?


الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Yes it possible to achieve it using the fields_view_get function. There is a module from OCA which does the similar trick. It Hide the Quotation report from the Purchase Order Menu and Purchase Order Report from the RFQ menu.


Have  a look at the module and its coding:  This module hides 'Request for Quotation' mention in purchase order print report."


Thanks

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Tweaked it a bit, but works like a charm. Thank you!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 16
2870
1
سبتمبر 21
3392
0
فبراير 18
3426
1
مايو 24
1930
4
أبريل 22
4786