Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Make the printscreen links appear even in grouped view #6

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

veloutin
Copy link

We've had an issue where the "PDF or Excel" link isn't shown in grouped views, since it is added to the oe_pager_value div, which is set to display:none in that case.

This changes how the link is added and instead:

  • Puts both links in a "ListView.ExportLinks" template
  • Changes ListView.load_list() to add the rendered ExportLinks template after the pager div
  • Toggles visibility of the links in the view manager's switch_mode() function/

Vincent Vinet and others added 8 commits July 25, 2014 12:48
The header will contain the company's logo
The footer will contain the date and page number
[FIX] PEP8
[IMP] Modify header, Add footer
Because we use a NumberedCanvas, the logo image must be printed on the report
with python code instead of directly through the template.

Otherwise, either the logo will not appear or the report
will not be rendered correctly on multiple pages.

Also increase the height of the header.
The date must be in date format of the user lang.
The logo's width must be dynamic
Remove duplicate unrequired js file
Prevent controllers from appearing in the list of data export handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant