refactor: skip popup for POS invoices
(cherry picked from commit 3634c4c284061ecd2fe5576467238532f748b07a)
This commit is contained in:
parent
2c8ba892ac
commit
b40baf5e63
@ -216,7 +216,8 @@ class AccountsController(TransactionBase):
|
||||
)
|
||||
)
|
||||
|
||||
if self.get("is_return") and self.get("return_against"):
|
||||
if self.get("is_return") and self.get("return_against") and not self.get("is_pos"):
|
||||
# if self.get("is_return") and self.get("return_against"):
|
||||
document_type = "Credit Note" if self.doctype == "Sales Invoice" else "Debit Note"
|
||||
frappe.msgprint(
|
||||
_(
|
||||
|
Loading…
x
Reference in New Issue
Block a user