~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-fixed-asset

« back to all changes in this revision

Viewing changes to ar_account/wizard/wizard_batch_change_account.xml

  • Committer: Andhitia Rama
  • Date: 2014-06-21 13:04:25 UTC
  • Revision ID: andhitia.r@gmail.com-20140621130425-ukwsxae8u9jslmt4
Penambahan Wizard Batch Change Account

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>  
 
4
 
 
5
        <record id="form_account_wizardBatchChangeAccount" model="ir.ui.view">
 
6
            <field name="name">Wizard Form Batch Change Account</field>
 
7
            <field name="model">account.wizard_batch_change_account</field>
 
8
            <field name="arch" type="xml">
 
9
                <form string="Batch Change Account" version="7.0">
 
10
                    <group col="3" colspan="4">
 
11
                        <field name="flag_currency_id"/>
 
12
                        <field name="currency_id" nolabel="1"/>
 
13
                        <field name="flag_account_type_id"/>
 
14
                        <field name="account_type_id" nolabel="1"/>
 
15
                                        </group>
 
16
                                        <footer>
 
17
                                            <button name="execute_wizard" string="Change" colspan="1" type="object" class="oe_highlight"/>                                      
 
18
                                            or
 
19
                            <button special="cancel" string="Cancel" class="oe_link"/>
 
20
                                        </footer>
 
21
                </form>
 
22
            </field>
 
23
        </record>
 
24
        
 
25
        <record id="action_account_wizardBatchChangeAccount" model="ir.actions.act_window">
 
26
            <field name="name">Batch Change Account</field>
 
27
            <field name="type">ir.actions.act_window</field>
 
28
            <field name="res_model">account.wizard_batch_change_account</field>
 
29
            <field name="view_type">form</field>
 
30
            <field name="view_mode">form</field>
 
31
            <field name="view_id" ref="form_account_wizardBatchChangeAccount"/>
 
32
            <field name="target">new</field>
 
33
            <field name="multi">True</field>
 
34
        </record>          
 
35
 
 
36
        <record id="waction_account_wizardBatchChangeAccount" model="ir.values">
 
37
            <field name="model_id" ref="account.model_account_account" />
 
38
            <field name="name">Batch Change Account</field>
 
39
            <field name="key2">client_action_multi</field>
 
40
            <field name="value" eval="'ir.actions.act_window,' + str(ref('action_account_wizardBatchChangeAccount'))" />
 
41
            <field name="key">action</field>
 
42
            <field name="model">account.account</field>
 
43
        </record>
 
44
        
 
45
    </data>
 
46
</openerp>