Update agreement_section.py

This commit is contained in:
Maxime Chambreuil
2019-05-07 12:43:08 -05:00
committed by Patrick Wilson
parent 5327142bd5
commit d23c34a938

View File

@@ -17,7 +17,7 @@ class AgreementSection(models.Model):
agreement_id = fields.Many2one( agreement_id = fields.Many2one(
"agreement", string="Agreement", ondelete="cascade") "agreement", string="Agreement", ondelete="cascade")
clauses_ids = fields.One2many( clauses_ids = fields.One2many(
"agreement.clause", "section_id", string="Clauses",copy=True) "agreement.clause", "section_id", string="Clauses", copy=True)
content = fields.Html(string="Section Content") content = fields.Html(string="Section Content")
dynamic_content = fields.Html( dynamic_content = fields.Html(
compute="_compute_dynamic_content", compute="_compute_dynamic_content",