Skip to Content
Menu
This question has been flagged
2 Replies
4908 Zobrazenia

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
Zrušiť
Autor 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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
nov 24
12817
0
okt 25
3
1
okt 25
170
0
okt 25
114
0
okt 25
101