Title: Eric CAUDAL
Hi,
I have the following problem: currently the accuracy in invoices prices is following the account decimal precision which is a problem for one of our customers.
Indeed, they have prices with 4 digits for sales and their accounting is 2 digits. When they input a sales order it requires 4 digits which are transformed into 2 digits automatically when the invoice is created (as invoice follows the account decimal accuracy even for calculation).

For this reason we created a module that separate the decimal precision for prices and total in invoices ( http://apps.openerp.com/addon/6482?filter=%7B%22order_by%22%3A+%22click_counter+desc%22%2C+%22text_search%22%3A+%22decimal%22%7D&page=0). I am not completely happy with it as in principle invoice price accuracy should follow either the sales price accuracy either the purchase price accuracy but it would involved to separate supplier's invoices from customer's invoices (or at least create 2 different prices in the database with different calculation depending on whether we deal with supplier or customer invoices....).

The problem I am facing now is that the standard cost in the product_template is as well following the decimal accuracy of the "account", which seems not correct neither.
Expected behavior would be to have a different price accuracy for the standard cost (same idea as sales price and purchase price)
I plan to patch above module to force standard cost accuracy to 4 (with the new "account line" accuracy I created), but I think we should issue this problem in the core system and handle decimal accuracy properly and cleanly with:
- Account accuracy (used for totals in accounting)
- Sales price accuracy (used in sales order and customer invoices)
- Purchase price accuracy (used in PO and suppliers' invoices)
- Standard cost accuracy (used in MO and stock moves)

What is your opinion?

--

openerp
Eric CAUDAL, CEO
[email protected]
Cell: + 86 186 2136 1670
Elico Corp - OpenERP Ready Partner, Shanghai.
http://www.openerp.net.cn

_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-accounting
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-accounting
More help   : https://help.launchpad.net/ListHelp

Reply via email to