This question has been flagged
2 Replies
3211 Views

Some accountants like to use the convention that when canceling an entry they use minus the amount they would like to cancel. Example;


Expenses Dr. - 100 “to cancel entry from before”

Payables Cr. - 100 “to cancel entry from before”


In Odoo the following constraint is in AML;

CONSTRAINT account_move_line_credit_debit2 CHECK ((credit + debit) >= 0::numeric)


Is there any particular reason why this constraint exists for the above balanced entry and would it cause any unforeseen effects to remove it?

Avatar
Discard
Author Best Answer

Thanks Mahmoud that is fine and in order, but to clarify the question ... why is it not possible to cancel an entry in this manner as it is quite common to do so in other systems, and what possible negative or unforeseen consequences would it have to remove the constraint that checks for this?

Avatar
Discard
Best Answer

You can't create Dr. or Cr. with minus value , If you want to cancel entry you can create new Entry and reverse credit and debit values.

EXample

 Expenses Cr.  100 “to cancel entry from before”

Payables Dr.  100 “to cancel entry from before”


Avatar
Discard