openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23176
[Bug 1115907] Re: [trunk] draft invoice calculation errors
I pull the latest version from launchpad regularly, stop/start the
server.
Is there another command i run to update all the modules in openerp
after bzr pull and restarting openerp?
if is i will try that, if not here is what i have found:
how can i send you a list of the modules and settings I have installed
to replicate this?
I created a new database, and the invoice behavior is correct. I
installed my custom module to the new database and problem does not
appear.
I duplicated my old database and the problem is present in the
duplicate, I uninstalled my custom module and the problem did not stop.
I backed up my database and restored the backup. The problem was still
present.
It must be in one of the modules that touches upon invoices, but not the
base purchase module, but i do not know which one.
--
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/1115907
Title:
[trunk] draft invoice calculation errors
Status in OpenERP Addons (modules):
Incomplete
Bug description:
When I validate a draft supplier invoice there is a problem with the
calculation.
I follow the proper flow moving from purchase order to incoming
shipment to draft invoice.
The problem begins when I validate the draft invoice.
The first problem is the balance calculated for the validated invoice is double the total.
The second problem is when I pay the validated invoice, the paid amount is not properly calculated. Usually the maximum paid amount is one invoice line at a time.
For instance I have a draft invoice with 2 invoice lines both product quantities are 1 and price $2
In the draft invoice the total is $4 and the balance is $0
When I validate the invoice, the total is $4 and the balance is $8 when it should be $4
Next when I go to pay the invoice I choose to pay the complete balance
of $8 in the paid amount (even though that amount is wrong) and I
choose the payment method of cash. Only $4 is paid, and the balance
is still $4.
So for some reason the balance is being doubled and the payments are
being halved.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1115907/+subscriptions
References