~unifield-team/unifield-wm/us-671-homere

« back to all changes in this revision

Viewing changes to funding_pool/wizard/wizard_free2_distribution_view.xml

UF-338 [MERGE] Accounting Corrections

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
2
<openerp>
3
 
      <data>
4
 
            <record model="ir.ui.view" id="wizard_free2_distribution_form1">
5
 
                  <field name='name'>wizard.free2.distribution.form1</field>
6
 
                  <field name='model'>wizard.free2.distribution</field>
7
 
                  <field name='type'>form</field>
8
 
                  <field name='arch' type='xml'>
9
 
                        <form string="Free Allocation 2">
10
 
                            <field colspan="2" name="total_amount" readonly="1"/>
11
 
                            <field colspan="2" name="entry_mode"/>
12
 
                            <separator colspan="4" string="Allocation"/>
13
 
                            <field colspan="4" name="distribution_id" invisible="1"/>
14
 
                                    <field colspan="4" name="wizard_distribution_lines" nolabel="1" widget="one2many_list">
15
 
                                        <tree string="" editable="top">
16
 
                                            <field name="analytic_id"/>
17
 
                                            <field name="percentage" sum="Total Percentage"/>
18
 
                                            <field name="amount" sum="Total Amount"/>
19
 
                                        </tree>
20
 
                                    </field>
21
 
                            <group colspan="4">
22
 
                                <button name="button_previous_step" string="Previous" type="object" icon="gtk-apply" colspan="2" />
23
 
                                <button name="button_save" string="Save" type="object" icon="gtk-apply" colspan="1" />
24
 
                                <button string='Cancel' special='cancel' icon='gtk-cancel' colspan="1" />
25
 
                            </group>
26
 
                        </form>
27
 
                  </field>
28
 
            </record>
29
 
                
30
 
       </data>
31
 
</openerp> 
 
 
b'\\ No newline at end of file'
 
3
    <data>
 
4
        <record model="ir.ui.view" id="free2_distribution_line_tree_editable">
 
5
            <field name="name">free2.distribution.line.tree.editable"</field>
 
6
            <field name="model">wizard.free2.distribution.line</field>
 
7
            <field name="type">tree</field>
 
8
            <field name="arch" type='xml'>
 
9
                <tree string="" editable="top">
 
10
                    <field name="analytic_id"/>
 
11
                    <field name="percentage" sum="Total Percentage"/>
 
12
                    <field name="amount" sum="Total Amount"/>
 
13
                </tree>
 
14
            </field>
 
15
        </record>
 
16
 
 
17
        <record model="ir.ui.view" id="wizard_free2_distribution_form1">
 
18
              <field name='name'>wizard.free2.distribution.form1</field>
 
19
              <field name='model'>wizard.free2.distribution</field>
 
20
              <field name='type'>form</field>
 
21
              <field name='arch' type='xml'>
 
22
                    <form string="Free Allocation 2">
 
23
                        <field colspan="2" name="total_amount" readonly="1"/>
 
24
                        <field colspan="2" name="entry_mode"/>
 
25
                        <separator colspan="4" string="Allocation"/>
 
26
                        <field colspan="4" name="distribution_id" invisible="1"/>
 
27
                        <field colspan="4" name="wizard_distribution_lines" nolabel="1" widget="one2many_list" context="{'mode': entry_mode}"/>
 
28
                        <group colspan="6">
 
29
                            <button name="button_cancel" string='Cancel' type='object' icon='gtk-cancel' colspan="1"/>
 
30
                            <button name="button_previous_step" string="Previous" type="object" icon="gtk-go-back" colspan="1"/>
 
31
                            <label string="" colspan="1"/>
 
32
                            <button name="button_save" string="Save" type="object" icon="gtk-ok" colspan="1"/>
 
33
                            <label string="" colspan="1"/>
 
34
                        </group>
 
35
                    </form>
 
36
              </field>
 
37
        </record>
 
38
    </data>
 
39
</openerp>