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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
saus. 17
5076
0
birž. 16
3683
1
kov. 17
5093
0
geg. 16
3572
1
rugs. 25
186