[IMP] salesteams: gauge label color, action context
bzr revid: chm@openerp.com-20130418103015-si1vjq1scivoqxfu
This commit is contained in:
parent
f55291bcf9
commit
d388383adb
|
@ -21,6 +21,9 @@ openerp.crm = function(openerp) {
|
|||
max: +$el.data('max'),
|
||||
relativeGaugeSize: true,
|
||||
humanFriendly: true,
|
||||
titleFontColor: '#333333',
|
||||
valueFontColor: '#333333',
|
||||
labelFontColor: '#000',
|
||||
label: $el.data('label'),
|
||||
levelColors: [
|
||||
"#ff0000",
|
||||
|
@ -68,7 +71,6 @@ openerp.crm = function(openerp) {
|
|||
$el.sparkline($el.data("value").split(','), {type: 'bar', barWidth: 5} );
|
||||
$el.tipsy({'delayIn': 0, 'html': true, 'title': function(){return $(this).data("title")}, 'gravity': 'n'});
|
||||
});
|
||||
self.$(".oe_kanban_card").css('min-height', "");
|
||||
}, 0);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -307,7 +307,7 @@
|
|||
<filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/>
|
||||
<filter icon="terp-dolar_ok!" string="Done" domain="[('state','=','done')]" help="Sales Order done"/>
|
||||
<separator/>
|
||||
<filter string="My Sales Orders" domain="[('user_id','=',uid)]" help="My Sales Orders" icon="terp-personal" name="my_sale_orders_filter"/>
|
||||
<filter string="My" domain="[('user_id','=',uid)]" help="My Sales Orders" icon="terp-personal" name="my_sale_orders_filter"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="project_id"/>
|
||||
|
|
|
@ -120,7 +120,7 @@ class crm_case_section(osv.osv):
|
|||
domain=[('state', 'not in', ['draft', 'cancel'])]),
|
||||
|
||||
'forecast': fields.integer(string='Total forecast'),
|
||||
'target_invoice': fields.integer(string='Target Invoice'),
|
||||
'target_invoice': fields.integer(string='Target Invoicing'),
|
||||
'created_quotation_per_duration': fields.function(_get_created_quotation_per_duration, string='Rate of created quotation per duration', type="string", readonly=True),
|
||||
'validate_saleorder_per_duration': fields.function(_get_validate_saleorder_per_duration, string='Rate of validate sales orders per duration', type="string", readonly=True),
|
||||
'sent_invoice_per_duration': fields.function(_get_sent_invoice_per_duration, string='Rate of sent invoices per duration', type="string", readonly=True),
|
||||
|
|
|
@ -130,7 +130,6 @@
|
|||
<field name="context">{
|
||||
'search_default_section_id': [active_id],
|
||||
'default_section_id': active_id,
|
||||
'search_default_my_sale_orders_filter': 1,
|
||||
}
|
||||
</field>
|
||||
<field name="help" type="html">
|
||||
|
@ -154,7 +153,6 @@
|
|||
<field name="context">{
|
||||
'search_default_section_id': [active_id],
|
||||
'default_section_id': active_id, 'show_address': 1,
|
||||
'search_default_my_sale_orders_filter': 1
|
||||
}
|
||||
</field>
|
||||
<field name="domain">[('state','in',('draft','sent','cancel'))]</field>
|
||||
|
|
Loading…
Reference in New Issue