summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-28 08:49:18 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-28 08:49:18 +0700
commit53e2b4ba69c7d0ea7a401ea6cc810dbcbf0fe46a (patch)
tree5109b0d012b768293eed8505ca0a5bf4a69c00ba
parent6b83f1e5a61c2d1f97fb5c0f1c55f0730f83a498 (diff)
deactivate code send email efaktur document
-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 2996623c..fbadd2aa 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -78,7 +78,7 @@ class AccountMove(models.Model):
})
return attachment
- @api.constrains('efaktur_document')
+ # @api.constrains('efaktur_document')
def send_scheduled_email(self):
# Get the records for which emails need to be sent
records = self.search([('id', 'in', self.ids)])