Odoo Help

0
0
Raaj Mishra
On 30/10/17 09:17

Have you defined this template at your custom module..? If yes then you need to get the template id using your custom module reference not hr_holidays.

line : dummy, template_id = data_pool.get_object_reference(cr, uid, 'hr_holidays', template_xmlid)

So instead of hr_holidays you need to pass your custom module name.

I added this template to hr.holidays, so isn't a custom module

Jorge
on 30/10/17 09:39

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

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

Test it now

Question tools

1 follower(s)

Stats

Asked: 30/10/17 06:53
Seen: 690 times
Last updated: 30/10/17 09:17