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.
When a leave allocation is created for an employee i notice that if there are followers tied to that employee it generate an error if you try to Approve See error below:
File "/opt/odoo/addons/mail/models/res_partner.py", line 167, in _notify_by_email new_emails, new_recipients_nbr = self._notify_send(fol_values['body'], fol_values['subject'], recipient_template_values['followers'], **base_mail_values) ValueError: "body" while evaluating u'holidays_validate()'
If i remove the followers i can then approve successfully.
This leaves me with these questions:
Please what is the correct way to do this?
Am i suppose to leave the followers or remove them?
Are emails suppose to fly to the followers?
And also what is the effect of adding the followers to an employee when doing leave allocations and request.(Note: It dose not work when you click on Approve button if a follower is tied to employee)
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: 2/2/16, 9:49 AM|
|Seen: 571 times|
|Last updated: 2/2/16, 10:07 AM|