credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #01244
[Bug 890570] Re: stock anglo - wrong calculation of price difference
Hello Ferdinand,
Thanks for reporting, the solution of this bug is proposed in
branch lp:~openerp-dev/openobject-addons/trunk-bug-890570-bde
with following Revision ID and Number:
Revision ID: bde@xxxxxxxxxxx-20111214083923-qii6o48mbgvpimlo
Revision Number: 5970
The solution will be merged in main addons soon.
Thanks & Regards,
Devnani Bharat R.
** Changed in: openobject-addons
Status: Confirmed => In Progress
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/890570
Title:
stock anglo - wrong calculation of price difference
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
currently price difference is taken as
( product unit-price - PO price ) * PO quantity
which is wrong
the price difference is the difference between invoice and receipt postings.
pls see also bug
https://bugs.launchpad.net/openobject-addons/+bug/889093 comments #5 and later
attention
there are 2 scenarios
1) invoice is posted AFTER incoming receipt
then we might have a price difference
2) invoice is posted BEFORE incoming receipt (example delivery by ship takes some weeks or month or is delayed for some reasons)
we (OpenERP) should "know" about the existing invoice (attached to PO) and price - hence it is not necesssary to use the (wrong) price from PO but from invoice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/890570/+subscriptions