This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
partner_ledger_view.xml
71 lines (65 loc) · 2.96 KB
/
partner_ledger_view.xml
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
70
71
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="wizard_partner_ledger" model="ir.ui.view">
<field name="name">wizard.partner.ledger</field>
<field name="model">wizard.partner.ledger</field>
<field name="arch" type="xml">
<form string="Print Partner Ledger" version="7.0">
<group>
<field name="from_date"/>
<field name="to_date"/>
<field name="partner_id"
on_change="onchange_partner_id(partner_id)"/>
<field name="customer"/>
<field name="supplier"/>
<newline/>
<field name="vertical"/>
<newline/>
<field name="export_csv"/>
</group>
<footer>
<button string="Start" name="check_data" type="object" class="oe_highlight" colspan="2"/>
o
<button string="Cancel" special="cancel" class="oe_link"/>
</footer>
</form>
</field>
</record>
<act_window id="act_partner_ledger"
key2="client_action_multi"
name="Print Partner Ledger"
res_model="wizard.partner.ledger"
src_model="wizard.partner.ledger"
view_id="wizard_partner_ledger"
view_mode="form" target="new" view_type="form" />
<menuitem action="act_partner_ledger"
id="menu_jasper_partner_ledger"
parent="account.menu_finance_generic_reporting"/>
<!-- EXPORT CSV VIEW -->
<record id="wizard_make_csv_partner_ledger" model="ir.ui.view">
<field name="name">make_csv_partner_ledger</field>
<field name="model">make_csv_partner_ledger</field>
<field name="arch" type="xml">
<form string="Export CSV" version="7.0">
<group>
<field name="state" invisible="1"/>
<field name="data" readonly="1" filename="file_name"/>
<field name="file_name" invisible="1"/>
</group>
<footer>
<button string="Export" name="makecsvpartnerledger" type="object" class="oe_highlight" colspan="2"/>
<button special="cancel" string="Chiudi" type="object"/>
</footer>
</form>
</field>
</record>
<act_window id="act_export_partner_ledger"
key2="client_action_multi"
name="Export Partner Ledger"
res_model="make_csv_partner_ledger"
src_model="make_csv_partner_ledger"
view_id="wizard_make_csv_partner_ledger"
view_mode="form" target="new" view_type="form" />
</data>
</openerp>