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:
@@ -21,14 +21,8 @@
|
||||
<field name="uom_po_id" ref="product.product_uom_km"/>
|
||||
<field name="taxes_id" eval="False"/>
|
||||
<field name="supplier_taxes_id" eval="False"/>
|
||||
<field name="company_id" eval="False"/>
|
||||
</record>
|
||||
|
||||
<!-- KM cost is decimal precision = 3
|
||||
but decimal precision 'Product Price' is 2 by default,
|
||||
and companies may not want to change it -->
|
||||
<record forcecreate="True" id="decimal_price" model="decimal.precision">
|
||||
<field name="name">Expense Unit Price</field>
|
||||
<field name="digits">3</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user