mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<openerp>
|
|
<data>
|
|
|
|
<record id="credit_line_emailer_form" model="ir.ui.view">
|
|
<field name="name">credit.line.emailer.form</field>
|
|
<field name="model">credit.control.emailer</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<separator string="Send emails for the selected lines" colspan="4"/>
|
|
<newline/>
|
|
<field name="line_ids" colspan="4" nolabel="1" />
|
|
<newline/>
|
|
<group colspan="4">
|
|
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
|
<button name="email_lines" string="Send the emails" type="object" icon="gtk-execute"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- for menu -->
|
|
<act_window name="Send By Email"
|
|
res_model="credit.control.emailer"
|
|
src_model="credit.control.line"
|
|
view_mode="form"
|
|
target="new"
|
|
key2="client_action_multi"
|
|
id="open_credit_line_emailer_wizard_menu_action"/>
|
|
|
|
<!-- for button -->
|
|
<record id="open_credit_line_emailer_wizard" model="ir.actions.act_window">
|
|
<field name="name">Send By Email</field>
|
|
<field name="res_model">credit.control.emailer</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="credit_line_emailer_form"/>
|
|
<field name="target">new</field>
|
|
<field name="help">Send an email for the selected lines.</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</openerp>
|