Skip to content

Commit

Permalink
Add active state for Tenant (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishabh17 authored May 14, 2024
1 parent 99a4b63 commit dcb8f91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/netsuite/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ def sync_currencies(self):
'attribute_type': 'CURRENCY',
'display_name': 'Currency',
'value': currency['symbol'],
'destination_id': currency['internalId']
'destination_id': currency['internalId'],
'active': True
}
)

Expand Down Expand Up @@ -869,7 +870,8 @@ def sync_subsidiaries(self):
'destination_id': subsidiary['internalId'],
'detail': {
'country': subsidiary['country']
}
},
'active': True
})

DestinationAttribute.bulk_create_or_update_destination_attributes(
Expand Down

0 comments on commit dcb8f91

Please sign in to comment.