summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-03-13 10:11:33 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-03-13 10:11:33 +0700
commited9a8ebd0e3a16ac501da848fd4dbc5ae0ce6ff5 (patch)
tree5585297ea85e86eaa09da2d0c20373fd64bd8c5b /indoteknik_custom/models/account_move.py
parent60de643d4a5f19abc7bee34ccd2e6e6f6219a750 (diff)
parent1ff9a57e2f7a7ecb3ba9321f7133f43e7009aa47 (diff)
Merge branch 'odoo-backup' into CR/renca-banner
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
-rw-r--r--indoteknik_custom/models/account_move.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 9aa0743b..45fdb8df 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -76,7 +76,8 @@ class AccountMove(models.Model):
def compute_other_taxes(self):
for rec in self:
- rec.other_taxes = rec.other_subtotal * 0.12
+ rec.other_taxes = round(rec.other_subtotal * 0.12, 2)
+
def compute_other_subtotal(self):
for rec in self: