[migration-run] run Runs with a remote id
- to update status remotely in postprocess
This commit is contained in:
parent
158d324b76
commit
0ad04ce02b
2 changed files with 760 additions and 624 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -127,7 +127,8 @@ class DataMigrationRun(Document):
|
|||
# Execute post process
|
||||
postprocess_method_path = self.get_plan().postprocess_method
|
||||
frappe.get_attr(postprocess_method_path)({
|
||||
"status": status
|
||||
"status": status,
|
||||
"remote_id": self.remote_id or ''
|
||||
})
|
||||
|
||||
self.db_set(fields, notify=True, commit=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue