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,13 +16,16 @@
'hr_expense_sequence',
],
'data': [
'hr_expense_data.xml',
'hr_employee_view.xml',
'hr_expense_view.xml',
'product_view.xml',
'hr_expense_data.xml',
'private_car_km_price_view.xml',
'security/expense_security.xml',
'security/ir.model.access.csv',
],
'post_init_hook': 'create_private_car_expense_products',
'pre_init_hook': 'create_decimal_precision',
'post_init_hook': 'create_private_car_km_prices',
'demo': ['private_car_demo.xml'],
'installable': True,
}