'Make Asset Movement' button translation fix

This commit is contained in:
Hossein Yousefian
2023-04-04 14:49:43 +03:30
committed by GitHub
parent 12325cb685
commit b70615ef18

View File

@@ -36,7 +36,7 @@ frappe.listview_settings['Asset'] = {
} }
}, },
onload: function(me) { onload: function(me) {
me.page.add_action_item('Make Asset Movement', function() { me.page.add_action_item(__("Make Asset Movement"), function() {
const assets = me.get_checked_items(); const assets = me.get_checked_items();
frappe.call({ frappe.call({
method: "erpnext.assets.doctype.asset.asset.make_asset_movement", method: "erpnext.assets.doctype.asset.asset.make_asset_movement",