[Fix] POS minor fixes.
diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js
index fcccfb4..9211657 100644
--- a/erpnext/accounts/page/pos/pos.js
+++ b/erpnext/accounts/page/pos/pos.js
@@ -952,9 +952,9 @@
get_mapper_for_pricing_rule: function(data){
return {
- 'Customer': [data.customer, [this.doc.customer]],
- 'Customer Group': [data.customer_group, [this.doc.customer_group, 'All Customer Groups']],
- 'Territory': [data.territory, [this.doc.territory, 'All Territories']],
+ 'Customer': [data.customer, [this.frm.doc.customer]],
+ 'Customer Group': [data.customer_group, [this.frm.doc.customer_group, 'All Customer Groups']],
+ 'Territory': [data.territory, [this.frm.doc.territory, 'All Territories']],
}
},