I want to print a report in openerp. It should be printable only from form view. Is there any option
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Are you asking, printing the report option , which is under More menu options should come only in Form view?
If so, well to do that you need to diasable the report from Menu, and call the same in your custom button..
To that all you need to do is, while defining the report definition in XML specify menu=False...
Then in your form, add a button of type action, and call that report.... that way this button will be visible on in the form view, hence achiving you criteria
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký