view_config.xml
12.7 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!--Tarif Pajak-->
<record id="pdl_kab_account_tax_tree" model="ir.ui.view">
<field name="name">pdl.kab.account.tax.tree</field>
<field name="model">account.tax</field>
<field name="arch" type="xml">
<tree string="Tarif Pajak" decoration-muted="not active">
<field name="sequence" widget="handle"/>
<field name="description" string="Uraian"/>
<field name="amount_type"/>
<field name="name"/>
<!-- <field name="type_tax_use"/>-->
<!-- <field name="tax_scope"/>-->
<field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
<field name="active" widget="boolean_toggle" invisible="0"/>
</tree>
</field>
</record>
<!-- <record id="tax_repartition_line_tree" model="ir.ui.view">-->
<!-- <field name="name">account.tax.repartition.line.tree</field>-->
<!-- <field name="model">account.tax.repartition.line</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <tree editable="bottom" create="1" delete="1">-->
<!-- <field name="sequence" widget="handle"/>-->
<!-- <field name="factor_percent" attrs="{'invisible': [('repartition_type', '=', 'base')]}"/>-->
<!-- <field name="repartition_type"/>-->
<!-- <field name="account_id" attrs="{'invisible': [('repartition_type', '=', 'base')]}"-->
<!-- options="{'no_create': True}"/>-->
<!-- <field name="tag_ids" widget="many2many_tags" options="{'no_create': True}"-->
<!-- domain="[('applicability', '=', 'taxes'), ('country_id', '=', tax_fiscal_country_id)]"/>-->
<!-- <field name="use_in_tax_closing"-->
<!-- optional="hidden"-->
<!-- attrs="{'invisible': [('repartition_type', '=', 'base')]}"/>-->
<!-- <field name="tax_fiscal_country_id" invisible="1"/>-->
<!-- <field name="company_id" invisible="1"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </record>-->
<!-- <record id="account_tax_view_tree" model="ir.ui.view">-->
<!-- <field name="name">account.invoice.line.tax.search</field>-->
<!-- <field name="model">account.tax</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <tree string="Account Tax">-->
<!-- <field name="display_name" string="name"/>-->
<!-- <field name="description"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </record>-->
<!-- <record id="view_tax_kanban" model="ir.ui.view">-->
<!-- <field name="name">account.tax.kanban</field>-->
<!-- <field name="model">account.tax</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <kanban class="o_kanban_mobile">-->
<!-- <field name="name"/>-->
<!-- <field name="type_tax_use"/>-->
<!-- <field name="tax_scope"/>-->
<!-- <templates>-->
<!-- <t t-name="kanban-box">-->
<!-- <div t-attf-class="oe_kanban_card oe_kanban_global_click">-->
<!-- <div class="row mb4">-->
<!-- <div class="col-6">-->
<!-- <strong><span><t t-esc="record.name.value"/></span></strong>-->
<!-- </div>-->
<!-- <div class="col-6 text-right">-->
<!-- <span class="badge badge-pill"><t t-esc="record.type_tax_use.value"/></span>-->
<!-- <span class="badge badge-pill"><t t-esc="record.tax_scope.value"/></span>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </t>-->
<!-- </templates>-->
<!-- </kanban>-->
<!-- </field>-->
<!-- </record>-->
<!-- <record id="view_account_tax_search" model="ir.ui.view">-->
<!-- <field name="name">account.tax.search</field>-->
<!-- <field name="model">account.tax</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <search string="Search Taxes">-->
<!-- <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>-->
<!-- <field name="company_id" groups="base.group_multi_company"/>-->
<!-- <filter string="Sale" name="sale" domain="[('type_tax_use','=','sale')]" />-->
<!-- <filter string="Purchase" name="purchase" domain="[('type_tax_use','=','purchase')]" />-->
<!-- <separator/>-->
<!-- <filter string="Services" name="service" domain="[('tax_scope','=','service')]" />-->
<!-- <filter string="Goods" name="goods" domain="[('tax_scope','=','consu')]" />-->
<!-- <separator/>-->
<!-- <filter name="active" string="Active" domain="[('active','=',True)]" help="Show active taxes"/>-->
<!-- <filter name="inactive" string="Inactive" domain="[('active','=',False)]" help="Show inactive taxes"/>-->
<!-- <group string="Group By">-->
<!-- <filter string="Company" name="company" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>-->
<!-- <filter string="Tax Type" name="taxapp" domain="[]" context="{'group_by':'type_tax_use'}"/>-->
<!-- <filter string="Tax Scope" name="taxapp" domain="[]" context="{'group_by':'tax_scope'}"/>-->
<!-- </group>-->
<!-- </search>-->
<!-- </field>-->
<!-- </record>-->
<!-- <record id="account_tax_view_search" model="ir.ui.view">-->
<!-- <field name="name">account.tax.search.filters</field>-->
<!-- <field name="model">account.tax</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <search string="Search Taxes">-->
<!-- <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>-->
<!-- <field name="company_id" groups="base.group_multi_company"/>-->
<!-- </search>-->
<!-- </field>-->
<!-- </record>-->
<!-- <record id="view_tax_form" model="ir.ui.view">-->
<!-- <field name="name">account.tax.form</field>-->
<!-- <field name="model">account.tax</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <form string="Account Tax">-->
<!-- <sheet>-->
<!-- <group>-->
<!-- <group>-->
<!-- <field name="name"/>-->
<!-- <field name="amount_type"/>-->
<!-- <field name="active" widget="boolean_toggle"/>-->
<!-- </group>-->
<!-- <group>-->
<!-- <field name="type_tax_use"/>-->
<!-- <field name="tax_scope"/>-->
<!-- <label for="amount" attrs="{'invisible':[('amount_type','not in', ('fixed', 'percent', 'division'))]}"/>-->
<!-- <div attrs="{'invisible':[('amount_type','not in', ('fixed', 'percent', 'division'))]}">-->
<!-- <field name="amount" class="oe_inline"/>-->
<!-- <span class="o_form_label oe_inline" attrs="{'invisible':[('amount_type','=','fixed')]}">%</span>-->
<!-- </div>-->
<!-- </group>-->
<!-- </group>-->
<!-- <notebook>-->
<!-- <page string="Definition" name="definition">-->
<!-- <div attrs="{'invisible': [('amount_type', '=', 'group')]}">-->
<!-- <field name="tax_fiscal_country_id" invisible="1"/>-->
<!-- <field name="country_code" invisible="1"/>-->
<!-- <group string="Distribution for Invoices">-->
<!-- <field name="invoice_repartition_line_ids" nolabel="1" context="{'default_company_id': company_id}"/>-->
<!-- </group>-->
<!-- <group string="Distribution for Credit Notes">-->
<!-- <field name="refund_repartition_line_ids" nolabel="1" context="{'default_company_id': company_id}"/>-->
<!-- </group>-->
<!-- </div>-->
<!-- <field name="children_tax_ids" attrs="{'invisible':['|', ('amount_type','!=','group'), ('type_tax_use','=','none')]}" domain="[('type_tax_use','in',('none',type_tax_use)), ('amount_type','!=','group')]">-->
<!-- <tree string="Children Taxes">-->
<!-- <field name="sequence" widget="handle"/>-->
<!-- <field name="name"/>-->
<!-- <field name="amount_type"/>-->
<!-- <field name="amount"/>-->
<!-- </tree>-->
<!-- </field>-->
<!-- </page>-->
<!-- <page string="Advanced Options" name="advanced_options">-->
<!-- <group>-->
<!-- <group>-->
<!-- <field name="description" attrs="{'invisible':[('amount_type','=', 'group')]}"/>-->
<!-- <field name="tax_group_id"/>-->
<!-- <field name="analytic" attrs="{'invisible':[('amount_type','=', 'group')]}" groups="analytic.group_analytic_accounting" />-->
<!-- <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>-->
<!-- </group>-->
<!-- <group name="advanced_booleans">-->
<!-- <field name="price_include" attrs="{'invisible':[('amount_type','=', 'group')]}" />-->
<!-- <field name="include_base_amount" attrs="{'invisible':[('amount_type','=', 'group')]}" />-->
<!-- <field name="hide_tax_exigibility" invisible="1"/>-->
<!-- <field name="tax_exigibility" widget="radio" attrs="{'invisible':['|', ('amount_type','=', 'group'), ('hide_tax_exigibility', '=', False)]}" groups="account.group_account_readonly"/>-->
<!-- <field name="cash_basis_transition_account_id" options="{'no_create': True}" attrs="{'invisible': [('tax_exigibility', '=', 'on_invoice')], 'required': [('tax_exigibility', '=', 'on_payment')]}" groups="account.group_account_readonly"/>-->
<!-- </group>-->
<!-- </group>-->
<!-- </page>-->
<!-- </notebook>-->
<!-- </sheet>-->
<!-- </form>-->
<!-- </field>-->
<!-- </record>-->
<record id="action_tax_config_pdl_kab" model="ir.actions.act_window">
<field name="name">Tarif Pajak</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.tax</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="pdl_kab_account_tax_tree"/>
</record>
<!--Kategori Objek-->
<record id="action_object_category_config_pdl_kab" model="ir.actions.act_window">
<field name="name">Kategory Usaha</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.category</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>