blob: ab8034c623800e21956013dab8d915f467b17286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<odoo>
<record id="view_form_realization_down_payment" model="ir.ui.view">
<field name="name">realization.down.payment.form</field>
<field name="model">realization.down.payment</field>
<field name="arch" type="xml">
<form string="Realisasi Uang Muka">
<sheet>
<h1>
<field name="title" class="oe_title"/>
</h1>
<group col="2">
<group>
<field name="pum_id" readonly="1"/>
<field name="goals" required="1"/>
<field name="related" required="1"/>
</group>
<group>
<field name="note_approval" required="1"/>
</group>
</group>
<notebook>
<page string="Rincian Pemberian">
<field name="pemberian_line_ids" nolabel="1">
<tree editable="bottom">
<field name="date"/>
<field name="description"/>
<field name="value" sum="Total Pemberian"/>
</tree>
</field>
</page>
<page string="Rincian Penggunaan">
<field name="penggunaan_line_ids" nolabel="1">
<tree editable="bottom">
<field name="date"/>
<field name="description"/>
<field name="nominal" sum="Total Penggunaan"/>
<field name="attachment"/>
</tree>
</field>
</page>
</notebook>
<group col="2">
<group class="oe_subtotal_footer oe_right">
<field name="currency_id" invisible="1"/>
<field name="grand_total" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<field name="grand_total_use" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<field name="value_down_payment" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}" style="font-weight: bold;"/>
<field name="remaining_value" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<record id="action_realization_down_payment" model="ir.actions.act_window">
<field name="name">Realisasi PUM</field>
<field name="res_model">realization.down.payment</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>
|