← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 662563] Re: account_move_line - debit and credit must be not null - check missing

 

Hello Ferdinand,

I mark this bug as invalid because the current system have to accept the
case where debit=credit=0. Indeed, the account.move.line object is also
used to contain the information on tax. So if your tax has to create a
movement on several tax code, it's not rare to have a line with
debit=credit=0 and some information in tax code and tax amount.

This explain why we can't put that constraint.

Thanks for your contribution,
Quentin

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

-- 
account_move_line - debit and credit must be not null - check missing
https://bugs.launchpad.net/bugs/662563
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
IMHO a check for this is missing

somehow (automatically generated stock moves ?) it seems to be possible to create move lines with either debit or credit equal null.

theses fields should have required=True





References