summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-03-26 16:42:47 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-03-26 16:42:47 +0700
commit321b0c365c722c4a357d7da17cd25561f1d5f78d (patch)
treea9d741372e3839b17fc130c9d0a4249129ce21f0
parent03d667e9a6f33531a41000eed335212abe79a5fb (diff)
cr other subtotal ppn 12%
-rw-r--r--indoteknik_custom/models/account_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 45fdb8df..906985de 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -81,7 +81,7 @@ class AccountMove(models.Model):
def compute_other_subtotal(self):
for rec in self:
- rec.other_subtotal = rec.amount_untaxed * (11 / 12)
+ rec.other_subtotal = round(rec.amount_untaxed * (11 / 12))
@api.model
def generate_attachment(self, record):