Skip to content

Commit

Permalink
fixup! [11.0][MIG] sale_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk committed Nov 29, 2017
1 parent d766a9d commit 1ceb75c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sale_exception/data/sale_exception_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@

<record forcecreate="True" id="ir_cron_test_orders" model="ir.cron">
<field name="name">Test Draft Orders</field>
<field eval="False" name="active"/>
<field name="active" eval="False"/>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">20</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'sale.order'" name="model"/>
<field eval="'test_all_draft_orders'" name="function"/>
<field eval="'()'" name="args"/>
<field name="model_id" ref="model_sale_sale_order"/>
<field name="state">code</field>
<field name="code">model.test_all_draft_orders()</field>
<field eval="'test_all_draft_orders'"name="function"/>
</record>

<record id ="excep_no_zip" model="exception.rule">
<record id="excep_no_zip" model="exception.rule">
<field name="name">No ZIP code on destination</field>
<field name="description">No ZIP code on destination</field>
<field name="sequence">50</field>
Expand All @@ -26,7 +27,7 @@
<field name="active" eval="False"/>
</record>

<record id ="excep_no_stock" model="exception.rule">
<record id="excep_no_stock" model="exception.rule">
<field name="name">Not Enough Virtual Stock</field>
<field name="description">Not Enough Virtual Stock</field>
<field name="sequence">50</field>
Expand Down

0 comments on commit 1ceb75c

Please sign in to comment.