Search in sources :

Example 1 with FixedAssetType

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;
}
Also used : FixedAssetCategory(com.axelor.apps.account.db.FixedAssetCategory) FixedAssetType(com.axelor.apps.account.db.FixedAssetType)

Aggregations

FixedAssetCategory (com.axelor.apps.account.db.FixedAssetCategory)1 FixedAssetType (com.axelor.apps.account.db.FixedAssetType)1