Skip to Content
Menu
This question has been flagged

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 17
3985
0
Jun 16
2768
1
Mar 17
4263
0
May 16
2955
1
Dec 24
51