mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-23 12:42:02 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -10,12 +10,12 @@
|
|||
type="object"
|
||||
icon="fa-star"
|
||||
class="oe_stat_button"
|
||||
attrs="{'invisible': [('state', '=', 'draft')]}">
|
||||
invisible="state == 'draft'">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<field name="use_leads" invisible="1"/>
|
||||
<span class="o_stat_value"><field nolabel="1" name="crm_lead_count"/></span>
|
||||
<span class="o_stat_text" attrs="{'invisible': [('use_leads', '=', False)]}">Leads</span>
|
||||
<span class="o_stat_text" attrs="{'invisible': [('use_leads', '=', True)]}">Opportunities</span>
|
||||
<span class="o_stat_text" invisible="not use_leads">Leads</span>
|
||||
<span class="o_stat_text" invisible="use_leads">Opportunities</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue