summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-12-08 15:31:46 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-12-08 15:31:46 +0700
commitde6039ab7675d91bcfcb67747d3c72be95a379e6 (patch)
treedf1fa2d9f235298988045c5be5a8e60b9951fd13 /indoteknik_custom/models/account_move.py
parentc1f7742c254898fa5981e8ca7d870ac42d3f8346 (diff)
parentc63d12bb9192ce845aace7489939c47c24973c66 (diff)
Merge branch 'production' into change/feature/promotion-program
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
-rw-r--r--indoteknik_custom/models/account_move.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index d55cca38..699191d6 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -32,13 +32,6 @@ class AccountMove(models.Model):
no_faktur_pajak = fields.Char(string='No Faktur Pajak')
date_completed = fields.Datetime(string='Date Completed')
- @api.onchange('efaktur_id')
- def change_efaktur_id(self):
- for invoice in self:
- if not invoice.efaktur_id:
- return
- invoice.no_faktur_pajak = invoice.efaktur_id.name
-
def _compute_due_line(self):
for invoice in self:
invoice.due_line = self.env['due.extension.line'].search([