lims_report_html: fix sections loading

This commit is contained in:
Adrián Bernardi 2020-11-12 19:33:13 -03:00
parent 1952a3224d
commit dd17964571
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ResultsReportVersionDetail(metaclass=PoolMeta):
return '1'
@fields.depends('template', '_parent_template.trend_charts',
'_parent_template.sections')
'_parent_template.sections', 'sections')
def on_change_template(self):
if self.template and self.template.trend_charts:
self.trend_charts = [{