<commit_before><?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://apps.axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://apps.axelor.com/xml/ns/domain-models http://apps.axelor.com/xml/ns/domain-models/domain-models_0.9.xsd">

  <module name="production" package="com.axelor.apps.production.db"/>

  <entity name="OperationOrder" lang="java">
  
  	<integer name="priority" title="Priority" initParam="true"/>
<!--     Ajouter action-record pour concatener seq + priority -->
    <string name="name" title="Name" initParam="true"/> 
  
  	<boolean name="isToInvoice" title="To invoice ?" initParam="true"/>
  	
  	<many-to-one name="manufOrder" ref="com.axelor.apps.production.db.ManufOrder" title="Manufacturing order" initParam="true"/>
  
<!--   	<decimal name="qty" title="Quantity"/> -->
  
  	<many-to-one name="prodResource" ref="com.axelor.apps.production.db.ProdResource" title="Resource" initParam="true"/>
  	<many-to-one name="machineProdResource" ref="com.axelor.apps.production.db.ProdResource" title="Machine" initParam="true"/>
  
  	<one-to-many name="prodHumanResourceList" ref="com.axelor.apps.production.db.ProdHumanResource" mappedBy="operationOrder" title="Human resources"/>
  
  	<one-to-many name="toConsumeProdProductList" ref="com.axelor.apps.production.db.ProdProduct" mappedBy="toConsumeOperationOrder" title="Products to consume"/>
  	<one-to-many name="consumedStockMoveLineList" ref="com.axelor.apps.supplychain.db.StockMoveLine" mappedBy="consumedOperationOrder" title="Consumed products"/>
  	<one-to-many name="diffConsumeProdProductList" ref="com.axelor.apps.production.db.ProdProduct" mappedBy="diffConsumeOperationOrder" title="Difference"/>
  
  
    <integer name="statusSelect" title="Status" selection="production.manuf.order.status.select" initParam="true"/>
    
    <many-to-one name="prodProcessLine" ref="com.axelor.apps.production.db.ProdProcessLine" title="Operation" initParam="true"/> 
  
    <datetime name="plannedStartDateT" title="Planned start date" initParam="true"/>
  	<datetime name="plannedEndDateT" title="Planned end date"/>
  	
 	<datetime name="realStartDateT" title="Real start date"/>
  	<datetime name="realEndDateT" title="Real end date"/>
    
    <many-to-one name="inStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move in"/>
    <many-to-one name="outStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move out"/>
    
    <many-to-one name="wasteStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move out"/>
    
    <string name="wasteProdDescription" title="Description" large="true"/>
    
    <one-to-many name="timesheetLineList" ref="com.axelor.apps.organisation.db.TimesheetLine" mappedBy="operationOrder" title="Timesheet lines"/>
    
    <long name="plannedDuration" title="Planned duration"/>
    <long name="realDuration" title="Real duration"/>
    
<!--     temp en heure et temp pour un cycle ?? -->
    
  </entity>
</domain-models><commit_msg>Improve production<commit_after><?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://apps.axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://apps.axelor.com/xml/ns/domain-models http://apps.axelor.com/xml/ns/domain-models/domain-models_0.9.xsd">

  <module name="production" package="com.axelor.apps.production.db"/>

  <entity name="OperationOrder" lang="java">
  
  	<integer name="priority" title="Priority" initParam="true"/>
<!--     Ajouter action-record pour concatener seq + priority -->
    <string name="name" title="Name" initParam="true"/> 
  
  	<boolean name="isToInvoice" title="To invoice ?" initParam="true"/>
  	
  	<many-to-one name="manufOrder" ref="com.axelor.apps.production.db.ManufOrder" title="Manufacturing order" initParam="true"/>
  
<!--   	<decimal name="qty" title="Quantity"/> -->
  
  	<many-to-one name="prodResource" ref="com.axelor.apps.production.db.ProdResource" title="Resource" initParam="true"/>
  	<many-to-one name="machineProdResource" ref="com.axelor.apps.production.db.ProdResource" title="Machine" initParam="true"/>
  
  	<one-to-many name="prodHumanResourceList" ref="com.axelor.apps.production.db.ProdHumanResource" mappedBy="operationOrder" title="Human resources"/>
  
  	<one-to-many name="toConsumeProdProductList" ref="com.axelor.apps.production.db.ProdProduct" mappedBy="toConsumeOperationOrder" title="Products to consume"/>
  	<one-to-many name="consumedStockMoveLineList" ref="com.axelor.apps.supplychain.db.StockMoveLine" mappedBy="consumedOperationOrder" title="Consumed products"/>
  	<one-to-many name="diffConsumeProdProductList" ref="com.axelor.apps.production.db.ProdProduct" mappedBy="diffConsumeOperationOrder" title="Difference"/>
  
  
    <integer name="statusSelect" title="Status" selection="production.manuf.order.status.select" initParam="true"/>
    
    <many-to-one name="prodProcessLine" ref="com.axelor.apps.production.db.ProdProcessLine" title="Operation" initParam="true"/> 
  
    <datetime name="plannedStartDateT" title="Planned start date"/>
  	<datetime name="plannedEndDateT" title="Planned end date"/>
  	
 	<datetime name="realStartDateT" title="Real start date"/>
  	<datetime name="realEndDateT" title="Real end date"/>
    
    <many-to-one name="inStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move in"/>
    <many-to-one name="outStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move out"/>
    
    <many-to-one name="wasteStockMove" ref="com.axelor.apps.supplychain.db.StockMove" title="Stock move out"/>
    
    <string name="wasteProdDescription" title="Description" large="true"/>
    
    <one-to-many name="timesheetLineList" ref="com.axelor.apps.organisation.db.TimesheetLine" mappedBy="operationOrder" title="Timesheet lines"/>
    
    <long name="plannedDuration" title="Planned duration"/>
    <long name="realDuration" title="Real duration"/>
    
<!--     temp en heure et temp pour un cycle ?? -->
    
  </entity>
</domain-models>
{'fraction_non_alphanumeric': 0.1652583685407865, 'fraction_numerical': 0.003249918752031199, 'mean_word_length': 5.016617790811339, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6193226', 'n_tokens_mistral': 2076, 'n_tokens_neox': 1980, 'n_words': 305}