← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 805697] Re: Price difference account - incorrect calculation

 

I think the issue is that in anglo-saxon invoice.py  line 122 the price
variance calculation is based on the average cost at the time the
invoice is processed, not the original PO cost.

So either,

a) this needs to be changed to pick up the original PO cost to calculate the variance; or
b) when the goods are receipted, if there is a difference to the average cost there will need to be a GL entry created for that difference.

My preference is a) so that in reconciling the goods received not
invoiced account in the GL there is a recognisable recognition between
PO and invoice (ie any difference is solely price variance an invoice
processing time)

-- 
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/805697

Title:
  Price difference account - incorrect calculation

Status in OpenERP Modules (addons):
  New

Bug description:
  The accounting entries generated for the price difference account are not consistently correct.
  Environment: 
  6.0.2 release 30/06/2011
  anglo-saxon accounting
  PO invoicing control = from picking
  product costing method = average price
  inventory valuation = real time (automated)

  When a PO is raised for a product with a purchase price <> average cost AND
  the invoice when processed has a price difference to the PO, THEN
  the price difference value is calculated by (Quantity * (Old Average Price - New Average Price)) (+ve value = DR)
  but should be calculated by (Quantity * (Invoice Price - PO Price)) (+ve value = DR)

  I can provide a worked example if required

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


References