summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-12-01 09:51:13 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-12-01 09:51:13 +0700
commit2ff685ec17c73b72cad92fbe8e7d4eb951bc2b89 (patch)
tree724a364d51bd094b59b888fc30ecf0daef0c303b /indoteknik_custom/models
parent437ed107ee1730c38932ae6f1d22e7095617d61c (diff)
change attrs no_faktur_pajak on account.move
Diffstat (limited to 'indoteknik_custom/models')
-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([