Commit 4997c84d by Damien Moulard

fix res partner error

parent 7e9aa8a0
......@@ -101,7 +101,7 @@ class ResPartner(models.Model):
data = {'member_id': self.id, 'state': state}
self.env['member.state.change'].create(data)
@api.model
@api.multi
def update(self, vals):
#_logger.info("valeurs reçues pour update partner = %s", str(vals))
state_to_record = ""
......@@ -116,7 +116,7 @@ class ResPartner(models.Model):
return super(ResPartner, self).update(vals)
@api.model
@api.multi
def write(self, vals):
# _logger.info("valeurs reçues pour write partner = %s", str(vals))
if 'cooperative_state' in vals:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment