summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-03-06 21:35:26 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-03-06 21:35:26 +0700
commit5d7bf2741610d1aecb20b7d28d76e800941025ee (patch)
tree370b1a998b9a2df7b05be2941b7e8627dec2bb56
parentebfd584b6a1d44f15ce49fc8a6f9496818d7f377 (diff)
parent2ec2cdc415e01cebb11f838f29b1099f5fb1b818 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
-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: