mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[Fix] POS Profile ignore pricing rule not working for online pos
This commit is contained in:
@@ -318,6 +318,7 @@ class SalesInvoice(SellingController):
|
|||||||
if not for_validate and not self.customer:
|
if not for_validate and not self.customer:
|
||||||
self.customer = pos.customer
|
self.customer = pos.customer
|
||||||
|
|
||||||
|
self.ignore_pricing_rule = pos.ignore_pricing_rule
|
||||||
if pos.get('account_for_change_amount'):
|
if pos.get('account_for_change_amount'):
|
||||||
self.account_for_change_amount = pos.get('account_for_change_amount')
|
self.account_for_change_amount = pos.get('account_for_change_amount')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user