diff --git a/rattail_corepos/importing/corepos/db.py b/rattail_corepos/importing/corepos/db.py index b08a1ed..b190619 100644 --- a/rattail_corepos/importing/corepos/db.py +++ b/rattail_corepos/importing/corepos/db.py @@ -220,6 +220,8 @@ class DepartmentImporter(FromCOREPOS, corepos_importing.model.DepartmentImporter 'corepos_number', 'number', 'name', + 'tax_code', + 'food_stampable', ] def normalize_host_object(self, department): @@ -227,6 +229,8 @@ class DepartmentImporter(FromCOREPOS, corepos_importing.model.DepartmentImporter 'corepos_number': department.number, 'number': department.number, 'name': department.name, + 'tax_code': str(department.tax_rate.id if department.tax_rate else '') or None, + 'food_stampable': department.food_stampable, }