port bemade_helpdesk_mailcow_blacklist to 17
This commit is contained in:
parent
a2e5b24fca
commit
ae35acf87f
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<record id="helpdesk_stage_spam" model="helpdesk.stage">
|
||||
<field name="name">Spam</field>
|
||||
<field name="sequence">50</field>
|
||||
<field name="is_close">True</field>
|
||||
<field name="fold">True</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
<field name="inherit_id" ref="helpdesk.helpdesk_ticket_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<header position="inside">
|
||||
<button name="action_add_blacklist" type="object" string="Add to Blacklist" class="oe_highlight" attrs="{'invisible': [('partner_email', '=', False)]}"/>
|
||||
<field name="partner_email" invisble="1"/>
|
||||
<button name="action_add_blacklist" type="object" string="Add to Blacklist" class="oe_highlight" invisible="partner_email == False"/>
|
||||
</header>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Reference in a new issue