mirror of https://github.com/OCA/social.git
[IMP] pre-commit run -a
parent
5a122e3d7e
commit
3ae8b8f2a2
|
@ -1,28 +1,23 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!-- Copyright 2017 Tecnativa - Jairo Llopis
|
<!-- Copyright 2017 Tecnativa - Jairo Llopis
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="mailing_list_view_form" model="ir.ui.view">
|
<record id="mailing_list_view_form" model="ir.ui.view">
|
||||||
<field name="name">Add sync stuff</field>
|
<field name="name">Add sync stuff</field>
|
||||||
<field name="model">mailing.list</field>
|
<field name="model">mailing.list</field>
|
||||||
<field name="inherit_id" ref="mass_mailing.mailing_list_view_form"/>
|
<field name="inherit_id" ref="mass_mailing.mailing_list_view_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[hasclass('oe_title')]" position="after">
|
<xpath expr="//div[hasclass('oe_title')]" position="after">
|
||||||
<group name="dynamic" string="Dynamic list">
|
<group name="dynamic" string="Dynamic list">
|
||||||
<group colspan="4">
|
<group colspan="4">
|
||||||
<field
|
<field name="dynamic" />
|
||||||
name="dynamic"
|
<field name="is_synced" invisible="1" />
|
||||||
/>
|
|
||||||
<field name="is_synced" invisible="1"/>
|
|
||||||
</group>
|
</group>
|
||||||
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||||
<label for="sync_method"/>
|
<label for="sync_method" />
|
||||||
<div>
|
<div>
|
||||||
<field
|
<field name="sync_method" />
|
||||||
name="sync_method"
|
|
||||||
/>
|
|
||||||
<button
|
<button
|
||||||
name="action_sync"
|
name="action_sync"
|
||||||
type="object"
|
type="object"
|
||||||
|
@ -41,21 +36,19 @@
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||||
<div
|
<div class="alert alert-info" role="alert">
|
||||||
class="alert alert-info"
|
<i
|
||||||
role="alert"
|
class="fa fa-info-circle"
|
||||||
>
|
/> If you want to remove contacts from a dynamic list, just <b
|
||||||
<i class="fa fa-info-circle"/> If you want to remove contacts from a dynamic list, just <b>set them as <i>Opt Out</i></b>.
|
>set them as <i>Opt Out</i></b>.
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="alert alert-warning" role="alert">
|
||||||
class="alert alert-warning"
|
<i
|
||||||
role="alert"
|
class="fa fa-info-circle"
|
||||||
>
|
/> You cannot make manual editions of contacts in fully synchronized lists.
|
||||||
<i class="fa fa-info-circle"/> You cannot make manual editions of contacts in fully synchronized lists.
|
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
<group colspan="4"
|
<group colspan="4" attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||||
attrs="{'invisible': [('dynamic', '=', False)]}">
|
|
||||||
<field
|
<field
|
||||||
name="sync_domain"
|
name="sync_domain"
|
||||||
widget="domain"
|
widget="domain"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!-- Copyright 2017 Tecnativa - Pedro M. Baea
|
<!-- Copyright 2017 Tecnativa - Pedro M. Baea
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="view_mailing_load_filter_form" model="ir.ui.view">
|
<record id="view_mailing_load_filter_form" model="ir.ui.view">
|
||||||
|
@ -9,23 +8,19 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form>
|
<form>
|
||||||
<group>
|
<group>
|
||||||
<field name="filter_id"/>
|
<field name="filter_id" />
|
||||||
</group>
|
</group>
|
||||||
<footer>
|
<footer>
|
||||||
<button name="load_filter"
|
<button name="load_filter" string="Load filter" type="object" />
|
||||||
string="Load filter"
|
<button special="cancel" string="Cancel" />
|
||||||
type="object"
|
|
||||||
/>
|
|
||||||
<button special="cancel"
|
|
||||||
string="Cancel"
|
|
||||||
/>
|
|
||||||
</footer>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
<act_window id="action_mailing_load_filter"
|
<act_window
|
||||||
|
id="action_mailing_load_filter"
|
||||||
name="Load filter"
|
name="Load filter"
|
||||||
res_model="mailing.load.filter"
|
res_model="mailing.load.filter"
|
||||||
target="new"
|
target="new"
|
||||||
|
|
Loading…
Reference in New Issue