From 184f61bd3e51379c6c0eb8994617a6054c67766e Mon Sep 17 00:00:00 2001 From: Yves Goldberg Date: Tue, 16 Apr 2019 15:25:19 +0200 Subject: [PATCH] [UPD] flake8 --- agreement_legal/models/agreement.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agreement_legal/models/agreement.py b/agreement_legal/models/agreement.py index 9f330a19..8a87cf96 100644 --- a/agreement_legal/models/agreement.py +++ b/agreement_legal/models/agreement.py @@ -173,8 +173,9 @@ class Agreement(models.Model): use_parties_content = fields.Boolean( string="Use parties content", help="Use custom content for parties") + def _get_default_parties(self): - deftext=""" + deftext = """

Company Information

${object.company_partner_id.name or ''}.
@@ -197,6 +198,7 @@ class Agreement(models.Model):

""" return deftext + parties = fields.Html( string="Parties", track_visibility="onchange",