CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You can set decimal precision by going to Configuration -> DB Structure -> Decimal precision.
Set Product Price to : 3
Also, in the Point Of Sale, if you want orders to have decimal precision set to 3, you have to add one entry in Configuration -> DB Structure -> Decimal precision
Create a new one and type "Point Of Sale" (without commas), and set it to 3 digits.
This is because in point_of_sale.py, some columns try to retrieve decimal precision from decimal.precision model, looking for "Point Of Sale" , but no entry has been set for this.
See in point_of_sale.py, in pos_order class :
dp.get_precision('Point Of Sale')
About decimal precision, see on top of file :
import openerp.addons.decimal_precision as dp
It seems that OpenERP Team forgot this step.
About This Community
Odoo Training Center
|Asked: 5/9/13, 7:20 PM|
|Seen: 3172 times|
|Last updated: 3/16/15, 8:10 AM|