[hub] Track Hub Sync on the Server

- Create a Hub Seller activity on start of Hub Sync
- Store its name as remote_id in the Run
- Update that activity remotely once the Run here is complete, status
This commit is contained in:
Prateeksha Singh
2018-07-29 14:40:52 +05:30
parent d0a1a4fe90
commit 6f05ea124e
6 changed files with 83 additions and 100 deletions

View File

@@ -1,18 +1,19 @@
{
"creation": "2017-09-07 11:39:38.445902",
"docstatus": 0,
"doctype": "Data Migration Plan",
"idx": 1,
"creation": "2017-09-07 11:39:38.445902",
"docstatus": 0,
"doctype": "Data Migration Plan",
"idx": 1,
"mappings": [
{
"enabled": 1,
"enabled": 1,
"mapping": "Item to Hub Item"
}
],
"modified": "2018-07-27 21:52:52.324025",
"modified_by": "cave@aperture.com",
"module": "Hub Node",
"name": "Hub Sync",
"owner": "Administrator",
"plan_name": "Hub Sync"
}
],
"modified": "2018-07-28 22:25:35.216172",
"modified_by": "cave@aperture.com",
"module": "Hub Node",
"name": "Hub Sync",
"owner": "Administrator",
"plan_name": "Hub Sync",
"postprocess_method": "erpnext.hub_node.item_sync_postprocess"
}