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);
}
Aggregations