summaryrefslogtreecommitdiff
path: root/addons/hr_expense/data
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-09-17 18:45:36 +0200
committerNicolas Martinelli <nim@odoo.com>2015-09-18 10:51:37 +0200
commitb879963d7b7ee00a7e19eefe7ab7bc8c85160aa7 (patch)
tree330a45f1a8d9c0056e86938af6148c2ae2e557a4 /addons/hr_expense/data
parent387ff476dcc63f2aafd8bdf5c096a79152bfdee9 (diff)
[IMP] sale_expense, hr_expense: test more robust
The test does not have hardcoded values referring to demo data anymore. Moreover, in the test, we now use values which are different from the demo data (621.54 instead of 700). Overall, this will make the test more robust. hr_expense: change car travel sale price Car Travel Expense is used as a product invoiced at sale price. Therefore, it is more useful to have a cost price and a sale price which are different. The whole idea of this commit is to avoid having the same values everywhere.
Diffstat (limited to 'addons/hr_expense/data')
-rw-r--r--addons/hr_expense/data/hr_expense_demo.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_expense/data/hr_expense_demo.xml b/addons/hr_expense/data/hr_expense_demo.xml
index e12831a1be1..229653b1808 100644
--- a/addons/hr_expense/data/hr_expense_demo.xml
+++ b/addons/hr_expense/data/hr_expense_demo.xml
@@ -7,7 +7,7 @@
</record>
<record id="car_travel" model="product.product">
- <field name="list_price">0.32</field>
+ <field name="list_price">0.50</field>
<field name="standard_price">0.32</field>
<field name="type">service</field>
<field name="name">Car Travel Expenses</field>