New implementation of KM cost to property support the decimal precision at 3 digits (without changing the decimal precision of all prices in Odoo)

This commit is contained in:
Alexis de Lattre
2017-06-08 11:25:21 +02:00
parent aca7911d81
commit 19909b6761
13 changed files with 186 additions and 208 deletions

View File

@@ -16,6 +16,7 @@
<field name="reference" position="after">
<field name="private_car_expense" invisible="1"/>
<field name="private_car_plate" attrs="{'invisible': [('private_car_expense', '!=', True)]}"/>
<field name="private_car_km_price_id" attrs="{'invisible': [('private_car_expense', '!=', True)]}" groups="hr_expense.group_hr_expense_manager,account.group_account_manager"/>
</field>
<label for="payment_mode" position="attributes">
<attribute name="invisible">1</attribute>