Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to add a notification every time that someone use the "Print Quotation" button.
With the notification I would like to have a message like "Quotation Print" and the Quotation on attachment.
I was thinking that I can use something like this (in print_quotation in sale.py)
body = "Print of a new quotation"
records = self._get_followers(cr, uid, ids, None, None, context=context)
followers = records[ids]['message_follower_ids']
self.message_post(cr, uid, ids, body=body, subtype='mt_comment', partner_ids=followers, context=context)
However, is it possible to add the Quotation printed on attachment?
Thank a lot you for your help.
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
|Asked: 6/3/15, 10:20 AM|
|Seen: 1634 times|
|Last updated: 7/10/15, 4:57 AM|