Merge pull request #14805 from rohitwaghchaure/pos_ignore_pricing_issue_online

[Fix] POS Profile ignore pricing rule not working for online pos
This commit is contained in:
rohitwaghchaure 2018-07-04 16:26:48 +05:30 committed by GitHub
commit 25f36489b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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