Browse Source

[FIX] fix errors from incorrect automatic fixes

2a5576d171
pull/75/head
Ivan Yelizariev 8 years ago
parent
commit
a28ecb41eb
  1. 12
      mail_move_message/mail_move_message_models.py
  2. 4
      mass_mailing_extra/models.py
  3. 2
      res_partner_strip_email/models.py

12
mail_move_message/mail_move_message_models.py

@ -90,7 +90,7 @@ class Wizard(models.TransientModel):
@api.multi
def get_can_move(self):
for r in self:
r.get_can_move_one(self)
r.get_can_move_one()
@api.multi
def get_can_move_one(self):
@ -146,7 +146,7 @@ class Wizard(models.TransientModel):
@api.multi
def check_access(self):
for r in self:
r.check_access_one(self)
r.check_access_one()
@api.multi
def check_access_one(self):
@ -209,7 +209,7 @@ class Wizard(models.TransientModel):
@api.multi
def delete(self):
for r in self:
r.delete_one(self)
r.delete_one()
@api.multi
def delete_one(self):
@ -250,7 +250,7 @@ class Wizard(models.TransientModel):
@api.multi
def read_close(self):
for r in self:
r.read_close_one(self)
r.read_close_one()
@api.multi
def read_close_one(self):
@ -274,7 +274,7 @@ class MailMessage(models.Model):
@api.multi
def _get_all_childs(self, include_myself=True):
for r in self:
r._get_all_childs_one(self, include_myself=True)
r._get_all_childs_one(include_myself=True)
@api.multi
def _get_all_childs_one(self, include_myself=True):
@ -303,7 +303,7 @@ class MailMessage(models.Model):
@api.multi
def move(self, parent_id, res_id, model, move_back, move_followers=False):
for r in self:
r.move_one(self, parent_id, res_id, model, move_back, move_followers=False)
r.move_one(parent_id, res_id, model, move_back, move_followers=False)
@api.multi
def move_one(self, parent_id, res_id, model, move_back, move_followers=False):

4
mass_mailing_extra/models.py

@ -11,7 +11,7 @@ class MailMailStats(models.Model):
@api.multi
def _get_partner_id(self):
for r in self:
r._get_partner_id_one(self)
r._get_partner_id_one()
@api.multi
def _get_partner_id_one(self):
@ -26,7 +26,7 @@ class MailMailStats(models.Model):
@api.multi
def _get_partners(self):
for r in self:
r._get_partners_one(self)
r._get_partners_one()
@api.multi
def _get_partners_one(self):

2
res_partner_strip_email/models.py

@ -10,7 +10,7 @@ class ResPartnerStripEmail(models.Model):
@api.multi
def write(self, vals):
for r in self:
r.write_one(self, vals)
r.write_one(vals)
@api.multi
def write_one(self, vals):

Loading…
Cancel
Save