~serpent-consulting-services/openerp-usa/fix-shipping_api_ups_cc

« back to all changes in this revision

Viewing changes to account_voucher_credits_us/wizard/account_post_voucher.xml

  • Committer: npgllc
  • Date: 2012-08-02 17:13:27 UTC
  • Revision ID: npgllc-20120802171327-2xgyyjjb5d1kx26y
Removed all the 6.0 compatible modules

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
 
          <!--  Account post voucher Form -->
5
 
          
6
 
        <record id="account_voucher_post_view" model="ir.ui.view">
7
 
             <field name="name">account.post.voucher.form</field>
8
 
             <field name="model">account.post.voucher</field>
9
 
             <field name="type">form</field>
10
 
             <field name="arch" type="xml">
11
 
                                <form string="Post Voucher">
12
 
                                        <group colspan="2" col="4">
13
 
                                                <field name="total_paid" readonly="True"/>
14
 
                                                <field name="total_allocated" readonly="True"/>
15
 
                                                <field name="ok_to_go" invisible="True" on_change="onchange_ok_to_go(ok_to_go)"/>
16
 
                                        </group>
17
 
                                        <group height="100" width="320">
18
 
                                                <separator string="Confirm Amounts?"/>
19
 
                                                <newline/>
20
 
                                                <group  colspan="2" col="4">
21
 
                                                        <button special="cancel" string="Cancel" icon="gtk-cancel"/>
22
 
                                                        <button name="launch_wizard" string="Yes" type="object" attrs="{'invisible':[('ok_to_go', '>', 0.0)]}" icon="gtk-ok" default_focus="1"/>
23
 
                                                </group>
24
 
                                        </group>
25
 
                                </form>
26
 
                        </field>
27
 
                </record>
28
 
 
29
 
        <record id="action_proforma_voucher" model="ir.actions.act_window">
30
 
            <field name="name">Post Voucher</field>
31
 
            <field name="type">ir.actions.act_window</field>
32
 
            <field name="res_model">account.post.voucher</field>
33
 
            <field name="view_type">form</field>
34
 
            <field name="view_mode">form</field>
35
 
                        <field name="view_id" ref="account_voucher_post_view"/>
36
 
            <field name="target">new</field>
37
 
        </record>
38
 
 
39
 
        </data>
40
 
</openerp>