[FIX] base_comment_template: Make field truly company dependent

Previous field declaration was incorrect due to a typo, leading to non applying the
company dependent features.

Now everything is correct and the migration scripts care of moving data properly.
This commit is contained in:
Pedro M. Baeza
2020-03-12 15:41:31 +01:00
committed by Pierre Verkest
parent 88e7627b11
commit 9b738976fe
4 changed files with 28 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ class ResPartner(models.Model):
property_comment_template_id = fields.Many2one(
comodel_name='base.comment.template',
string='Conditions template',
company_dependant=True,
company_dependent=True,
)
@api.model