Browse Source

Change icon to handshake

pull/27/head
fkantelberg 5 years ago
parent
commit
fc5a08a589
  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="inherit_id" ref="privacy.activity_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<div name="button_box" position="inside"> <div name="button_box" position="inside">
<!-- TODO Change icon to fa-handshake-o in Odoo 11 -->
<button <button
attrs='{"invisible": [("consent_required", "=", False)]}' attrs='{"invisible": [("consent_required", "=", False)]}'
class="oe_stat_button" class="oe_stat_button"
context='{"search_default_activity_id": active_id}' context='{"search_default_activity_id": active_id}'
icon="fa-gavel"
icon="fa-handshake-o"
name="%(consent_action)d" name="%(consent_action)d"
type="action" type="action"
> >

3
privacy_consent/views/res_partner.xml

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

Loading…
Cancel
Save