Search in sources :

Example 1 with ProductVariantAttr

use of com.axelor.apps.base.db.ProductVariantAttr in project axelor-open-suite by axelor.

the class ProductVariantService method createProductVariantAttr.

public ProductVariantAttr createProductVariantAttr(String name) {
    ProductVariantAttr productVariantAttr = new ProductVariantAttr();
    productVariantAttr.setName(name);
    productVariantAttr.setProductVariantValueList(new ArrayList<ProductVariantValue>());
    return productVariantAttr;
}
Also used : ProductVariantValue(com.axelor.apps.base.db.ProductVariantValue) ProductVariantAttr(com.axelor.apps.base.db.ProductVariantAttr)

Aggregations

ProductVariantAttr (com.axelor.apps.base.db.ProductVariantAttr)1 ProductVariantValue (com.axelor.apps.base.db.ProductVariantValue)1