← 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

 

This wont be considered as a bug and it's a needed feature because
account.move.line also contain information about the tax amounts and tax
code, and sometimes there are more information related to tax than the
number of lines. At that time, we need to be able to add
account.move.line with debit=credit=0.

Moreover such lines do not impact the financial accounting and the
account balances.

So, restricting an entry with debit=credit=0 will hide the tax related
information which is not recommended.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

-- 
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):
  Invalid

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