fix: POS not picking up pos profile company address instead fetch any random company address (#34521)

This commit is contained in:
Vishal Dhayagude 2023-03-21 15:43:57 +05:30 committed by GitHub
parent ee6c107d58
commit 6966fa4d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,8 @@ erpnext.selling.POSInvoiceController = class POSInvoiceController extends erpnex
party_type: "Customer",
account: this.frm.doc.debit_to,
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();
});