Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
5253 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

Hello NGUYEN,

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

Avatar
Buang
Penulis Jawaban Terbai

Thank for your anwers,

Avatar
Buang