From a28ecb41ebf4745d78eb4816f793f0ef6a56967b Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Mon, 16 Jan 2017 15:08:31 +0500 Subject: [PATCH] [FIX] fix errors from incorrect automatic fixes https://github.com/it-projects-llc/odoo-development/commit/2a5576d17122e99853b02f5761151352da7dad85 --- mail_move_message/mail_move_message_models.py | 12 ++++++------ mass_mailing_extra/models.py | 4 ++-- res_partner_strip_email/models.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mail_move_message/mail_move_message_models.py b/mail_move_message/mail_move_message_models.py index fb545a5..9ea722c 100644 --- a/mail_move_message/mail_move_message_models.py +++ b/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): diff --git a/mass_mailing_extra/models.py b/mass_mailing_extra/models.py index df808f0..9c4c337 100644 --- a/mass_mailing_extra/models.py +++ b/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): diff --git a/res_partner_strip_email/models.py b/res_partner_strip_email/models.py index 5713c79..da029a7 100644 --- a/res_partner_strip_email/models.py +++ b/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):