Hi, Le 31/03/10 10:31, [email protected] a écrit : > i want Modify the price format to have more than 2 digits in price accuracy > and i try this solution > (http://www.open-net.ch/ERP-CRM-OpenERP/Admin-Guide-OpenERP/5-digits-prices) > but it not work > if someone have solution >
You can start the server with the option "--price_accuracy=3" But note that only NEW databases will have 3 digits. Since the 5.0.6 version, this option affect a lot of fields (in invoice too...) that may cause rouding problems (invoice validation for example). So you can create a new database and migrate data [1]. That's what we did for a small database (partners, products, sale orders). If you want to change digits for existing database, a solution might be : - change the field's database description, via psql - change the digits in oerp's views You can imagine it's a long and dangerous work... Worst of all, it might cause incoherencies with openerp's code (difference of definition in sql and in python). And it may prevent migration to future versions of openerp. So be very carefull with that solution ! Michel Renon [1] : http://fptiny.blogspot.com/2009/01/importing-data-in-open-erp.html _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
