<odoo>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="opendons.template_rf_form" >
|
|
<field name="name">opendons_template_rf Form</field>
|
|
<field name="model">opendons.template_rf</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<header>
|
|
<!-- <button name="action_update_receipts" type="object" string="Update receipts" class="oe_highlight" confirm="Voulez-vous modifier les RF liés à ce template ?"/> -->
|
|
</header>
|
|
<sheet>
|
|
<group name="main">
|
|
<field name="name"/>
|
|
<field name="description"/>
|
|
<field name="active"/>
|
|
<field name="html_content"/>
|
|
|
|
</group>
|
|
|
|
</sheet>
|
|
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="template_rf_action">
|
|
<field name="name">Receipts letters Templates </field>
|
|
<field name="res_model">opendons.template_rf</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
id="opendons_template_rf"
|
|
action="template_rf_action"
|
|
parent="donation.donation_config_menu"
|
|
sequence="30"
|
|
/>
|
|
|
|
</odoo>
|