summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-09 16:25:55 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-09 16:25:55 +0700
commitd51c653d99a6133807e789c7b22b23e28e5abb87 (patch)
treed8cdaabc0a5b0b0df09146ef90f5d960299ff08c
parent6db1ecd687f0e09ba448fbee3b0d9a397b307567 (diff)
parent3f5f262fb49f3d30f98de8e5fdfe6e6e15e904da (diff)
Merge branch 'release' of bitbucket.org:altafixco/indoteknik-addons into release
-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')