Browse Source

Merge pull request #270 from Tecnativa/11.0-fix-mail_tracking_mailgun-partner-form

[FIX] mail_trackin_mailgun: partner form
pull/280/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
0311dfda03
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mail_tracking_mailgun/__manifest__.py
  2. 4
      mail_tracking_mailgun/views/res_partner.xml

2
mail_tracking_mailgun/__manifest__.py

@ -6,7 +6,7 @@
{ {
"name": "Mail tracking for Mailgun", "name": "Mail tracking for Mailgun",
"summary": "Mail tracking and Mailgun webhooks integration", "summary": "Mail tracking and Mailgun webhooks integration",
"version": "11.0.1.0.1",
"version": "11.0.1.0.2",
"category": "Social Network", "category": "Social Network",
"website": "https://github.com/OCA/social", "website": "https://github.com/OCA/social",
"author": "Tecnativa, " "author": "Tecnativa, "

4
mail_tracking_mailgun/views/res_partner.xml

@ -13,14 +13,14 @@
<field name="email_bounced" position="after"> <field name="email_bounced" position="after">
<label for="check_email_bounced" string="Mailgun" <label for="check_email_bounced" string="Mailgun"
attrs="{'invisible': [('email', '=', False)]}"/> attrs="{'invisible': [('email', '=', False)]}"/>
<group col="3" name="mailgun_buttons" attrs="{'invisible': [('email', '=', False)]}">
<div name="mailgun_buttons" attrs="{'invisible': [('email', '=', False)]}">
<button name="check_email_bounced" type="object" string="Check Mailgun" class="oe_link"/> <button name="check_email_bounced" type="object" string="Check Mailgun" class="oe_link"/>
<button name="check_email_validity" type="object" string="Check email validity" class="oe_link"/> <button name="check_email_validity" type="object" string="Check email validity" class="oe_link"/>
<button name="force_set_bounced" type="object" string="Set Bounced" class="oe_link" <button name="force_set_bounced" type="object" string="Set Bounced" class="oe_link"
attrs="{'invisible': [('email_bounced', '=', True)]}"/> attrs="{'invisible': [('email_bounced', '=', True)]}"/>
<button name="force_unset_bounced" type="object" string="Unset Bounced" class="oe_link" <button name="force_unset_bounced" type="object" string="Unset Bounced" class="oe_link"
attrs="{'invisible': [('email_bounced', '=', False)]}"/> attrs="{'invisible': [('email_bounced', '=', False)]}"/>
</group>
</div>
</field> </field>
</field> </field>
</record> </record>

Loading…
Cancel
Save