bzr revid: apa@tinyerp.com-20120329121931-w3e4bclwmuhhzsg2
This commit is contained in:
Amit Patel (OpenERP)
2012-03-29 17:49:31 +05:30
parent 2f042dc433
commit 9aa3b59b2f
3 changed files with 14 additions and 11 deletions
+7 -5
View File
@@ -186,6 +186,10 @@
<td width="60px" align="center" valign="top">
<button name = "open_users" type="object" class="oe_project_buttons"><img t-att-src="kanban_image('res.users', 'avatar', record.user_id.raw_value[0])" height="40px" width="40px" /></button><br/>
<div class="manager"><field name="user_id"/></div>
<t t-if="record.date.raw_value">
<kbd class="user">Deadline</kbd>
<div class="manager"><field name="date"/></div>
</t>
</td>
<td align="left" valign="middle" width="220px">
<div class="oe_project_border">
@@ -204,12 +208,10 @@
</div>
</td>
<td width="70px" valign="top" align="right">
<t t-if="record.date.raw_value">
<div class="sequence">
<kbd class="user">Deadline</kbd>
<div class="manager"><field name="date"/></div>
<div id="sequence">
<!--<kbd class="user">Deadline</kbd>-->
<!--<div class="manager"><field name="date"/></div>-->
</div>
</t>
</td>
</tr>
</table>
+4 -2
View File
@@ -1,7 +1,8 @@
.oe_to_invoice_buttons {
min-height: 30px;
min-height: 60px;
min-width: 50px;
vertical-align: baseline;
vertical-align: top;
}
.oe_to_invoice_buttons:hover {
@@ -26,6 +27,7 @@
}
.sequence {
padding-bottom: 4px !important;
border-bottom: groove;
/*font-size: 20px;*/
text-align: center;
@@ -44,14 +44,13 @@
<button name="open_timesheets" class="oe_project_buttons" type="object" tooltip="timesheets"><img src="/project_timesheet/static/src/img/timesheet_icon.png" class="project_icon"/></button>
</t>
</xpath>
<xpath expr="//div[@class='sequence']" position="after">
<xpath expr="//div[@id='sequence']" position="inside">
<div class="sequence">
<button name="open_timesheets" class="oe_to_invoice_buttons" type="object">
<!--<kbd class="to_invoice">To invoice</kbd>-->
<small>To invoice</small>
<div class="manager">
<code>To invoice</code>
<strong><field name="amount_invoiced"/></strong>
<field name="amount_invoiced"/>
</div>
</button>
</div>