← Back to team overview

openerp-india team mailing list archive

[Bug 998980] [NEW] [6.0][account_voucher] Deleting voucher lines does not correctly recalculate write-off amount

 

Public bug reported:

Hello, I'm using openerp server 6.0.3. When using account_voucher module
to pay a customer invoice, I'm finding that the write-off amount is not
calculated correctly before saving the changes.

I create a new voucher, then introduce the partner, amount, and the
invoice lines are proposed. Then I select payment difference =
"Reconcile with write-off". Then I start to remove the proposed debit
and credit voucher lines. The write-off amount is not being calculated
correctly. When I save the vouched the write-off amount is recalculated
to a valid value.

Example:
Customer A has 7 open invoices (amounting to 179565.32) and 4 debit memos (amounting to 43347,30)
Create a new customer payment. Indicate the customer, and specify amount = 33821
The system automatically proposes some amounts to be paid for the open invoices.

Select "Payment difference" = Reconcile with Write-Off
Initially proposed paid amount: 
Initial write-off amount: 46311.33

Then remove all debits, and all credits except one credit line. The
write-off amount is not updated correctly. However once you save, the
write-off amout is recalculated again, to a valid value.

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

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

Title:
  [6.0][account_voucher] Deleting voucher lines does not correctly
  recalculate write-off amount

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello, I'm using openerp server 6.0.3. When using account_voucher
  module to pay a customer invoice, I'm finding that the write-off
  amount is not calculated correctly before saving the changes.

  I create a new voucher, then introduce the partner, amount, and the
  invoice lines are proposed. Then I select payment difference =
  "Reconcile with write-off". Then I start to remove the proposed debit
  and credit voucher lines. The write-off amount is not being calculated
  correctly. When I save the vouched the write-off amount is
  recalculated to a valid value.

  Example:
  Customer A has 7 open invoices (amounting to 179565.32) and 4 debit memos (amounting to 43347,30)
  Create a new customer payment. Indicate the customer, and specify amount = 33821
  The system automatically proposes some amounts to be paid for the open invoices.

  Select "Payment difference" = Reconcile with Write-Off
  Initially proposed paid amount: 
  Initial write-off amount: 46311.33

  Then remove all debits, and all credits except one credit line. The
  write-off amount is not updated correctly. However once you save, the
  write-off amout is recalculated again, to a valid value.

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


Follow ups

References