[FIX]DOCX Report Generation : bad return on falsy cond
This commit is contained in:
parent
82c167b8ee
commit
cf23e0df8d
@ -14,7 +14,7 @@
|
|||||||
"author": "RYDLAB, Yaltik",
|
"author": "RYDLAB, Yaltik",
|
||||||
"website": "https://rydlab.ru",
|
"website": "https://rydlab.ru",
|
||||||
"category": "Technical",
|
"category": "Technical",
|
||||||
"version": "16.0.2.1.0",
|
"version": "16.0.2.1.1",
|
||||||
"license": "LGPL-3",
|
"license": "LGPL-3",
|
||||||
"depends": ["base", "web", "custom_report_field", "report_monetary_helpers"],
|
"depends": ["base", "web", "custom_report_field", "report_monetary_helpers"],
|
||||||
"external_dependencies": {"python": ["docxcompose", "docxtpl", "beautifulsoup4"]},
|
"external_dependencies": {"python": ["docxcompose", "docxtpl", "beautifulsoup4"]},
|
||||||
|
@ -490,7 +490,8 @@ class IrActionsReport(models.Model):
|
|||||||
continue
|
continue
|
||||||
else: # Not handled, add text only
|
else: # Not handled, add text only
|
||||||
p.add_run(child.text)
|
p.add_run(child.text)
|
||||||
return md
|
return md
|
||||||
|
return field
|
||||||
|
|
||||||
jinja_env = jinja2.Environment()
|
jinja_env = jinja2.Environment()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user