diff --git a/account_credit_hold/models/res_partner.py b/account_credit_hold/models/res_partner.py index 3cc765d..38390f9 100644 --- a/account_credit_hold/models/res_partner.py +++ b/account_credit_hold/models/res_partner.py @@ -44,8 +44,8 @@ class Partner(models.Model): rec.hold_bg = False rec.message_post(body=_('Credit hold lifted.')) - def _execute_followup_partner(self): - res = super()._execute_followup_partner() + def _execute_followup_partner(self, options=None): + res = super()._execute_followup_partner(options) if self.followup_status == 'in_need_of_action': if self.followup_line_id.account_hold: self.action_credit_hold() diff --git a/account_credit_hold/views/account_followup_views.xml b/account_credit_hold/views/account_followup_views.xml index 10a7165..faa0804 100644 --- a/account_credit_hold/views/account_followup_views.xml +++ b/account_credit_hold/views/account_followup_views.xml @@ -1,7 +1,6 @@ - account_credit_hold.account_followup_line.form account_followup.followup.line @@ -9,44 +8,26 @@ - - + - customer.statements.form.view.inherit res.partner - -