Update models.py
This commit is contained in:
@@ -538,6 +538,8 @@ class Refund(models.Model):
|
||||
"return_reason": return_reason,
|
||||
}
|
||||
|
||||
#TODO: přesunou zásilkovna field tady taky (ostranit z order několik balíku)
|
||||
|
||||
html_string = render_to_string("refund/customer_in_package_returning_form.html", context)
|
||||
pdf_bytes = HTML(string=html_string).write_pdf()
|
||||
return pdf_bytes
|
||||
|
||||
Reference in New Issue
Block a user