1
1
<?xml version="1.0"?>
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"/>
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" />
b'\\ No newline at end of file'
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"/>
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}"/>
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"/>