[IMP] account_voucher: writeoff implementation
[odoo/odoo.git] / addons / account_voucher / wizard / account_voucher_unreconcile_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4     
5         <record id="view_account_voucher_unreconcile" model="ir.ui.view">
6             <field name="name">Account voucher unreconcile</field>
7             <field name="model">account.voucher.unreconcile</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10              <form string="Unreconciliation">
11                 <separator colspan="4" string="Unreconciliation transactions" />
12                 <label string="If you unreconciliate transactions, you must also verify all the actions that are linked to those transactions because they will not be disable" colspan="2"/>
13                 <separator colspan="4"/>
14                 <button special="cancel" string="Cancel" icon="gtk-cancel"/>
15                 <button name="trans_unrec" default_focus="1" string="Unreconcile" type="object" icon="gtk-ok"/>
16              </form>
17             </field>
18         </record>
19         <record model="ir.actions.act_window" id="action_view_account_voucher_unreconcile">
20             <field name="name">Unreconcile entries</field>
21             <field name="res_model">account.voucher.unreconcile</field>
22             <field name="view_type">form</field>
23             <field name="view_mode">form</field>
24             <field name="view_id" ref="view_account_voucher_unreconcile"/>
25             <field name="target">new</field>
26         </record>
27         
28 <!--    <act_window name="Unreconcile entries"            -->
29 <!--            res_model="account.voucher.unreconcile"-->
30 <!--            src_model="account.voucher"-->
31 <!--            view_mode="form"-->
32 <!--            target="new"        -->
33 <!--            key2="client_action_multi"    -->
34 <!--            id="action_view_account_voucher_unreconcile"/>-->
35      
36      </data>
37 </openerp>