remove auto_post
This commit is contained in:
parent
d22fe3b752
commit
f4a3f41079
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue