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
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record id="mailing_list_view_form" model="ir.ui.view">
|
||||
<field name="name">Add sync stuff</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">
|
||||
<xpath expr="//div[hasclass('oe_title')]" position="after">
|
||||
<group name="dynamic" string="Dynamic list">
|
||||
<group colspan="4">
|
||||
<field
|
||||
name="dynamic"
|
||||
/>
|
||||
<field name="is_synced" invisible="1"/>
|
||||
<field name="dynamic" />
|
||||
<field name="is_synced" invisible="1" />
|
||||
</group>
|
||||
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||
<label for="sync_method"/>
|
||||
<label for="sync_method" />
|
||||
<div>
|
||||
<field
|
||||
name="sync_method"
|
||||
/>
|
||||
<field name="sync_method" />
|
||||
<button
|
||||
name="action_sync"
|
||||
type="object"
|
||||
|
@ -41,21 +36,19 @@
|
|||
</div>
|
||||
</group>
|
||||
<group attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||
<div
|
||||
class="alert alert-info"
|
||||
role="alert"
|
||||
>
|
||||
<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>.
|
||||
<div class="alert alert-info" role="alert">
|
||||
<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>.
|
||||
</div>
|
||||
<div
|
||||
class="alert alert-warning"
|
||||
role="alert"
|
||||
>
|
||||
<i class="fa fa-info-circle"/> You cannot make manual editions of contacts in fully synchronized lists.
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<i
|
||||
class="fa fa-info-circle"
|
||||
/> You cannot make manual editions of contacts in fully synchronized lists.
|
||||
</div>
|
||||
</group>
|
||||
<group colspan="4"
|
||||
attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||
<group colspan="4" attrs="{'invisible': [('dynamic', '=', False)]}">
|
||||
<field
|
||||
name="sync_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
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record id="view_mailing_load_filter_form" model="ir.ui.view">
|
||||
|
@ -9,26 +8,22 @@
|
|||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<group>
|
||||
<field name="filter_id"/>
|
||||
<field name="filter_id" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="load_filter"
|
||||
string="Load filter"
|
||||
type="object"
|
||||
/>
|
||||
<button special="cancel"
|
||||
string="Cancel"
|
||||
/>
|
||||
<button name="load_filter" string="Load filter" type="object" />
|
||||
<button special="cancel" string="Cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<act_window id="action_mailing_load_filter"
|
||||
name="Load filter"
|
||||
res_model="mailing.load.filter"
|
||||
target="new"
|
||||
view_mode="form"
|
||||
<act_window
|
||||
id="action_mailing_load_filter"
|
||||
name="Load filter"
|
||||
res_model="mailing.load.filter"
|
||||
target="new"
|
||||
view_mode="form"
|
||||
/>
|
||||
</odoo>
|
||||
|
|
Loading…
Reference in New Issue