mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-19 17:30:01 +00:00
[hub] sync multiple image urls
- using a simple multiselect currently
This commit is contained in:
@@ -19,6 +19,7 @@ def pre_process(doc):
|
||||
|
||||
if cached_details:
|
||||
doc.hub_category = cached_details.hub_category
|
||||
doc.image_list = cached_details.image_list
|
||||
|
||||
return doc
|
||||
|
||||
|
||||
@@ -24,10 +24,20 @@
|
||||
"local_fieldname": "image",
|
||||
"remote_fieldname": "image"
|
||||
},
|
||||
{
|
||||
"is_child_table": 0,
|
||||
"local_fieldname": "image_list",
|
||||
"remote_fieldname": "image_list"
|
||||
},
|
||||
{
|
||||
"is_child_table": 0,
|
||||
"local_fieldname": "item_group",
|
||||
"remote_fieldname": "item_group"
|
||||
},
|
||||
{
|
||||
"is_child_table": 0,
|
||||
"local_fieldname": "hub_category",
|
||||
"remote_fieldname": "hub_category"
|
||||
}
|
||||
],
|
||||
"idx": 1,
|
||||
@@ -35,7 +45,7 @@
|
||||
"mapping_name": "Item to Hub Item",
|
||||
"mapping_type": "Push",
|
||||
"migration_id_field": "hub_sync_id",
|
||||
"modified": "2018-08-01 16:37:09.170546",
|
||||
"modified": "2018-08-19 22:20:25.727581",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Item to Hub Item",
|
||||
"owner": "Administrator",
|
||||
|
||||
Reference in New Issue
Block a user