Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3753 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 17
5081
0
giu 16
3684
1
mar 17
5094
0
mag 16
3573
1
set 25
189