[imp]improve the code

This commit is contained in:
Ravish (Open ERP) 2014-04-09 19:10:28 +05:30
parent 8a576d5d94
commit 31c7c33260
4 changed files with 5 additions and 13 deletions

View File

@ -119,9 +119,6 @@ Dashboard for CRM will include:
'test/crm_lead_unlink.yml',
'test/crm_lead_find_stage.yml',
],
'css': [
'static/src/css/crm.css'
],
'js': [
'static/src/js/crm_case_section.js',
],

View File

@ -155,9 +155,7 @@
<field name="inherit_id" ref="sale_team.crm_case_section_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<div name="options_active">
<h6><field name="use_leads"/><label for="use_leads" string="Leads"/></h6>
</div>
<h6><field name="use_leads"/><label for="use_leads" string="Leads"/></h6>
</xpath>
<xpath expr="//group/field[@name='active']" position="inside">
<group>

View File

@ -711,7 +711,7 @@
</xpath>
<xpath expr="//div[@class='oe_clear']" position="before">
<div class="oe_items_list">
<div class="oe_salesteams_quotations">
<div class="oe_salesteams_quotations">
<a name="%(action_quotations_salesteams)d" type="action" class="oe_sparkline_bar_link">Quotations</a>
<a name="%(action_order_report_quotation_salesteam)d" type="action" class="oe_sparkline_bar_link">
<field name="monthly_quoted" widget="sparkline_bar" options="{'delayIn': '3000'}">
@ -719,8 +719,6 @@
</field>
</a>
</div>
</div>
<div class="oe_items_list">
<div class="oe_salesteams_orders">
<a name="%(action_orders_salesteams)d" type="action">Sales Orders</a>
<a name="%(action_order_report_so_salesteam)d" type="action" class="oe_sparkline_bar_link">
@ -729,8 +727,6 @@
</field>
</a>
</div>
</div>
<div class="oe_items_list">
<div class="oe_salesteams_invoices" groups="account.group_account_invoice">
<a name="%(action_invoice_salesteams)d" type="action">Invoices</a>
<a name="%(action_account_invoice_report_salesteam)d" type="action" class="oe_sparkline_bar_link">
@ -739,7 +735,7 @@
</field>
</a>
</div>
</div>
</div>
</xpath>
<xpath expr="//div[@class='oe_clear']" position="after">
<div class="oe_center" t-if="record.invoiced_target.raw_value">

View File

@ -22,7 +22,7 @@
'name' : 'Sale Team',
'version' : '1.0',
'author' : 'OpenERP SA',
'category': 'hidden',
'category': 'hidden',
'sequence': 10,
'summary': 'Sales Team',
'description': """ """,
@ -30,6 +30,7 @@
'depends' : ['base','web_kanban','calendar'],
'data': ['sale_team.xml','sale_team_security.xml','res_config_view.xml','ir.model.access.csv'],
'demo': [],
'css': ['static/src/css/sale_team.css'],
'installable': True,
'auto_install': True,
}