openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13220
[Bug 1019324] Re: Wrong "Amount currency" on account.move.line when "Group invoice line" is active
Hello Alexis,
I have fix this issue in following branch authored to you,
lp:~openerp-dev/openobject-addons/6.1-opw-576461-rha
r6870, rha@xxxxxxxxxxx-20120703054740-d3ana850vomt083a
I really appreciate your efforts!
Rifakat Haradwala
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1019324
Title:
Wrong "Amount currency" on account.move.line when "Group invoice line"
is active
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Here are the steps to reproduce the bug on OpenERP 6.1 (but the same scenario should work on trunk) :
1. Create a new OpenERP database with the "account_accountant" module. I suppose that your company currency is EUR.
2. On the Sale journal, activate the option "Group invoice line".
3. Create a new customer invoice (check that it has the journal on which you activated the option "Group invoice line") with 2 invoice lines :
- product HDD1 with quantity 1 and unit price 100
- same product HDD1 but with quantity 2 and unit price 200
4. Validate the invoice
5. Look at the account move line that has been generated in the Sale journal :
the account move line with the income account has 2 wrong values :
- the "Amount currency" should be "300"... but it is "100".
- the "Quantity" should be "3"... but it is "1".
This bug is also present on OpenERP 5.0 and OpenERP trunk (not tested
on trunk, but when you see the code... you can say that the bug is
there too !).
The attached patched fixes the bug (patch for OpenERP 6.1... but the
code is the same in trunk).
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1019324/+subscriptions
References