summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-02-09 11:03:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-02-09 11:03:19 +0700
commit3f5f262fb49f3d30f98de8e5fdfe6e6e15e904da (patch)
treee037165fda4ff72691bca89ab2d75160cd120e4f
parent2418642c82c8cdb531c3a1e80b8ec7b990d05300 (diff)
comment unecessary code
-rw-r--r--indoteknik_custom/models/account_move.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 54e51dcf..78fa2ddf 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -21,8 +21,8 @@ class AccountMove(models.Model):
def action_post(self):
res = super(AccountMove, self).action_post()
- if not self.env.user.is_accounting:
- raise UserError('Hanya Accounting yang bisa Posting')
+ # if not self.env.user.is_accounting:
+ # raise UserError('Hanya Accounting yang bisa Posting')
return res
@api.onchange('date_kirim_tukar_faktur')