summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-02-19 09:41:06 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-02-19 09:41:06 +0700
commit45f6f270ae76b5e2d811f4ef04e9b64ba5b7f143 (patch)
tree9f8c2d2d67464c00dd7d1aa273b5db88c0d8c90e
parent069b3ba1af8025c75a5a1c2a772137aafb428a85 (diff)
fix error
-rw-r--r--indoteknik_custom/models/account_move_line.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/indoteknik_custom/models/account_move_line.py b/indoteknik_custom/models/account_move_line.py
index 31950f4c..6b394da3 100644
--- a/indoteknik_custom/models/account_move_line.py
+++ b/indoteknik_custom/models/account_move_line.py
@@ -24,10 +24,10 @@ class AccountMoveLine(models.Model):
account.is_required = False
@api.model_create_multi
- def create(self, vals_list):
- for vals in vals_list:
- if 'move_id' in vals:
- move = self.env['account.move'].browse(vals['move_id'])
- if move.move_type == 'entry':
- vals['name'] = move.ref
- return super().create(vals_list) \ No newline at end of file
+ def create(self, vals_list):
+ for vals in vals_list:
+ if 'move_id' in vals:
+ move = self.env['account.move'].browse(vals['move_id'])
+ if move.move_type == 'entry':
+ vals['name'] = move.ref
+ return super().create(vals_list) \ No newline at end of file