← Back to team overview

openerp-india team mailing list archive

[Bug 865854] Re: Payment to Sales/Purchase Refund Invoice is wrong

 

Hello,

Thanks, it helps me a lot on a 6.0 instance who contained this bug.
But, why don't you directly prefilled the field amount with a negative amount?

Romain

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

Title:
  Payment to Sales/Purchase Refund Invoice is wrong

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Once a Sales Refund and Purchase Refund invoice is validated, there
  will be a payment button down there just exactly the same as the
  normal invoices. However, I observed there is something wrong with the
  journal entries it generates. Take a Sales Refund as an example:

  1. After I validate the Sales Refund Invoice (SCNJ by default), the
  system CREDIT the Account Receivable while DEBIT the Product Sales,
  this step is correct.

  2. However, when I click the payment button in the refund invoice and
  process it normally, after the payment is settled, in the journal
  entry, it records as the normal Sales Invoice Payment which is CREDIT
  the Account Receivable while DEBIT the Bank Account. This is wrong, it
  should be the other way around.

  Could anybody explain it? May be I am wrong, but it is a very
  important function in the business.

  Thanks,
  King W.C. Wang

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