Skip to content

Set multi current tenants

Compare
Choose a tag to compare
@louiseGrandjonc louiseGrandjonc released this 17 May 22:36

In this version is introduced the concept of having multiple tenants as the current one making it possible to do

set_current_tenant([tenant_1, tenant_2])

It will add to the filter tenant_id__in=current_tenant instead of tenant_id=current_tenant