Search in sources :

Example 1 with ManufOrderServiceBusinessImpl

use of com.axelor.apps.businessproduction.service.ManufOrderServiceBusinessImpl in project axelor-open-suite by axelor.

the class ManufOrderBusinessController method propagateIsToInvoice.

public void propagateIsToInvoice(ActionRequest request, ActionResponse response) {
    ManufOrderServiceBusinessImpl manufOrderService = Beans.get(ManufOrderServiceBusinessImpl.class);
    ManufOrder manufOrder = request.getContext().asType(ManufOrder.class);
    manufOrderService.propagateIsToInvoice(Beans.get(ManufOrderRepository.class).find(manufOrder.getId()));
    response.setReload(true);
}
Also used : ManufOrderServiceBusinessImpl(com.axelor.apps.businessproduction.service.ManufOrderServiceBusinessImpl) ManufOrder(com.axelor.apps.production.db.ManufOrder)

Aggregations

ManufOrderServiceBusinessImpl (com.axelor.apps.businessproduction.service.ManufOrderServiceBusinessImpl)1 ManufOrder (com.axelor.apps.production.db.ManufOrder)1