Skip to content

Commit

Permalink
fix: POS not picking up pos profile company address instead fetch any…
Browse files Browse the repository at this point in the history
… random company address (#34521)

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

(cherry picked from commit 6966fa4)

Co-authored-by: Vishal Dhayagude <vishdha@users.noreply.github.com>
  • Loading branch information
mergify[bot] and vishdha committed Mar 21, 2023
1 parent d24f4d2 commit 01f4cc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/accounts/doctype/pos_invoice/pos_invoice.js
Expand Up @@ -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();
});
Expand Down

0 comments on commit 01f4cc7

Please sign in to comment.