fkantelberg
6 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 59564BF1E22F314F
2 changed files with
2 additions and
4 deletions
-
privacy_consent/views/privacy_activity.xml
-
privacy_consent/views/res_partner.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" |
|
|
|
> |
|
|
|
|
|
@ -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" |
|
|
|
> |
|
|
|