← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 814446] Re: Unit price in invoice should follow sales/purchase price accuracy

 

Hi Graeme,
Thanks for the doc. On my side I see 2 main issues:
- Invoice lines is one database object receiving the result of 2 
objects: PO and SO (and maybe more) lines. SO has 'sales price' decimal 
accuracy and PO 'Purchase price' decimal accuracy which cannot be 
compatible with one accounting decimal accuracy in invoice lines.
- invoice lines information (eg prices) have different needs from 
accounting totals. Nevertheless today we only use accounting decimal 
accuracy for all information in invoice and invoice lines.
Here is how I see it:
- Account decimal accuracy should be use in accounting, in invoicing 
total, SO totals and PO totals.
- Sales price decimal accuracy should be used in SO and CI lines.
Purchase price decimal accuracy should be used in SO and SI lines.

Which brings a question and a problem:
- question is should we use sales price accuracy for price only or for 
line total as well (I would say only prices, line total should follow 
accounting accuracy)
- problem is there should be 2 separate fields for prices (depending on 
customer or supplier invoice) in the invoices lines to be able to 
separate 2 ways of accounting sales prices and purchase prices.

Do we know how this will be handled in 6.1?


Eric CAUDAL

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/814446

Title:
  Unit price in invoice should follow sales/purchase price accuracy

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  unit price in invoice follow accounting decimal accuracy. 
  If I create an order (VAT included) of 7.0551 x25 = 176.38 RMB. When I create the invoice based on this order, I get the following: 7.06 x25 = 176.5 which is incorrect.
  Unit price in customer invoice/refund should follow sales price accuracy and in suppliers invoice/refund should follow purchase price decimal accuracy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/814446/+subscriptions


Follow ups

References