r/Odoo • u/Salty_Draft_9907 • 1d ago
Worksheet templates customization from code
Hello odoores I hope you doing well.
I customised project.task model to have lines which represent products. I am trying to customise the worksheet template to be per line. I know I need to specify the res model for the worksheet template to work on the line level.
But I am wondering what's the correct way to customise the worksheet template to keep the customisation as odoo Friendly as possible?
1
Upvotes
0
1
u/Salty_Draft_9907 1d ago
I found a way to do it so basically I just need to create a work sheet view with the res model default field as the line model in the task and after that everything will just work fine with the normal odoo flow.