-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: bulk-format with ruff and prettier
- Loading branch information
1 parent
505553e
commit 01bd5e3
Showing
11 changed files
with
137 additions
and
124 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
erpnext_shipping/erpnext_shipping/doctype/letmeship/letmeship.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// Copyright (c) 2020, Frappe and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('LetMeShip', { | ||
frappe.ui.form.on("LetMeShip", { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
erpnext_shipping/erpnext_shipping/doctype/parcel_service/parcel_service.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// Copyright (c) 2020, Frappe and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Parcel Service', { | ||
frappe.ui.form.on("Parcel Service", { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
12 changes: 6 additions & 6 deletions
12
erpnext_shipping/erpnext_shipping/doctype/parcel_service_type/parcel_service_type.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// Copyright (c) 2020, Frappe and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Parcel Service Type Alias', { | ||
parcel_type_alias: function(frm, cdt, cdn) { | ||
frappe.ui.form.on("Parcel Service Type Alias", { | ||
parcel_type_alias: function (frm, cdt, cdn) { | ||
let row = locals[cdt][cdn]; | ||
if (row.parcel_type_alias) { | ||
frappe.model.set_value(cdt, cdn, 'parcel_service', frm.doc.parcel_service); | ||
frm.refresh_field('parcel_service_type_alias'); | ||
frappe.model.set_value(cdt, cdn, "parcel_service", frm.doc.parcel_service); | ||
frm.refresh_field("parcel_service_type_alias"); | ||
} | ||
} | ||
}); | ||
}, | ||
}); |
3 changes: 1 addition & 2 deletions
3
erpnext_shipping/erpnext_shipping/doctype/sendcloud/sendcloud.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// Copyright (c) 2020, Frappe and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('SendCloud', { | ||
frappe.ui.form.on("SendCloud", { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
erpnext_shipping/erpnext_shipping/patches/create_custom_delivery_note_fields.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.