diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/event_crm/views/event_registration_views.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/event_crm/views/event_registration_views.xml')
| -rw-r--r-- | addons/event_crm/views/event_registration_views.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/event_crm/views/event_registration_views.xml b/addons/event_crm/views/event_registration_views.xml new file mode 100644 index 00000000..d9eda622 --- /dev/null +++ b/addons/event_crm/views/event_registration_views.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<odoo> + <record id="event_registration_view_form" model="ir.ui.view"> + <field name="name">event.registration.form.inherit.event.crm</field> + <field name="model">event.registration</field> + <field name="inherit_id" ref="event.view_event_registration_form"/> + <field name="arch" type="xml"> + <xpath expr="//div[@name='button_box']" position="inside"> + <button name="%(crm_lead_action_from_registration)d" class="oe_stat_button" type="action" icon="fa-star" + attrs="{'invisible': [('lead_count', '=' , 0)]}" groups="sales_team.group_sale_salesman"> + <div class="o_stat_info"> + <field name="lead_count"/> + <span class="o_stat_text"> Leads</span> + </div> + </button> + </xpath> + </field> + </record> +</odoo> |
