Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4666 Widoki

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?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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”


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 24
12724
0
wrz 25
4
0
wrz 25
4
2
wrz 25
153
1
wrz 25
205