← Back to team overview

openerp-india team mailing list archive

[Bug 1238583] Re: Vouchers posting entries in currency income/expense Accounts

 

*** This bug is a duplicate of bug 1103494 ***
    https://bugs.launchpad.net/bugs/1103494

Hello Kinnar,

Thanks for the bug report but its quite similar with the lp:1103494. I
can mark this as a duplicate of lp:1103494 because If we fixed the
lp:1103494 then this bug will fixed automatically. We can say both will
fixed by same code.

Here are small work around on this. This extra-journal entry will
creates when balance amount of the invoice and allocation amount on
voucher both are different. Normally for the multiple payments for
invoice multiple lines are creates on the payment tab of invoices .
Check when you have done the partial payment of the invoice then
remaining residual amount will become your invoice balance. After this
when you are going to done the full payment then it will again check the
balance amount and allocation amount and its same, So it will not create
any extra entry . Now from here the problem will comes, when we are
going to unreconcile the 2nd payment entry  (this will happen for any of
the payment entry) then after the un reconciliation all payment entry
will be unlink to the invoice (removed) . After this check your invoice
balance which will be same as invoice amount which is wrong it will be
based on how much amount remain to payment as per our residual value.
But once all payment entry will be removed balance amount become wrong.
Due to this when you again going to validate the 2nd payment entry your
voucher balance will be changed and it will show you whole invoice
amount. So here allocation amount and balance will be different and full
reconcile is true that's why it will create the adjustment entry for
this.

IF we fixed the lp:1103494 that means only relevant payment entry will
be unlink with the invoice and If this will fix then residual amount
will be correct and after this allocation amount and voucher lines
opening balance become same  and it will not create any extra entry.

So lp:1103494 and this bug report have a different problem with
different scenario but it will be fix at the same place , that's why I
am going to mark this as a duplicate of lp:1103494.

Hope you can understand.

Thank you!

** This bug has been marked a duplicate of bug 1103494
   Multiple payments(partial) on Invoice ..once I cancel one payment it will removed all the payment entry from invoice

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

Title:
  Vouchers posting entries in currency income/expense Accounts

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  The problem occurs when we make payments for an invoice. Pay first
  payment as partial payment and second payment as full payment. Make
  sure both vouchers are posted. Now unreconcile second voucher, set it
  to draft and confirm it without making any changes in voucher screen.
  Go to Journal Items tab and you will observer there are entries made
  in income/expense currency rate account.

  This problem can be avoided by selecting another payment method and
  then switching back to desired payment method. Switching of payment
  method creates new voucher lines and makes a fresh calculation of
  oustanding amounts.

  * prerequisites 
  Set Income/Expense currency rate account in company screen
  Settings -> Companies -> companies. configuration tab -> Accounting section 

  Steps to create bug
  * Create new invoice
  A. Create new sale invoice for any partner from menu Accounting → Customers → Customer invoices
  B. Add invoice line and confirm the invoice.

  * Pay invoice
  A. Click on payment button after confirming invoice.
  B. Consider paying invoice partially and not full amount.

  * Create new payment vouchet
  A. Create new customer payment with same partner/customer. Make full payment to invoice generated in step 1. Make sure the invoice entry is marked as full reconcile and is fully paid.
  B. Confirm the voucher.

  * Generate Error
  A. Press Unreconcile button in voucher created in step 3 and then set voucher to draft state.
  B. Without making any changes to voucher press validate button.
  C.  After validating the voucher, go to second tab journal Items.
  D. You will notice there were few entries created in currency rate account.

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


References