Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Calling a workflow signal from a server action (Odoo9)

By
Adnier Rosello
on 10/24/16, 1:15 PM 205 views

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/24/16, 1:15 PM
Seen: 205 times
Last updated: 10/24/16, 6:35 PM