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')