Hello Odoo Forum,
I´m trying to implement this 2 step automated action.
1. After a sale order is confirmed to create a new project
2.Use a project template for the crated new project
So for the first step I implemented nicely, but the second stage I´m getting a error.
So for duplicating a existing project I´m using the following Python command:
env ['project.project']. browse (2) .copy ({'id': record.id})
my project template I want to duplicade as the ID=2.
Can anyone help, or point to where can I see more information on this?
Thank you
Look how to use copy function: https://learnopenerp.blogspot.com/2021/01/how-to-use-copy-duplicate-function-odoo.html