← Back to team overview

credativ team mailing list archive

[Merge] lp:~credativ/openobject-addons/fix-885714 into lp:openobject-addons

 

The proposal to merge lp:~credativ/openobject-addons/fix-885714 into lp:openobject-addons has been updated.

Description changed to:

 * Make debit/credit required fields
 * Make default value of 0.00

Without above the sql constraint

  ('credit_debit1', 'CHECK (credit*debit=0)',  'Wrong credit or debit value in accounting entry !')

can be by-passed if credit or debit is NULL
and as a side effect any SQL-reports/queries that do (debit-credit) will return NULL if one of the debit/credit is null and result in bugs as seen in bug #885714 (paybles&receivibles fields wrong in the partner record and aged partner balance report is wrong), from accounting point of view these are critical.

Affects trunk, 6.0

For more details, see:
https://code.launchpad.net/~credativ/openobject-addons/fix-885714/+merge/81161
-- 
https://code.launchpad.net/~credativ/openobject-addons/fix-885714/+merge/81161
Your team Credativ is subscribed to branch lp:~credativ/openobject-addons/fix-885714.


References