summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')