Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4900 Weergaven

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 24
12817
1
okt. 25
140
0
okt. 25
91
0
okt. 25
85
0
okt. 25
2