Skip to content

Commit

Permalink
[17.0][FIX] account_move_line_report_xls: fix render full_reconcile_id
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-demeyer committed Jan 3, 2025
1 parent 5713295 commit 28f5953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_move_line_report_xls/report/account_move_line_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _get_ws_params(self, workbook, data, amls):
},
"lines": {
"value": self._render(
"line.full_reconcile_id " "and line.full_reconcile_id.name"
"line.full_reconcile_id and str(line.full_reconcile_id.id)"
),
"format": FORMATS["format_tcell_center"],
},
Expand Down Expand Up @@ -211,7 +211,7 @@ def _get_ws_params(self, workbook, data, amls):
"header": {"value": _("Product Reference")},
"lines": {
"value": self._render(
"line.product_id and line.product_id.default_code " "or ''"
"line.product_id and line.product_id.default_code or ''"
)
},
"width": 36,
Expand Down

0 comments on commit 28f5953

Please sign in to comment.