mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] base_comment_template: Migration to 14.0 add unit test
This commit is contained in:
@@ -45,4 +45,4 @@ class BaseCommentTemplate(models.Model):
|
||||
lang = None
|
||||
if partner_id:
|
||||
lang = self.env["res.partner"].browse(partner_id).lang
|
||||
return self.with_context({"lang": lang}).text
|
||||
return self.with_context(lang=lang).text
|
||||
|
||||
Reference in New Issue
Block a user