Browse Source

fixup! [ADD] privacy_consent: Privacy explicit consent tracking tools

pull/11/head
Jairo Llopis 6 years ago
parent
commit
bf202c6532
  1. 4
      privacy_consent/readme/USAGE.rst
  2. 3
      privacy_consent/views/res_partner.xml

4
privacy_consent/readme/USAGE.rst

@ -4,7 +4,7 @@ New options for data processing activities:
#. Give it a name, such as *Sending mass mailings to customers*.
#. Choose one option in *Ask subjects for consent*:
#. Go to tab *Consent* and choose one option in *Ask subjects for consent*:
* *Manual* tells the activity that you will want to create and send the
consent requests manually, and only provides some helpers for you to
@ -39,7 +39,7 @@ New options for data processing activities:
*Update partner's opt out*, that syncs the acceptance status with the
partner's *Elegible for mass mailings* option.
#. Hit the button to create new consent requests.
#. Click on *Generate consent requests* link to create new consent requests.
* If you chose *Manual* mode, all missing consent request are created as
drafts, and nothing else is done now.

3
privacy_consent/views/res_partner.xml

@ -14,11 +14,12 @@
/>
<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-handshake-o"
icon="fa-gavel"
name="%(consent_action)d"
type="action"
>

Loading…
Cancel
Save