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

feat: add parameters language and letter_head to download_pdf #19284

Merged

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Dec 14, 2022

Allow to specify language and letter head when printing via download_pdf().
Previously, it just used the default letter head and the current user's language, with no option to change that.

Required for frappe/erpnext#33339

no-docs

@barredterra barredterra requested a review from a team as a code owner December 14, 2022 13:00
@barredterra barredterra requested review from shariquerik and removed request for a team December 14, 2022 13:00
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label Dec 14, 2022
@barredterra barredterra added backport version-14-hotfix backport to version 14 and removed add-test-cases Add test case to validate fix or enhancement labels Dec 14, 2022
@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Merging #19284 (cbb620e) into develop (8d9673d) will decrease coverage by 0.05%.
The diff coverage is 15.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #19284      +/-   ##
===========================================
- Coverage    64.62%   64.56%   -0.06%     
===========================================
  Files          754      754              
  Lines        70430    70764     +334     
  Branches      6117     6117              
===========================================
+ Hits         45513    45690     +177     
- Misses       21440    21601     +161     
+ Partials      3477     3473       -4     
Flag Coverage Δ
server 68.44% <16.66%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@shariquerik shariquerik merged commit 445da1f into frappe:develop Dec 15, 2022
@barredterra barredterra deleted the download-pdf-with-lang-and-letterhead branch December 15, 2022 10:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants