summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-03-10 10:47:19 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-03-10 10:47:19 +0700
commit2c2ef831e327539c81a707042ad5812a8adcd1ad (patch)
tree18fd7894db8812cfb8977c1a70850d00a57e41f3 /indoteknik_custom/models/account_move.py
parent98ec81f4442553070ce235d0e96d736c60dcd839 (diff)
parent8ded428f62eca10e114a72c50074b4d8afa36dc8 (diff)
Merge branch 'odoo-backup' into CR/repeat-order
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: