From 6cf299c31612b9dbc8869a6c82fa0f0a47fa2562 Mon Sep 17 00:00:00 2001
From: Benjamin <35699580+benj-filament@users.noreply.github.com>
Date: Fri, 22 Nov 2019 16:27:33 +0100
Subject: [PATCH] fix bug installation

---
 static/src/css/style.css |  3 +++
 views/hr_timesheet.xml   | 10 +++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/static/src/css/style.css b/static/src/css/style.css
index c22d29e..9980dc9 100644
--- a/static/src/css/style.css
+++ b/static/src/css/style.css
@@ -3,4 +3,7 @@
 	overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
+}
+.td-minwidth {
+	min-width: 200px;
 }
\ No newline at end of file
diff --git a/views/hr_timesheet.xml b/views/hr_timesheet.xml
index 4519791..61d5b7d 100644
--- a/views/hr_timesheet.xml
+++ b/views/hr_timesheet.xml
@@ -7,9 +7,9 @@
 
         <!-- Tree View Timesheet CG -->
         <record id="view_cgscop_hr_timesheet_line_tree" model="ir.ui.view">
-            <field name="name">account.analytic.line.timesheet.cgscop.tree</field>
-            <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
+            <field name="name">account.analytic.line.timesheet.cgscop</field>
             <field name="model">account.analytic.line</field>
+            <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
             <field name="arch" type="xml">
                 <field name="name" position="replace"/>
                 <field name="project_id" position="attributes" >
@@ -17,9 +17,9 @@
                     <attribute name="string">Code activité UR</attribute>
                 </field>
                 <field name="project_id" position="after" >
-                    <field name="cgscop_timesheet_code_id" readonly="1"  class="td-ellipsis "/>
-                    <field name="partner_id" domain="[('is_company', '=', True)]" class="td-ellipsis" string="Contact"/>
-                    <field name="name" style="min-width: 200px" />
+                    <field name="cgscop_timesheet_code_id" readonly="1"  class="td-ellipsis"/>
+                    <field name="partner_id" domain="[('is_company', '=', True)]" class="td-ellipsis" />
+                    <field name="name" class="td-minwidth" />
                     <field name="ur_financial_system_id" options="{'no_create_edit': True}"/>
                 </field>
                 <field name="task_id" position="replace"/>
-- 
GitLab