small improvement
This commit is contained in:
parent
8c044023d8
commit
fd0bd4cbf7
@ -24,16 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="model_id" ref="golem_member.model_golem_member"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
partners = records.getPartners()
|
||||
presend_wizard = env['golem.mail.presend.wizard'].create({'partner_ids': [(6, 0, partners)]})
|
||||
action = {
|
||||
'type': 'ir.actions.act_window',
|
||||
'res_model': 'golem.mail.presend.wizard',
|
||||
'res_id': presend_wizard.id,
|
||||
'view_mode': 'form',
|
||||
'view_type': 'form',
|
||||
'target': 'new'
|
||||
}
|
||||
action = records.get_mass_mailing_action()
|
||||
</field>
|
||||
</record>
|
||||
<record id="ir_member_mass_mailing" model="ir.values">
|
||||
|
Loading…
Reference in New Issue
Block a user