summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):