Merge pull request #5693 from rohitwaghchaure/v7_pos_issue
[Fix] POS minor fixes.
This commit is contained in:
commit
e37625b0c2
@ -952,9 +952,9 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
|||||||
|
|
||||||
get_mapper_for_pricing_rule: function(data){
|
get_mapper_for_pricing_rule: function(data){
|
||||||
return {
|
return {
|
||||||
'Customer': [data.customer, [this.doc.customer]],
|
'Customer': [data.customer, [this.frm.doc.customer]],
|
||||||
'Customer Group': [data.customer_group, [this.doc.customer_group, 'All Customer Groups']],
|
'Customer Group': [data.customer_group, [this.frm.doc.customer_group, 'All Customer Groups']],
|
||||||
'Territory': [data.territory, [this.doc.territory, 'All Territories']],
|
'Territory': [data.territory, [this.frm.doc.territory, 'All Territories']],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user