Merge pull request #14329 from pratu16x7/hub-fixes
[hub][minor] remove links #14309
This commit is contained in:
commit
8ac7dfee36
@ -6,8 +6,7 @@ frappe.ui.form.on("Hub Settings", {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
frm.trigger("enabled");
|
frm.trigger("enabled");
|
||||||
frm.add_custom_button(__('View Hub'),
|
|
||||||
() => frappe.set_route('Hub', 'Item'));
|
|
||||||
if (frm.doc.enabled) {
|
if (frm.doc.enabled) {
|
||||||
frm.add_custom_button(__('Sync'),
|
frm.add_custom_button(__('Sync'),
|
||||||
() => frm.call('sync'));
|
() => frm.call('sync'));
|
||||||
|
|||||||
@ -352,7 +352,7 @@ erpnext.hub.ItemListing = class ItemListing extends erpnext.hub.HubListing {
|
|||||||
setup_defaults() {
|
setup_defaults() {
|
||||||
super.setup_defaults();
|
super.setup_defaults();
|
||||||
this.doctype = 'Hub Item';
|
this.doctype = 'Hub Item';
|
||||||
this.page_title = __('Products');
|
this.page_title = __('Marketplace');
|
||||||
this.fields = ['name', 'hub_item_code', 'image', 'item_name', 'item_code', 'company_name', 'description', 'country'];
|
this.fields = ['name', 'hub_item_code', 'image', 'item_name', 'item_code', 'company_name', 'description', 'country'];
|
||||||
this.filters = [];
|
this.filters = [];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user