Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] product_replenishment_cost: create demo data
closes #518 Related: ingadhoc/miscellaneous#121 Signed-off-by: Bruno Zanotti <bz@adhoc.com.ar>
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
product_replenishment_cost/demo/replenishment_cost_demo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="rule_1" model="product.replenishment_cost.rule"> | ||
<field name="name">Rule 1</field> | ||
</record> | ||
|
||
<record id="rule_item_1" model="product.replenishment_cost.rule.item"> | ||
<field name="name">Customs</field> | ||
<field name="percentage_amount">10.00</field> | ||
<field name="replenishment_cost_rule_id" ref="product_replenishment_cost.rule_1"/> | ||
</record> | ||
</odoo> |