diff --git a/rattail_corepos/corepos/lane/importing/op/office.py b/rattail_corepos/corepos/lane/importing/op/office.py index 43756f3..9e96e99 100644 --- a/rattail_corepos/corepos/lane/importing/op/office.py +++ b/rattail_corepos/corepos/lane/importing/op/office.py @@ -60,6 +60,7 @@ class FromCoreOfficeToCoreLane(FromCoreOfficeHandler, ToCoreLaneHandler): Handler for CORE Office -> CORE Lane data export. """ direction = 'export' + dbkey = 'default' @property def local_title(self): diff --git a/rattail_corepos/emails.py b/rattail_corepos/emails.py index 07abf64..ea254df 100644 --- a/rattail_corepos/emails.py +++ b/rattail_corepos/emails.py @@ -27,6 +27,14 @@ Email profiles for Rattail / CORE-POS integration from rattail.emails import ImporterEmail +class core_office_export_lane_op_updates(ImporterEmail): + """ + Sent when a CORE Office -> CORE Lane export involves data changes. + """ + handler_spec = 'rattail_corepos.corepos.lane.importing.op.office:FromCoreOfficeToCoreLane' + abstract = False + + class rattail_import_corepos_api_updates(ImporterEmail): """ Sent when a CORE-POS API -> Rattail import involves data changes.