Skip to content

Commit

Permalink
enable remote cache invalidation for M_Attribute and M_AttributeValue
Browse files Browse the repository at this point in the history
reason: the caches from HUSubProducerBPartnerAttributeValuesProvider
actually depend on M_AttributreValue too

metasfresh/metasfresh-webui-api-legacy#697
  • Loading branch information
teosarca committed Nov 21, 2017
1 parent 3eb2860 commit 565ed4c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
import org.compiere.model.I_C_Location;
import org.compiere.model.I_C_UOM;
import org.compiere.model.I_C_UOM_Conversion;
import org.compiere.model.I_M_Attribute;
import org.compiere.model.I_M_AttributeSet;
import org.compiere.model.I_M_AttributeValue;
import org.compiere.model.I_M_DiscountSchema;
import org.compiere.model.I_M_DiscountSchemaLine;
import org.compiere.model.I_M_PriceList;
Expand Down Expand Up @@ -316,5 +318,8 @@ protected void setupCaching(final IModelCacheService cachingService)

cacheMgt.enableRemoteCacheInvalidationForTableName(I_C_BPartner.Table_Name);
cacheMgt.enableRemoteCacheInvalidationForTableName(I_C_BP_Relation.Table_Name);

cacheMgt.enableRemoteCacheInvalidationForTableName(I_M_Attribute.Table_Name);
cacheMgt.enableRemoteCacheInvalidationForTableName(I_M_AttributeValue.Table_Name);
}
}

0 comments on commit 565ed4c

Please sign in to comment.