mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
[Staging] Patch fix - Shopify Settings (#15338)
* keep enable_shopify in Shopify Settings disabled by default * patch fix for shopify refactor * minor fallback fix
This commit is contained in:
@@ -289,7 +289,7 @@ class SalesInvoice(SellingController):
|
||||
|
||||
super(SalesInvoice, self).set_missing_values(for_validate)
|
||||
|
||||
print_format = pos.get("print_format_for_online")
|
||||
print_format = pos.get("print_format_for_online") if pos else None
|
||||
if not print_format and not cint(frappe.db.get_value('Print Format', 'POS Invoice', 'disabled')):
|
||||
print_format = 'POS Invoice'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user