Merge PR #474 into 12.0

Signed-off-by AaronHForgeFlow
This commit is contained in:
OCA-git-bot
2020-02-18 14:32:12 +00:00

View File

@@ -129,7 +129,8 @@ class Agreement(models.Model):
use_parties_content = fields.Boolean(
string="Use parties content",
help="Use custom content for parties")
company_partner_id = fields.Many2one(related="company_id.partner_id")
company_partner_id = fields.Many2one(
related="company_id.partner_id", string="Company's Partner")
def _get_default_parties(self):
deftext = """