|
|
@ -28,9 +28,11 @@ |
|
|
|
<field name="model">res.users</field> |
|
|
|
<field name="inherit_id" ref="base.view_users_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<xpath expr="//page[@name='access_rights']//group" position="after"> |
|
|
|
<group string="CRM dashboard" > |
|
|
|
<field name="sales" widget="monetary" options="{'no_create': True}"/> |
|
|
|
<xpath expr="//page[@name='access_rights']//group" |
|
|
|
position="after"> |
|
|
|
<group string="CRM dashboard"> |
|
|
|
<field name="sales" widget="monetary" |
|
|
|
options="{'no_create': True}"/> |
|
|
|
</group> |
|
|
|
</xpath> |
|
|
|
</field> |
|
|
@ -47,15 +49,17 @@ |
|
|
|
<field name="inherit_id" ref="utm.utm_campaign_view_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<div name="button_box" position="inside"> |
|
|
|
<button class="oe_stat_button" type="object" name="get_ratio" icon="fa-percent"> |
|
|
|
<field string="Ratio" name="total_ratio" widget="statinfo"/> |
|
|
|
<button class="oe_stat_button" type="object" |
|
|
|
name="get_ratio" icon="fa-percent"> |
|
|
|
<field string="Ratio" name="total_ratio" |
|
|
|
widget="statinfo"/> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<menuitem name="Dashboard" id="menu_crm_dashboard_new" parent="crm.crm_menu_root" |
|
|
|
<menuitem name="Dashboard" id="menu_crm_dashboard_new" |
|
|
|
parent="crm.crm_menu_root" |
|
|
|
sequence="0" action="action_crm_lead_all_dashboard"/> |
|
|
|
<menuitem id="crm.crm_menu_root" action="action_crm_lead_all_dashboard"/> |
|
|
|
|
|
|
|
</data> |
|
|
|
</odoo> |