mirror of
https://github.com/bringout/oca-report.git
synced 2026-04-19 06:02:01 +02:00
update all kept modules to OCA 19.0 versions
bi_sql_editor 19.0.1.0.1, report_csv 19.0.1.0.0,
report_qweb_element_page_visibility 19.0.1.0.0,
report_xlsx_helper 19.0.1.0.0, report_xml 19.0.1.0.0,
sql_request_abstract 19.0.1.0.0
🤖 assisted by claude
This commit is contained in:
parent
05df50b41d
commit
c18e7fd4c7
258 changed files with 8677 additions and 6341 deletions
|
|
@ -53,7 +53,7 @@ class ReportAction(models.Model):
|
|||
@api.model
|
||||
def _render_csv(self, report_ref, docids, data):
|
||||
report_sudo = self._get_report(report_ref)
|
||||
report_model_name = "report.%s" % report_sudo.report_name
|
||||
report_model_name = f"report.{report_sudo.report_name}"
|
||||
report_model = self.env[report_model_name]
|
||||
res_id = docids[0] if docids and len(docids) == 1 else None
|
||||
if not res_id or not report_sudo.attachment or not report_sudo.attachment_use:
|
||||
|
|
@ -80,7 +80,7 @@ class ReportAction(models.Model):
|
|||
|
||||
@api.model
|
||||
def _get_report_from_name(self, report_name):
|
||||
res = super(ReportAction, self)._get_report_from_name(report_name)
|
||||
res = super()._get_report_from_name(report_name)
|
||||
if res:
|
||||
return res
|
||||
report_obj = self.env["ir.actions.report"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue