← Back to team overview

openerp-india team mailing list archive

[Bug 1115907] [NEW] [trunk] draft invoice calculation errors

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1115907

Title:
  [trunk] draft invoice calculation errors

Status in OpenERP Server:
  New

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-server/+bug/1115907/+subscriptions


Follow ups

References