-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web: show page number in report
Following 4a3fd02 on the portal when displaying an invoice we may get a report_type variable (with value 'html' or 'pdf') on the portal. This was used to not display the page number when checking the report, but when the report is printed in the backend this report_type was unset so the page number was mistakenly removed too. With this changeset, the report alway know if he is pdf, html or text and only print the page number if it is of type pdf. opw-1924729 closes odoo#30095
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters