Skip to Content
Menu
This question has been flagged
3 Replies
5250 Views

Hi,

I know what I'm asking below may be out of your reach, but give your heart to helping new customers. Please!

I want to create an Automated Actions, on Odoo Studios. Use the python function to get value from the original object.

For example, in the CRM module, I created the Automation; When Stage is Done, then create a new Ticket on the Helpdesk module. Assign Helpdesk values are the values on the CRM module (example in attached photo).

Can you guide some simple commands to be able to write here or not? Or provide the documentation to do it.

Thank you very much

Avatar
Discard
Best Answer

To use the python expression you need to do the following:

record.name_of_field_you_are_trying_to_write_to_the_ticket

for example, if you wish to add contact to the contact field:

record.partner_id

Avatar
Discard
Best Answer

Hello NGUYEN,

If you have to get values from multiple records then you can also use records.your_needed_field.

Avatar
Discard
Author Best Answer

Thank for your anwers,

Avatar
Discard