update qvm
Track and comment
This commit is contained in:
@@ -65,10 +65,9 @@ public class QvmOperationServiceImpl implements QvmOperationService {
|
||||
throw new AxelorException(
|
||||
company,
|
||||
TraceBackRepository.CATEGORY_CONFIGURATION_ERROR,
|
||||
I18n.get("IExceptionMessage.PURCHASE_ORDER_1"),
|
||||
I18n.get("Calibration Sequence is not defined"),
|
||||
company.getName());
|
||||
}
|
||||
System.out.println("seq before : " + seq);
|
||||
return seq;
|
||||
}
|
||||
|
||||
@@ -78,10 +77,9 @@ public class QvmOperationServiceImpl implements QvmOperationService {
|
||||
throw new AxelorException(
|
||||
company,
|
||||
TraceBackRepository.CATEGORY_CONFIGURATION_ERROR,
|
||||
I18n.get("IExceptionMessage.PURCHASE_ORDER_1"),
|
||||
I18n.get("Qualification Sequence is not defined"),
|
||||
company.getName());
|
||||
}
|
||||
System.out.println("seq before : " + seq);
|
||||
return seq;
|
||||
}
|
||||
|
||||
@@ -91,10 +89,9 @@ public class QvmOperationServiceImpl implements QvmOperationService {
|
||||
throw new AxelorException(
|
||||
company,
|
||||
TraceBackRepository.CATEGORY_CONFIGURATION_ERROR,
|
||||
I18n.get("IExceptionMessage.PURCHASE_ORDER_1"),
|
||||
I18n.get("Operation Sequence is not defined"),
|
||||
company.getName());
|
||||
}
|
||||
System.out.println("seq before : " + seq);
|
||||
return seq;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,16 @@
|
||||
|
||||
<entity name="Machine">
|
||||
<one-to-many name="operationList" ref="com.axelor.apps.qvm.db.QvmOperation" mappedBy="machineName" title="Operations" />
|
||||
<many-to-one name="machineLocation" ref="com.axelor.apps.qvm.db.QvmMachineLocation" title="Machine Location" required="true"/>
|
||||
<many-to-one name="machineLocation" ref="com.axelor.apps.qvm.db.QvmMachineLocation" title="Machine Location"/>
|
||||
<string name="model" title="Model"/>
|
||||
<string name="machineId" title="ID"/>
|
||||
<integer name="typeSelect" title="Type Select" default="0"/>
|
||||
<integer name="machineOperationType" required="true" selection="operation.machine.type.status.select" default="1"/>
|
||||
<string name="remarque" title="Remarque"/>
|
||||
<integer name="machineOperationType" selection="operation.machine.type.status.select" default="1"/>
|
||||
<string name="note" title="Note"/>
|
||||
<string name="fullName" namecolumn="true">
|
||||
<![CDATA[
|
||||
return machineId+" "+name;
|
||||
]]>
|
||||
</string>
|
||||
</entity>
|
||||
</domain-models>
|
||||
|
||||
@@ -41,25 +41,37 @@
|
||||
<integer name="parentLocation" selection="operation.parent.location.select" default="0"/>
|
||||
|
||||
<track>
|
||||
<field name="createdOn"/>orderByState
|
||||
<field name="statusSelect"/>
|
||||
<field name="createdOn"/>
|
||||
<field name="createdBy"/>
|
||||
<field name="updatedOn"/>
|
||||
<field name="updatedBy"/>
|
||||
<field name="serialNumber"/>
|
||||
<field name="operationType"/>
|
||||
<field name="machineName"/>
|
||||
<field name="machineId"/>
|
||||
<field name="machineBrand"/>
|
||||
<field name="machineModel"/>
|
||||
<field name="machineSerialNumber"/>
|
||||
<field name="machineLocalisation"/>
|
||||
<field name="machineLocalisation" />
|
||||
<field name="machineLocalisationParent"/>
|
||||
<field name="stockUnity"/>
|
||||
<field name="fullRange"/>
|
||||
<field name="operationRange"/>
|
||||
<field name="leastCount"/>
|
||||
<field name="operationFrequency"/>
|
||||
<field name="pastOperationDate"/>
|
||||
<field name="operationDate"/>
|
||||
<field name="operationDueDate"/>
|
||||
<field name="countdown"/>
|
||||
<field name="reportCertifiacteNumber"/>
|
||||
<field name="external"/>
|
||||
<field name="internal"/>
|
||||
<field name="externalInternal"/>
|
||||
<field name="statusSelect"/>
|
||||
<field name="company"/>
|
||||
<field name="typeSelect"/>
|
||||
<field name="orderByState"/>
|
||||
<field name="purchaseRequest"/>
|
||||
<field name="parentLocation"/>
|
||||
</track>
|
||||
|
||||
</entity>
|
||||
|
||||
</domain-models>
|
||||
|
||||
Reference in New Issue
Block a user