<commit_before><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://apps.axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://apps.axelor.com/xml/ns/object-views http://apps.axelor.com/xml/ns/object-views/object-views_0.9.xsd">
    
    <grid name="timesheet-grid" title="Timesheets" model="com.axelor.apps.organisation.db.Timesheet">
        <field name="userInfo"/>
        <field name="fromDate"/>
        <field name="toDate"/>
        <field name="statusSelect"/>
    </grid>
    
    <form name="timesheet-form" title="Timesheet" model="com.axelor.apps.organisation.db.Timesheet" cols="4"
    onNew="action-timesheet-default-record,action-timesheet-getPeriod">
        <field name="userInfo"/>
		<spacer/>
		<field name="statusSelect" showTitle="false" widget="NavSelect"/>
		<break/>
		<field name="fromDate" onChange="action-timesheet-getPeriod"/>
		<field name="toDate"/>
		<field name="unit"/>
		<field name="project" domain="self.isAffair = true"/>
        <group title="Satisfaction" colSpan="4" cols="4">
        	<separator colSpan="8" title="Project" colSpan="4"/>
        	<group colSpan="2">
				<field name="projectSatisfactionSelect" widget="SelectProgress"/>
			</group>
	        <field name="projectComment"/>
	        <separator colSpan="4" title="Company"/>
	        <group colSpan="2">
				<field name="companySatisfactionSelect" widget="SelectProgress"/>
			</group>
        	<field name="companyComment"/>
        </group>
        <group title="Unité" colSpan="4">
         	<field name="unit"/>
        </group>
        <spacer/>
        <separator colSpan="4" title="Details of time spent on project/tasks"/>
        <group title="Configuration" readonlyIf="statusSelect == 3" colSpan="4" cols="7">
			<field name="hasToGetLeaveRequests"/>
			<field name="hasToGetSpentTimeFromTask"/>
			<field name="hasToGetPlanningLine"/>
			<button name="getSpentTimeButton" title="Get past time" showIf="statusSelect != 3 &amp;&amp; hasToGetLeaveRequests == true || hasToGetSpentTimeFromTask == true || hasToGetPlanningLine == true)" colSpan="1" onClick="save,action-timesheet-method-get-task-spent-time"/>
			<separator colSpan="7"/>
			<group colSpan="7" cols="6"><commit_msg>Fixed issue in timesheet view<commit_after><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://apps.axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://apps.axelor.com/xml/ns/object-views http://apps.axelor.com/xml/ns/object-views/object-views_0.9.xsd">
    
    <grid name="timesheet-grid" title="Timesheets" model="com.axelor.apps.organisation.db.Timesheet">
        <field name="userInfo"/>
        <field name="fromDate"/>
        <field name="toDate"/>
        <field name="statusSelect"/>
    </grid>
    
    <form name="timesheet-form" title="Timesheet" model="com.axelor.apps.organisation.db.Timesheet" cols="4"
    onNew="action-timesheet-default-record,action-timesheet-getPeriod">
        <field name="userInfo"/>
		<spacer/>
		<field name="statusSelect" showTitle="false" widget="NavSelect"/>
		<break/>
		<field name="fromDate" onChange="action-timesheet-getPeriod"/>
		<field name="toDate"/>
		<field name="unit"/>
		<field name="project" domain="self.isAffair = true"/>
        <group title="Satisfaction" colSpan="4" cols="4">
        	<separator title="Project" colSpan="4"/>
        	<group colSpan="2">
				<field name="projectSatisfactionSelect" widget="SelectProgress"/>
			</group>
	        <field name="projectComment"/>
	        <separator colSpan="4" title="Company"/>
	        <group colSpan="2">
				<field name="companySatisfactionSelect" widget="SelectProgress"/>
			</group>
        	<field name="companyComment"/>
        </group>
        <group title="Unité" colSpan="4">
         	<field name="unit"/>
        </group>
        <spacer/>
        <separator colSpan="4" title="Details of time spent on project/tasks"/>
        <group title="Configuration" readonlyIf="statusSelect == 3" colSpan="4" cols="7">
			<field name="hasToGetLeaveRequests"/>
			<field name="hasToGetSpentTimeFromTask"/>
			<field name="hasToGetPlanningLine"/>
			<button name="getSpentTimeButton" title="Get past time" showIf="statusSelect != 3 &amp;&amp; hasToGetLeaveRequests == true || hasToGetSpentTimeFromTask == true || hasToGetPlanningLine == true)" colSpan="1" onClick="save,action-timesheet-method-get-task-spent-time"/>
			<separator colSpan="7"/>
			<group colSpan="7" cols="6">
{'fraction_non_alphanumeric': 0.17540410659676714, 'fraction_numerical': 0.012013979903888162, 'mean_word_length': 3.955627705627706, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 2, '>': 85, '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': '2218859', 'n_tokens_mistral': 1542, 'n_tokens_neox': 1441, 'n_words': 248}