mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-30 09:32:25 +02:00
Merge pull request #17514 from rohitwaghchaure/pricing_rule_not_working_on_quotation
fix: pricing rule not working properly on the quotation
This commit is contained in:
@@ -428,7 +428,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
serial_no: item.serial_no,
|
||||
set_warehouse: me.frm.doc.set_warehouse,
|
||||
warehouse: item.warehouse,
|
||||
customer: me.frm.doc.customer,
|
||||
customer: me.frm.doc.customer || me.frm.doc.party_name,
|
||||
supplier: me.frm.doc.supplier,
|
||||
currency: me.frm.doc.currency,
|
||||
update_stock: update_stock,
|
||||
@@ -1118,7 +1118,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
var me = this;
|
||||
return {
|
||||
"items": this._get_item_list(item),
|
||||
"customer": me.frm.doc.customer,
|
||||
"customer": me.frm.doc.customer || me.frm.doc.party_name,
|
||||
"customer_group": me.frm.doc.customer_group,
|
||||
"territory": me.frm.doc.territory,
|
||||
"supplier": me.frm.doc.supplier,
|
||||
|
||||
Reference in New Issue
Block a user