mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[UPD] flake8
This commit is contained in:
@@ -173,6 +173,7 @@ class Agreement(models.Model):
|
|||||||
use_parties_content = fields.Boolean(
|
use_parties_content = fields.Boolean(
|
||||||
string="Use parties content",
|
string="Use parties content",
|
||||||
help="Use custom content for parties")
|
help="Use custom content for parties")
|
||||||
|
|
||||||
def _get_default_parties(self):
|
def _get_default_parties(self):
|
||||||
deftext = """
|
deftext = """
|
||||||
<h3>Company Information</h3>
|
<h3>Company Information</h3>
|
||||||
@@ -197,6 +198,7 @@ class Agreement(models.Model):
|
|||||||
</p>
|
</p>
|
||||||
"""
|
"""
|
||||||
return deftext
|
return deftext
|
||||||
|
|
||||||
parties = fields.Html(
|
parties = fields.Html(
|
||||||
string="Parties",
|
string="Parties",
|
||||||
track_visibility="onchange",
|
track_visibility="onchange",
|
||||||
|
|||||||
Reference in New Issue
Block a user