fix: POS not picking up pos profile company address instead fetch any random company address (#34521)
This commit is contained in:
parent
ee6c107d58
commit
6966fa4d88
@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user