openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06285
[Bug 924604] Re: [account] account.move.line 'credit_debit2' should not be equal to zero
Hello,
It is extremly hard to explain aml with both credit and debit equals zero.
What is the point of such posting?
IMHO: ('credit_debit2', CHECK (abs(credit+debit)>0) ,'Wrong ...'
would be correct and allow for storno accounting.
Additional module/option will check without abs() as more restrictive
for contra accounting.
All routines doing posting needs to be revisited to handle debit=credit=0.00 situation,
or it can be done on aml ignoring such attempts as I am doing for Croatian localization.
Best regards,
Goran Kliska
www.slobodni-programi.hr
--
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