[IMP]
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Wed, 4 Apr 2012 07:08:09 +0000 (12:38 +0530)
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Wed, 4 Apr 2012 07:08:09 +0000 (12:38 +0530)
bzr revid: sgo@tinyerp.com-20120404070809-lntog45xrxy8g3xs

addons/project/project_view.xml
addons/project_timesheet/project_timesheet_view.xml

index 4a6b8a4..967c094 100644 (file)
                                         </a>
                                     </h4>
                                     <table class="project_fields">
-                                        <tr t-if="record.date.raw_value">
+                                        <tr id="deadline" t-if="record.date.raw_value">
                                             <th align="left">Deadline</th>
                                             <td align="left">
                                                 <t t-esc="record.date.raw_value.toString('MMMM')"/> 
                                             </td>
                                         </tr>
                                         <tr>
-                                            <th align="left">Progress</th>
+                                            <th align="left" width="70px">Progress</th>
                                             <td align="left">
                                                 <t t-esc="Math.round(record.effective_hours.raw_value/24)"/>/<t t-esc="Math.round(record.total_hours.raw_value/24)"/> days
                                             </td>
index 222031d..4e2d90a 100644 (file)
@@ -43,7 +43,7 @@
             </a>
         </xpath>
 
-               <xpath expr="//table[@class='project_fields']" position="inside">
+               <xpath expr="//tr[@id='deadline']" position="before">
                    <tr >
                        <th align="left">To invoice</th>
                        <td align="left">