Hello, thank you for all your very usefull video, is there any chance I can action_update_prices method on SO each time save the document without having to click on the button by using this kind of action ? I don't how how to call this existing action regards
Hi, great stuff.!! I have a question though, how can I create a project using button to execute a server action. The name should be the sales order number
Not a problem! You could can create a server action to create the project and then add a button using studio. I have a video on adding a button and then you'd want to look at my videos on server actions. Hope that helps!
Super instructive ! I have been reading you on reddit, it's good to see video now. Please continue to share your knowledge :) As you add python code on your DB, does that trigger maintenance cost from Odoo on top of your saas subcription ?
Great video yet again, find myself checking up on your channel almost every day to see new tips and tricks! I have two use cases that Python Code could be very helpful for if possible: I want to add a delivery date field on the Sales Order Lines that is then shown on all related MOs (Parent and subsequent children), then any changes on the Sales Order Line updates the MOs I also want to be able to create products from the Project app, but I will try the code (with modifications) you've provided for this scenario
Hi Again, Do you happen to know what the code would be for creating a leave allocation (Time Off) when a new employee is added (Employees)? I have an automated action in the Time Off app already, that adds an activity to any new allocation, but I'm struggling getting the Employees>Time Off to work
Great work! Your videos make the implementation of Odoo much easier. I filled the form on your website, to get in touch for specific questions I want you to ask, but I think your website form is broken. Got a question appropriate to the video: I tried to set the assignee of a task equal to the sales man in the sales order using python, but its not working, you got any idea, how this python script should look like? Thanks!
Thank you! I'll have to check on the form. Need to finish off the website properly. So is this a project task or an activity you're wanting to assign and is this based on sales order? If so, you'd want to point to team_id.user_id.id
I know the topic was automation record creation but that was a very helpful python as well!!! As another possible automation. How to insert a note or a message in the chatter of a record.
Powerful technique, thank you!
You’re welcome!
Great and powerful info, thanks
Thank you! Glad it helps!
Hello, thank you for all your very usefull video, is there any chance I can action_update_prices method on SO each time save the document without having to click on the button by using this kind of action ? I don't how how to call this existing action regards
Glad they've helped! You should be able to do that using the UI change trigger.
Hi, great stuff.!! I have a question though, how can I create a project using button to execute a server action. The name should be the sales order number
Not a problem! You could can create a server action to create the project and then add a button using studio. I have a video on adding a button and then you'd want to look at my videos on server actions. Hope that helps!
Hi, very usefull, but if a have a error, where I can check the output message?
Is it showing you an error or just not working?
Super instructive ! I have been reading you on reddit, it's good to see video now. Please continue to share your knowledge :)
As you add python code on your DB, does that trigger maintenance cost from Odoo on top of your saas subcription ?
Thanks for the feedback. I really appreciate it! I believe the code cost is unique to ODOO.sh. ODOO.com and self hosted are safe from it.
My understanding is that work done through Studio is excluded.
Great video yet again, find myself checking up on your channel almost every day to see new tips and tricks!
I have two use cases that Python Code could be very helpful for if possible: I want to add a delivery date field on the Sales Order Lines that is then shown on all related MOs (Parent and subsequent children), then any changes on the Sales Order Line updates the MOs
I also want to be able to create products from the Project app, but I will try the code (with modifications) you've provided for this scenario
Both of these sound quite doable! Please let me know if you get stuck. Are you wanting to create a product based on certain criteria in the project?
This might solve the problem of Odoo not creating Journal entries for consumable items in an MO.
You could do that, yep!
Update: It worked beter than expected. Surprised no one suggested it before on any of the Forums. Thank you.
Hi Again,
Do you happen to know what the code would be for creating a leave allocation (Time Off) when a new employee is added (Employees)?
I have an automated action in the Time Off app already, that adds an activity to any new allocation, but I'm struggling getting the Employees>Time Off to work
Are you wanting to use a template or are you wanting to hard code the creation?
@@odoo-it-yourself I'm looking to hard code the creation, but if it's easier to create using a template, that would be fine too
Great work! Your videos make the implementation of Odoo much easier. I filled the form on your website, to get in touch for specific questions I want you to ask, but I think your website form is broken.
Got a question appropriate to the video: I tried to set the assignee of a task equal to the sales man in the sales order using python, but its not working, you got any idea, how this python script should look like? Thanks!
Thank you! I'll have to check on the form. Need to finish off the website properly. So is this a project task or an activity you're wanting to assign and is this based on sales order? If so, you'd want to point to team_id.user_id.id
How about creating records using sale order lines?
You could definitely do that, yeah!
Very cool.
Thanks! Hopefully helps you out.
Can you do a Python Code that emails certain employee when a Sales Order is confirmed?
Definitely. That would be a super simple automated action.
I know the topic was automation record creation but that was a very helpful python as well!!! As another possible automation. How to insert a note or a message in the chatter of a record.
Definitely could do that! Just showing how to use the create method there, yeah?
@@odoo-it-yourself I suppose it would be a create really but going into a note a message will then contact a follower by their preferred method.
Yes plz create in one2many fields tutorial pleeeeease
Thanks for responding! Would you have an example you'd like me to run through?
Bro please show many to one and one to many and many to many bro..
How to create records in those related fields?
Great and powerful info, thanks
Sure hope it helps! Thank you!