diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-03-10 09:53:52 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-03-10 09:53:52 +0700 |
| commit | 07de307dde57f475c59e8bb01ee065f6f9ba48df (patch) | |
| tree | 8e6be546a1efaea314457172f2511e4506c2487a /indoteknik_custom/models/account_move.py | |
| parent | 92b1ec69af1fb5b062307c7c7a00c3e0fb0e9e01 (diff) | |
| parent | efdf162216dceff9b456b967d6ccd38da56fd1d5 (diff) | |
Merge branch 'odoo-backup' into CR/renca-tempo
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 3 |
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: |
