Skip to content

Commit

Permalink
fix: update bill_from_address when required
Browse files Browse the repository at this point in the history
(cherry picked from commit 7c3fc13)
  • Loading branch information
Ninad1306 authored and mergify[bot] committed Oct 22, 2024
1 parent d292b7f commit 36180f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/client_scripts/stock_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ frappe.ui.form.on(DOCTYPE, {
},

company(frm) {
if (frm.doc.company) {
if (frm.doc.company && doc.purpose === "Send to Subcontractor") {
frappe.call({
method: "frappe.contacts.doctype.address.address.get_default_address",
args: {
Expand Down

0 comments on commit 36180f5

Please sign in to comment.