[FIX] company_partner_id and partner_id have the same label: Partner.

This commit is contained in:
mreficent
2020-02-18 13:48:57 +01:00
parent 8533fd3b01
commit 815b566fc2

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 = """