Skip to Content
Menu
This question has been flagged
1 Atsakyti
4598 Rodiniai

I'm getting a parse error on my base.action.rule record and I don't understand why. It seems like it's well formatted XML. My whole document is this:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="rule_set_reminder_lead" model="base.action.rule">
            <field name="name">Trigger email scheduling when Order is set to confirm.</field>
            <field name="model_id" ref="sale.model_sale_order" />
            <field name="server_action_ids" eval="[(6,0,[ref('ir_actions_server_schedule_emails')])]" />
        </record>

        <record id="ir_actions_server_schedule_emails" model="ir.actions.server">
            <field name="state">code</field>
            <field name="model_id" ref="sale.model_sale_order"/>
            <field name="code">exit()</field>

            <field name="type">ir.actions.server</field>
            <field name="condition">True</field>
            <field name="name">Schedule Emails</field>
        </record>
    </data>
</openerp>

Any idea why?

Portretas
Atmesti
Autorius Best Answer

The problem was that the Automated Action Rules module wasn't installed. It's really difficult to tell these things with the current error output.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 25
1199
0
lapkr. 24
1431
0
birž. 24
1490
1
birž. 24
1980
0
spal. 23
2045