Add email setting for CORE Office -> CORE Lane export

This commit is contained in:
Lance Edgar 2021-07-22 12:15:26 -05:00
parent 36b6109993
commit ca723ffde8
2 changed files with 9 additions and 0 deletions

View file

@ -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):

View file

@ -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.