[IMP] salesteams: css
bzr revid: chm@openerp.com-20130418105206-8niwlqxp63zyv71s
This commit is contained in:
parent
d388383adb
commit
985d397c80
|
@ -173,7 +173,7 @@
|
|||
<field name="user_id"/>
|
||||
<field name="code"/>
|
||||
</group>
|
||||
<group colspan="4" col="4">
|
||||
<group colspan="4" col="2">
|
||||
<field name="target_duration" widget="radio"/>
|
||||
</group>
|
||||
<group colspan="4" attrs="{'invisible': [('use_leads', '=', False)]}">
|
||||
|
|
|
@ -2,9 +2,9 @@ openerp.crm = function(openerp) {
|
|||
openerp.web_kanban.KanbanRecord.include({
|
||||
renderElement: function () {
|
||||
var rendering = this._super();
|
||||
var self = this;
|
||||
|
||||
if (self.view.dataset.model === 'crm.case.section') {
|
||||
if (this.view.dataset.model === 'crm.case.section') {
|
||||
var self = this;
|
||||
$.when(rendering).done(function() {
|
||||
self.$(".oe_justgage").each(function () {
|
||||
var $el = $(this);
|
||||
|
|
|
@ -211,7 +211,7 @@
|
|||
<field name="inherit_id" ref="crm.crm_case_section_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<field name="target_duration" position="after">
|
||||
<field name="target_duration" position="before">
|
||||
<field name="target_invoice"/>
|
||||
</field>
|
||||
</data>
|
||||
|
@ -247,7 +247,7 @@
|
|||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@class='oe_items_list']" position="after">
|
||||
<div class="oe_center">
|
||||
<div class="oe_center" t-if="record.target_invoice.raw_value">
|
||||
<div class="oe_justgage" style="width:160px; height: 120px;"
|
||||
t-att-data-value="record.sent_invoice_per_duration.raw_value.pop()"
|
||||
t-att-data-max="record.target_invoice.raw_value"
|
||||
|
@ -258,6 +258,9 @@
|
|||
t-att-data-label="record.target_duration_txt.raw_value"
|
||||
data-action="action_forecast">Forecast</div>
|
||||
</div>
|
||||
<div class="oe_center" style="color:#bbbbbb;" t-if="!record.target_invoice.raw_value">
|
||||
<br/>Not target invoicing define
|
||||
</div>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue