I want to have a copy of a Opportunity when is set as "WON". i have created one automation that copy the title, and set the oppotunity again on the "Leads" columns, thats perfect. But as soon as i try to copy more data, (like the customer), i cant move one opportunity to WON and pop up an error:
"RPC_ERROR
Odoo Server Error
null"
for the name i used:
Field: Opportunity (Lead/Opportunity)
Evaluation Type: Python expression
Value: record.name
and for the customer:
Field: Customer (Lead/Opportunity)
Evaluation Type: Python expression
Value: record.partner_id
So i think is easier if i just duplicate the opportunity and changes the state from WON to Lead, but i dont know how to do that.