Browse Source

Change icon to handshake

pull/44/head
fkantelberg 5 years ago
committed by Mustufa Kantawala
parent
commit
d4aa5d5f54
  1. 3
      privacy_consent/views/privacy_activity.xml
  2. 3
      privacy_consent/views/res_partner.xml

3
privacy_consent/views/privacy_activity.xml

@ -10,12 +10,11 @@
<field name="inherit_id" ref="privacy.activity_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<!-- TODO Change icon to fa-handshake-o in Odoo 11 -->
<button
attrs='{"invisible": [("consent_required", "=", False)]}'
class="oe_stat_button"
context='{"search_default_activity_id": active_id}'
icon="fa-gavel"
icon="fa-handshake-o"
name="%(consent_action)d"
type="action"
>

3
privacy_consent/views/res_partner.xml

@ -14,12 +14,11 @@
/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<!-- TODO Change icon to fa-handshake-o in Odoo 11 -->
<button
attrs='{"invisible": [("privacy_consent_count", "=", 0)]}'
class="oe_stat_button"
context='{"search_default_partner_id": active_id}'
icon="fa-gavel"
icon="fa-handshake-o"
name="%(consent_action)d"
type="action"
>

Loading…
Cancel
Save