Odoo Help

0
5 Answers
0
Salim Rahal
6/7/18, 9:21 AM

I have used the Wizard in order to have access to object instance (quotation: active_id), and add my additional control  before printing the report (if quotation is draft => don't allow to print), since it's very difficult to control the print menu bar button from python. However, I used the above function (def fields_view_get)  to remove the print button entirely from quotation page, since the printing the reports is moved to the wizard.

0
Sunny Dev
5/31/18, 9:15 AM

Hello  Salim,
please refer this Link

https://www.odoo.com/forum/help-1/question/view-or-hide-one-report-menu-based-on-condition-in-odoo-8-128946#answer-129476


it will help you.

Thanks

1 Comment
Ask a Question
Writer
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now