fix: POS not picking up pos profile company address instead fetch any random company address (#34521)
fix: POS not picking up pos profile company address instead fetch any random company address (#34521)
(cherry picked from commit 6966fa4d88)
Co-authored-by: Vishal Dhayagude <vishdha@users.noreply.github.com>
This commit is contained in:
@@ -112,7 +112,8 @@ erpnext.selling.POSInvoiceController = class POSInvoiceController extends erpnex
|
|||||||
party_type: "Customer",
|
party_type: "Customer",
|
||||||
account: this.frm.doc.debit_to,
|
account: this.frm.doc.debit_to,
|
||||||
price_list: this.frm.doc.selling_price_list,
|
price_list: this.frm.doc.selling_price_list,
|
||||||
pos_profile: pos_profile
|
pos_profile: pos_profile,
|
||||||
|
company_address: this.frm.doc.company_address
|
||||||
}, () => {
|
}, () => {
|
||||||
this.apply_pricing_rule();
|
this.apply_pricing_rule();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user