mirror of https://github.com/OCA/social.git
[IMP] pre-commit run -a
parent
3631c58e2e
commit
3778827070
|
@ -1,27 +1,30 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="view_mail_mass_mailing_form">
|
<record model="ir.ui.view" id="view_mail_mass_mailing_form">
|
||||||
<field name="name">Add event and exclude</field>
|
<field name="name">Add event and exclude</field>
|
||||||
<field name="model">mailing.mailing</field>
|
<field name="model">mailing.mailing</field>
|
||||||
<field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_form"/>
|
<field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="mailing_domain" position="attributes">
|
<field name="mailing_domain" position="attributes">
|
||||||
<attribute name="context">{'search_default_not_opt_out': 1, 'exclude_mass_mailing': active_id}</attribute>
|
<attribute
|
||||||
|
name="context"
|
||||||
|
>{'search_default_not_opt_out': 1, 'exclude_mass_mailing': active_id}</attribute>
|
||||||
</field>
|
</field>
|
||||||
<notebook position="before">
|
<notebook position="before">
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="event_id"/>
|
<field name="event_id" />
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<field name="exclude_event_state_ids"
|
<field
|
||||||
widget="many2many_tags"
|
name="exclude_event_state_ids"
|
||||||
options="{'no_create_edit': True}"
|
widget="many2many_tags"
|
||||||
attrs="{'invisible': [('event_id', '=', False)]}"/>
|
options="{'no_create_edit': True}"
|
||||||
|
attrs="{'invisible': [('event_id', '=', False)]}"
|
||||||
|
/>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
</notebook>
|
</notebook>
|
||||||
|
|
Loading…
Reference in New Issue