← Back to team overview

openerp-india team mailing list archive

[Bug 924604] Re: [account] account.move.line 'credit_debit2' should not be equal to zero

 

Hello,

It's not actually consider as a bug.

We are allowing credit and debit both zero for some cases. I have
attached a video to make it clear.

e.g: In case of advance payment.
1) Make an advance payment of 1000 for any customer
2) Now create an invoice of 450 for the same customer and try to pay the invoice.
3) Here we will set the Paid amount as 0 as we are going to pay he amount from the credit line

Now, Once we validate this voucher and check the Journal Items we will
find an aml with credit and debit 0(it b'coz we set Paid Amount 0),
which is right behavior according to me!!!

Hope this will help!!!

Thanks,
Purnendu Singh



** Attachment added: "credit_debit_0.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/924604/+attachment/2709372/+files/credit_debit_0.ogv

** Changed in: openobject-addons
       Status: Confirmed => Won't Fix

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

Title:
  [account] account.move.line 'credit_debit2' should not be equal to
  zero

Status in OpenERP Addons (modules):
  Won't Fix

Bug description:
  [account] account.move.line 'credit_debit2' should not be equal to
  zero

  ('credit_debit2', 'CHECK (credit+debit>=0)', 'Wrong credit or debit
  value in accounting entry !'),

  This Constraint is allow to create and/or write aml with zeroes both on debit and credit which
  IMO is wrong, Even this allow to create am with aml with zeroes

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


References