Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 17
5066
0
jun 16
3660
1
mar 17
5081
0
may 16
3553
1
sept 25
171