Skip to content

Commit

Permalink
Merge pull request #2681 from Ninad1306/dont_update_if_not_required
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit authored Oct 22, 2024
2 parents 5098544 + 7c3fc13 commit c7d0a82
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 @@ -111,7 +111,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 c7d0a82

Please sign in to comment.