From 5005e467a00cc4c0d7eba9151046145f341f954b Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 4 Jul 2018 12:37:38 +0530 Subject: [PATCH] [Fix] POS Profile ignore pricing rule not working for online pos --- erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index b174d9b224..56767c2241 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -318,6 +318,7 @@ class SalesInvoice(SellingController): if not for_validate and not self.customer: self.customer = pos.customer + self.ignore_pricing_rule = pos.ignore_pricing_rule if pos.get('account_for_change_amount'): self.account_for_change_amount = pos.get('account_for_change_amount')