Merge branch 'SLAV-141' into 'dev-16.0'
feat: добавление объекта в контекст See merge request odoo/docx_report!4
This commit is contained in:
commit
7aacdf4be5
@ -393,6 +393,7 @@ class IrActionsReport(models.Model):
|
||||
!= request.env["ir.http"]._get_default_lang().code,
|
||||
)
|
||||
values.update(
|
||||
record=values["docs"],
|
||||
time=time,
|
||||
context_timestamp=lambda t: fields.Datetime.context_timestamp(
|
||||
self.with_context(tz=user.tz), t
|
||||
|
Loading…
x
Reference in New Issue
Block a user