remove auto_post

This commit is contained in:
Mazen Abdo 2024-10-21 16:41:16 +03:00
parent d22fe3b752
commit f4a3f41079
1 changed files with 5 additions and 5 deletions

View File

@ -106,11 +106,11 @@ class AccountMove(models.Model):
to_post._check_balanced()
return to_post
@api.model
def create(self, vals):
vals['auto_post'] = True
return super(AccountMove, self).create(vals)
# @api.model
# def create(self, vals):
# vals['auto_post'] = True
# return super(AccountMove, self).create(vals)
#
class AccountMoveLine(models.Model):
_name = "account.move.line"