mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
[minor] [fix] address trigger in warranty claim
This commit is contained in:
@@ -4,12 +4,17 @@
|
|||||||
frappe.provide("erpnext.support");
|
frappe.provide("erpnext.support");
|
||||||
frappe.require("assets/erpnext/js/utils.js");
|
frappe.require("assets/erpnext/js/utils.js");
|
||||||
|
|
||||||
frappe.ui.form.on_change("Warranty Claim", "customer", function(frm) {
|
frappe.ui.form.on("Warranty Claim", {
|
||||||
erpnext.utils.get_party_details(frm) });
|
customer: function(frm) {
|
||||||
frappe.ui.form.on_change("Warranty Claim", "customer_address",
|
erpnext.utils.get_party_details(frm);
|
||||||
erpnext.utils.get_address_display);
|
},
|
||||||
frappe.ui.form.on_change("Warranty Claim", "contact_person",
|
customer_address: function(frm) {
|
||||||
erpnext.utils.get_contact_details);
|
erpnext.utils.get_address_display(frm);
|
||||||
|
},
|
||||||
|
contact_person: function(frm) {
|
||||||
|
erpnext.utils.get_contact_details(frm);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
erpnext.support.WarrantyClaim = frappe.ui.form.Controller.extend({
|
erpnext.support.WarrantyClaim = frappe.ui.form.Controller.extend({
|
||||||
refresh: function() {
|
refresh: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user