Hi Team,
I am very new to ERPNext and following this installation instruction here:
i am trying to print version and export PDF under Selling - Quotation, but got following error:
Date: {{ no such element: erpnext.selling.doctype.quotation.quotation.Quotation object[‘offer_date’] }}
Dear {{ no such element: erpnext.selling.doctype.quotation.quotation.Quotation object[‘applicant_name’] }},
We are pleased to appoint you in the services of MarketSimple on the terms and conditions detailed in this letter.
Your designation shall be {{ no such element: erpnext.selling.doctype.quotation.quotation.Quotation object[‘designation’] }}.
Please read the detailed terms as below. If you have any queries, feel free to get in touch with us. We look forward to your long and fruitful career association with our organisation. If you decide to join us, ‘Welcome to MarketSimple !’
Yours truly,
Authorized Signatory
Another error is exporting to PDF version:
Traceback (innermost last):
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/api.py", line 50, in handle
return frappe.handler.handle()
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/__init__.py", line 805, in call
return fn(*args, **newargs)
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/templates/pages/print.py", line 182, in download_pdf
frappe.local.response.filecontent = get_pdf(html)
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/apps/frappe/frappe/utils/pdf.py", line 16, in get_pdf
pdfkit.from_string(html, fname, options=options or {})
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/env/src/pdfkit/pdfkit/api.py", line 68, in from_string
return r.to_pdf(output_path)
File "/var/service/www/nginx/marketsimple.com/erpnext5/frappe-bench/env/src/pdfkit/pdfkit/pdfkit.py", line 143, in to_pdf
raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8")))
IOError: wkhtmltopdf exited with non-zero code -6. error:
The switch --no-outline, is not support using unpatched qt, and will be ignored.The switch --print-media-type, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display
I aslo tried to reinstall wkhtmltopdf, but not works.
Please advice how to fix this problem.
Thank you.