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

Issues with Printing Sales orders and Invoices when Print Designer App is installed #359

Open
edardev opened this issue Sep 19, 2024 · 2 comments

Comments

@edardev
Copy link

edardev commented Sep 19, 2024

Hi everyone,

I'm encountering several issues related to printing invoices on Frappe/ERPNext Version 15. Specifically, I'm having trouble with the following:

  • Printing invoices and generating PDFs
  • Setting up Print Formats
  • The new Print Designer app

When using the default print format for Sales Orders ("Sales Order PD v2"), it's throwing errors and failing to generate a proper output. However, when I remove this format, I'm able to view and print the PDF, but the resulting format is messy and unsuitable for my prospective clients.

The Print Designer app also has several bugs related to formatting. I'm unable to achieve the desired print output, and I can't delete elements from the canvas. Additionally, PDF generation isn't functioning as expected.

Here are the versions of the installed apps:

  • Frappe CRM: v2.0.0-dev
  • Ecommerce Integrations: v1.17.0
  • ERPNext: v15.36.0
  • Frappe Framework: v15.41.0
  • Frappe HR: v15.29.0
  • Frappe Insights: v3.0.0
  • Payments: v0.0.1
  • Print Designer: v1.2.0 AND v1.4.2

Has anyone else encountered similar issues or found a solution? Any advice or guidance would be greatly appreciated!

Thanks in advance.

image

image

image

@mualala
Copy link

mualala commented Sep 22, 2024

me too, And web console print:
Error: Worker was destroyed

@edardev edardev changed the title Issues with Printing Invoices and Print Designer on Frappe/ERPNext Version 15 Issues with Printing Invoices when Print Designer App is install Sep 23, 2024
@edardev edardev changed the title Issues with Printing Invoices when Print Designer App is install Issues with Printing Invoices when Print Designer App is installed Sep 23, 2024
@edardev
Copy link
Author

edardev commented Oct 1, 2024

I tested the latest "main" branch, and the issue with deleting items has been resolved, similar to the "develop" branch. However, we're still encountering issues when printing new sales orders, sales invoices, and other documents using the "Print Designer" app.

Identified Issues:

  1. Default Templates: It seems that default templates are not being generated, which prevents them from being located or used during the printing and preview process.

image
image
image
image

We switched back and forth between the "develop" and "main" branches but are still encountering printing issues, even after creating new print formats and setting them as the default. Occasionally, creating a new custom user permission for the preview JPG file resolves the issue temporarily, allowing us to print, but it suddenly stops working again without any clear reason.

image
image

Request for Assistance

I appreciate the creator's ongoing efforts to address this issue, as I've noticed recent updates and GitHub commits. However, we are still experiencing challenges.

Could you kindly assist in further investigating these problems? Any guidance on ensuring that default templates are properly generated and resolving the recurring permission errors would be greatly appreciated.

Thank you for your time and support!

@edardev edardev changed the title Issues with Printing Invoices when Print Designer App is installed Issues with Printing Sales orders and Invoices when Print Designer App is installed Oct 1, 2024
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

No branches or pull requests

2 participants