diff --git a/apps/business_central/utils.py b/apps/business_central/utils.py index 4b9a312..170e213 100644 --- a/apps/business_central/utils.py +++ b/apps/business_central/utils.py @@ -75,6 +75,9 @@ def _sync_data(self, data, attribute_type, display_name, workspace_id, field_nam active = True else: active = False + if attribute_type == 'ACCOUNT': + if item.get('accountType') != 'Posting': + continue destination_attributes.append(self._create_destination_attribute( attribute_type, display_name,