fix: pos profile not mandatory for Sales Invoice (#26853)
This commit is contained in:
parent
94beda65ca
commit
af2f5277d5
@ -480,7 +480,7 @@ class SalesInvoice(SellingController):
|
||||
if not self.pos_profile:
|
||||
pos_profile = get_pos_profile(self.company) or {}
|
||||
if not pos_profile:
|
||||
frappe.throw(_("No POS Profile found. Please create a New POS Profile first"))
|
||||
return
|
||||
self.pos_profile = pos_profile.get('name')
|
||||
|
||||
pos = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user