Hello,
I'm trying to call a workflow signal from a server action, but I got an error, this is my code and error:
Code:
<record model="ir.actions.server" id="action_server_payslip_confirm">
<field name="name">Confirm payroll</field>
<field eval="True" name="condition"/>
<field name="model_id" ref="hr_payroll.model_hr_payslip"/>
<field name="state">trigger</field>
<field name="wkf_transition_id" eval="ref('hr_payroll.t1')" />
</record>
Error: Uncaught TypeError: Cannot create property 'context' on boolean 'false'
Any help?
Thanks.