use of com.axelor.apps.account.db.FixedAssetType in project axelor-open-suite by axelor.
the class FixedAssetTestTool method createFixedAssetCategoryFromIsProrataTemporis.
public static FixedAssetCategory createFixedAssetCategoryFromIsProrataTemporis(boolean isProrataTemporis, boolean usProrataTemporis) {
FixedAssetType fixedAssetType = new FixedAssetType();
FixedAssetCategory fixedAssetCategory = new FixedAssetCategory();
fixedAssetCategory.setFixedAssetType(fixedAssetType);
fixedAssetCategory.setIsProrataTemporis(isProrataTemporis);
fixedAssetCategory.setIsUSProrataTemporis(usProrataTemporis);
return fixedAssetCategory;
}
Aggregations