odoo-addon-l10n-br-fiscal 16.0.12.2.0__py3-none-any.whl → 17.0.1.0.0.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of odoo-addon-l10n-br-fiscal might be problematic. Click here for more details.
- odoo/addons/l10n_br_fiscal/README.rst +10 -10
- odoo/addons/l10n_br_fiscal/__init__.py +2 -3
- odoo/addons/l10n_br_fiscal/__manifest__.py +3 -3
- odoo/addons/l10n_br_fiscal/data/product_data.xml +2 -2
- odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot +59 -480
- odoo/addons/l10n_br_fiscal/models/comment.py +20 -18
- odoo/addons/l10n_br_fiscal/models/data_abstract.py +11 -12
- odoo/addons/l10n_br_fiscal/models/document.py +2 -4
- odoo/addons/l10n_br_fiscal/models/document_serie.py +4 -2
- odoo/addons/l10n_br_fiscal/models/invalidate_number.py +0 -6
- odoo/addons/l10n_br_fiscal/models/operation.py +0 -11
- odoo/addons/l10n_br_fiscal/models/tax_definition.py +2 -35
- odoo/addons/l10n_br_fiscal/static/description/index.html +8 -8
- odoo/addons/l10n_br_fiscal/tests/test_cnae.py +2 -3
- odoo/addons/l10n_br_fiscal/tests/test_document_edition.py +9 -31
- odoo/addons/l10n_br_fiscal/tests/test_service_type.py +2 -3
- odoo/addons/l10n_br_fiscal/views/cest_view.xml +4 -6
- odoo/addons/l10n_br_fiscal/views/cfop_view.xml +3 -5
- odoo/addons/l10n_br_fiscal/views/city_taxation_code.xml +1 -4
- odoo/addons/l10n_br_fiscal/views/cnae_view.xml +2 -5
- odoo/addons/l10n_br_fiscal/views/comment_view.xml +2 -4
- odoo/addons/l10n_br_fiscal/views/cst_view.xml +6 -8
- odoo/addons/l10n_br_fiscal/views/document_line_mixin_view.xml +1091 -0
- odoo/addons/l10n_br_fiscal/views/document_line_view.xml +102 -89
- odoo/addons/l10n_br_fiscal/views/document_related_view.xml +58 -56
- odoo/addons/l10n_br_fiscal/views/document_serie_view.xml +3 -7
- odoo/addons/l10n_br_fiscal/views/document_type_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/document_view.xml +306 -290
- odoo/addons/l10n_br_fiscal/views/icms_regulation_view.xml +14 -16
- odoo/addons/l10n_br_fiscal/views/icms_relief_view.xml +8 -10
- odoo/addons/l10n_br_fiscal/views/invalidate_number_view.xml +47 -49
- odoo/addons/l10n_br_fiscal/views/l10n_br_fiscal_action.xml +133 -246
- odoo/addons/l10n_br_fiscal/views/l10n_br_fiscal_menu.xml +2 -65
- odoo/addons/l10n_br_fiscal/views/legal_nature_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/nbm_view.xml +7 -8
- odoo/addons/l10n_br_fiscal/views/nbs_view.xml +6 -7
- odoo/addons/l10n_br_fiscal/views/ncm_view.xml +15 -18
- odoo/addons/l10n_br_fiscal/views/operation_dashboard_view.xml +37 -27
- odoo/addons/l10n_br_fiscal/views/operation_line_view.xml +21 -23
- odoo/addons/l10n_br_fiscal/views/operation_view.xml +42 -22
- odoo/addons/l10n_br_fiscal/views/partner_profile_view.xml +6 -12
- odoo/addons/l10n_br_fiscal/views/product_genre_view.xml +9 -11
- odoo/addons/l10n_br_fiscal/views/product_product_view.xml +18 -23
- odoo/addons/l10n_br_fiscal/views/product_template_view.xml +17 -16
- odoo/addons/l10n_br_fiscal/views/res_company_view.xml +51 -50
- odoo/addons/l10n_br_fiscal/views/res_config_settings_view.xml +45 -111
- odoo/addons/l10n_br_fiscal/views/res_partner_view.xml +3 -5
- odoo/addons/l10n_br_fiscal/views/service_type_view.xml +9 -11
- odoo/addons/l10n_br_fiscal/views/simplified_tax_range_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/simplified_tax_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/tax_definition_view.xml +201 -142
- odoo/addons/l10n_br_fiscal/views/tax_estimate_view.xml +2 -4
- odoo/addons/l10n_br_fiscal/views/tax_group_view.xml +7 -10
- odoo/addons/l10n_br_fiscal/views/tax_ipi_control_seal_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/tax_ipi_guideline_class_view.xml +0 -2
- odoo/addons/l10n_br_fiscal/views/tax_ipi_guideline_view.xml +2 -4
- odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_base_view.xml +2 -4
- odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_credit_view.xml +2 -4
- odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_view.xml +5 -7
- odoo/addons/l10n_br_fiscal/views/tax_view.xml +17 -21
- odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py +1 -1
- odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml +2 -8
- {odoo_addon_l10n_br_fiscal-16.0.12.2.0.dist-info → odoo_addon_l10n_br_fiscal-17.0.1.0.0.11.dist-info}/METADATA +15 -15
- {odoo_addon_l10n_br_fiscal-16.0.12.2.0.dist-info → odoo_addon_l10n_br_fiscal-17.0.1.0.0.11.dist-info}/RECORD +66 -71
- odoo/addons/l10n_br_fiscal/migrations/16.0.2.0.0/pre-migration.py +0 -25
- odoo/addons/l10n_br_fiscal/migrations/16.0.2.15.0/pre-migration.py +0 -19
- odoo/addons/l10n_br_fiscal/migrations/16.0.4.0.0/pre-migration.py +0 -220
- odoo/addons/l10n_br_fiscal/migrations/16.0.5.0.0/pre-migration.py +0 -33
- odoo/addons/l10n_br_fiscal/migrations/16.0.5.2.0/pre-migration.py +0 -21
- odoo/addons/l10n_br_fiscal/views/document_fiscal_line_mixin_view.xml +0 -1026
- {odoo_addon_l10n_br_fiscal-16.0.12.2.0.dist-info → odoo_addon_l10n_br_fiscal-17.0.1.0.0.11.dist-info}/WHEEL +0 -0
- {odoo_addon_l10n_br_fiscal-16.0.12.2.0.dist-info → odoo_addon_l10n_br_fiscal-17.0.1.0.0.11.dist-info}/top_level.txt +0 -0
|
@@ -1,74 +1,81 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<odoo>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<filter
|
|
3
|
+
<record id="document_search" model="ir.ui.view">
|
|
4
|
+
<field name="name">l10n_br_fiscal.document.search</field>
|
|
5
|
+
<field name="model">l10n_br_fiscal.document</field>
|
|
6
|
+
<field name="arch" type="xml">
|
|
7
|
+
<search string="Fiscal Document">
|
|
8
|
+
<field name="document_number" />
|
|
9
|
+
<field name="partner_id" />
|
|
10
|
+
<field name="document_type_id" />
|
|
11
|
+
<filter
|
|
13
12
|
name="draft"
|
|
14
13
|
string="Draft"
|
|
15
14
|
domain="[('state_edoc','=','em_digitacao')]"
|
|
16
15
|
/>
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
<filter
|
|
17
|
+
name="send"
|
|
18
|
+
string="To Send"
|
|
19
|
+
domain="[('state_edoc','=','a_enviar')]"
|
|
20
|
+
/>
|
|
21
|
+
<filter
|
|
19
22
|
name="rejected"
|
|
20
23
|
string="Rejected"
|
|
21
24
|
domain="[('state_edoc','=','rejeitada')]"
|
|
22
25
|
/>
|
|
23
|
-
|
|
26
|
+
<filter
|
|
24
27
|
name="cancel"
|
|
25
28
|
string="Cancelled"
|
|
26
29
|
domain="[('state_edoc','=','cancelada')]"
|
|
27
30
|
/>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
<separator />
|
|
32
|
+
<filter
|
|
33
|
+
name="document_date"
|
|
34
|
+
string="Document Date"
|
|
35
|
+
date="document_date"
|
|
36
|
+
/>
|
|
37
|
+
<filter name="date_in_out" string="Date In/Out" date="date_in_out" />
|
|
38
|
+
<group expand="0" string="Group By...">
|
|
39
|
+
<filter
|
|
33
40
|
string="Month"
|
|
34
41
|
name="date_in_out"
|
|
35
42
|
domain="[]"
|
|
36
43
|
context="{'group_by' : 'date_in_out'}"
|
|
37
44
|
/>
|
|
38
|
-
|
|
45
|
+
<filter
|
|
39
46
|
string="Document Type"
|
|
40
47
|
name="document_type_id"
|
|
41
48
|
domain="[]"
|
|
42
49
|
context="{'group_by' : 'document_type_id'}"
|
|
43
50
|
/>
|
|
44
|
-
|
|
51
|
+
<filter
|
|
45
52
|
string="Situation"
|
|
46
53
|
name="state_edoc"
|
|
47
54
|
domain="[]"
|
|
48
55
|
context="{'group_by' : 'state_edoc'}"
|
|
49
56
|
/>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
</group>
|
|
58
|
+
</search>
|
|
59
|
+
</field>
|
|
60
|
+
</record>
|
|
54
61
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
<record id="document_tree" model="ir.ui.view">
|
|
63
|
+
<field name="name">l10n_br_fiscal.document.tree</field>
|
|
64
|
+
<field name="model">l10n_br_fiscal.document</field>
|
|
65
|
+
<field name="arch" type="xml">
|
|
66
|
+
<tree>
|
|
67
|
+
<field name="company_id" groups="base.group_multi_company" />
|
|
68
|
+
<field name="document_type" />
|
|
69
|
+
<field name="document_serie" />
|
|
70
|
+
<field name="document_number" />
|
|
71
|
+
<field name="document_date" />
|
|
72
|
+
<field name="fiscal_operation_id" />
|
|
73
|
+
<field name="partner_id" />
|
|
74
|
+
<field name="amount_untaxed" />
|
|
75
|
+
<field name="amount_tax" />
|
|
76
|
+
<field name="amount_total" />
|
|
77
|
+
<field name="state" column_invisible="True" />
|
|
78
|
+
<field
|
|
72
79
|
name="state_edoc"
|
|
73
80
|
widget="badge"
|
|
74
81
|
decoration-success="state_edoc == 'autorizada'"
|
|
@@ -77,354 +84,363 @@
|
|
|
77
84
|
decoration-danger="state_edoc == 'rejeitada'"
|
|
78
85
|
optional="show"
|
|
79
86
|
/>
|
|
87
|
+
<field name="state_fiscal" />
|
|
88
|
+
</tree>
|
|
89
|
+
</field>
|
|
90
|
+
</record>
|
|
80
91
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<field name="document_electronic" invisible="1" />
|
|
94
|
-
<field name="fiscal_operation_type" invisible="1" />
|
|
95
|
-
<field name="document_type" invisible="1" />
|
|
96
|
-
<header>
|
|
97
|
-
<!-- Please use state_edoc and attrs to maintain compatibility with invoice -->
|
|
98
|
-
<button
|
|
92
|
+
<record id="document_form" model="ir.ui.view">
|
|
93
|
+
<field name="name">l10n_br_fiscal.document.form</field>
|
|
94
|
+
<field name="model">l10n_br_fiscal.document</field>
|
|
95
|
+
<field name="arch" type="xml">
|
|
96
|
+
<form string="Fiscal Document">
|
|
97
|
+
<field name="id" invisible="1" />
|
|
98
|
+
<field name="currency_id" invisible="1" />
|
|
99
|
+
<field name="document_electronic" invisible="1" />
|
|
100
|
+
<field name="fiscal_operation_type" invisible="1" />
|
|
101
|
+
<field name="document_type" invisible="1" />
|
|
102
|
+
<header>
|
|
103
|
+
<button
|
|
99
104
|
name="action_document_confirm"
|
|
100
105
|
type="object"
|
|
101
106
|
string="Confirmar"
|
|
102
107
|
groups="l10n_br_fiscal.group_user"
|
|
103
108
|
class="btn-primary"
|
|
104
|
-
|
|
109
|
+
invisible="state_edoc != 'em_digitacao'"
|
|
105
110
|
/>
|
|
106
|
-
|
|
111
|
+
<button
|
|
107
112
|
name="action_document_send"
|
|
108
113
|
type="object"
|
|
109
114
|
string="Enviar"
|
|
110
115
|
groups="l10n_br_fiscal.group_user"
|
|
111
116
|
class="btn-primary"
|
|
112
|
-
|
|
117
|
+
invisible="state_edoc != 'a_enviar'"
|
|
113
118
|
/>
|
|
114
|
-
|
|
119
|
+
<button
|
|
115
120
|
name="action_document_send"
|
|
116
121
|
type="object"
|
|
117
122
|
string="Consultar Recibo"
|
|
118
123
|
groups="l10n_br_fiscal.group_user"
|
|
119
124
|
class="btn-primary"
|
|
120
|
-
|
|
125
|
+
invisible="state_edoc != 'enviada'"
|
|
121
126
|
/>
|
|
122
|
-
|
|
127
|
+
<button
|
|
123
128
|
name="action_document_back2draft"
|
|
124
129
|
type="object"
|
|
125
130
|
string="Voltar p/ Em Digitação"
|
|
126
131
|
groups="l10n_br_fiscal.group_user"
|
|
127
132
|
class="btn-secondary"
|
|
128
|
-
|
|
133
|
+
invisible="state_edoc not in ('a_enviar', 'rejeitada', 'enviada') or not document_electronic"
|
|
129
134
|
/>
|
|
130
|
-
|
|
135
|
+
<button
|
|
131
136
|
name="view_pdf"
|
|
132
137
|
type="object"
|
|
133
138
|
string="Visualizar PDF"
|
|
134
139
|
groups="l10n_br_fiscal.group_user"
|
|
135
140
|
class="btn-primary"
|
|
136
|
-
|
|
141
|
+
invisible="state_edoc == 'em_digitacao'"
|
|
137
142
|
/>
|
|
138
|
-
|
|
143
|
+
<button
|
|
139
144
|
name="view_xml"
|
|
140
145
|
type="object"
|
|
141
146
|
string="Visualizar XML"
|
|
142
147
|
groups="l10n_br_fiscal.group_user"
|
|
143
148
|
class="btn-primary"
|
|
144
|
-
|
|
149
|
+
invisible="not document_electronic or state_edoc == 'em_digitacao'"
|
|
145
150
|
/>
|
|
146
|
-
|
|
151
|
+
<button
|
|
147
152
|
name="action_document_cancel"
|
|
148
153
|
type="object"
|
|
149
154
|
string="Cancelar"
|
|
150
155
|
groups="l10n_br_fiscal.group_user"
|
|
151
|
-
|
|
156
|
+
invisible="state_edoc != 'autorizada' or not document_electronic"
|
|
152
157
|
/>
|
|
153
|
-
|
|
158
|
+
<button
|
|
154
159
|
name="action_document_invalidate"
|
|
155
160
|
type="object"
|
|
156
161
|
string="Invalidar Numeração"
|
|
157
162
|
groups="l10n_br_fiscal.group_user"
|
|
158
|
-
|
|
163
|
+
invisible="state_edoc in ('em_digitacao', 'autorizada', 'cancelada', 'denegada')"
|
|
159
164
|
/>
|
|
160
|
-
|
|
165
|
+
<button
|
|
161
166
|
name="action_document_correction"
|
|
162
167
|
type="object"
|
|
163
168
|
string="Carta de correção"
|
|
164
169
|
groups="l10n_br_fiscal.group_user"
|
|
165
|
-
|
|
170
|
+
invisible="state_edoc != 'autorizada'"
|
|
166
171
|
/>
|
|
167
|
-
|
|
172
|
+
<button
|
|
168
173
|
name="action_create_return"
|
|
169
174
|
type="object"
|
|
170
175
|
string="Devolver"
|
|
171
176
|
groups="l10n_br_fiscal.group_user"
|
|
172
|
-
|
|
177
|
+
invisible="state_edoc != 'autorizada'"
|
|
173
178
|
/>
|
|
174
|
-
|
|
179
|
+
<field
|
|
175
180
|
name="state_edoc"
|
|
176
181
|
widget="statusbar"
|
|
177
182
|
statusbar_visible="em_digitacao,autorizada"
|
|
178
183
|
/>
|
|
179
|
-
|
|
180
|
-
|
|
184
|
+
</header>
|
|
185
|
+
<div
|
|
181
186
|
class="alert alert-danger"
|
|
182
187
|
role="alert"
|
|
183
|
-
|
|
188
|
+
invisible="not xml_error_message"
|
|
184
189
|
>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
<strong>XML validation errors:</strong>
|
|
191
|
+
<field name="xml_error_message" readonly="1" />
|
|
192
|
+
</div>
|
|
193
|
+
<div
|
|
189
194
|
class="alert alert-danger"
|
|
190
195
|
role="alert"
|
|
191
|
-
|
|
192
|
-
>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
196
|
+
invisible="state_edoc not in ('rejeitada', 'denegada')"
|
|
197
|
+
>Fiscal Document:
|
|
198
|
+
<field name="document_type_id" readonly="1" />is
|
|
199
|
+
<strong>
|
|
200
|
+
<field name="state_edoc" readonly="1" />
|
|
201
|
+
</strong></div>
|
|
202
|
+
<div
|
|
197
203
|
class="alert alert-success"
|
|
198
204
|
role="alert"
|
|
199
|
-
|
|
200
|
-
>
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<div
|
|
205
|
+
invisible="state_edoc != 'autorizada'"
|
|
206
|
+
>Fiscal Document:
|
|
207
|
+
<field name="document_type_id" readonly="1" />is
|
|
208
|
+
<strong>Authorized</strong></div>
|
|
209
|
+
<div
|
|
205
210
|
class="alert alert-warning"
|
|
206
211
|
role="alert"
|
|
207
|
-
|
|
208
|
-
>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
<field
|
|
212
|
+
invisible="state_edoc != 'cancelada'"
|
|
213
|
+
>Fiscal Document:
|
|
214
|
+
<field name="document_type_id" readonly="1" />is
|
|
215
|
+
<strong>Cancelled</strong></div>
|
|
216
|
+
<sheet string="Fiscal Document">
|
|
217
|
+
<div class="oe_button_box" name="button_box" />
|
|
218
|
+
<div class="oe_title">
|
|
219
|
+
<h1>
|
|
220
|
+
<field name="document_type_id" readonly="1" />:
|
|
221
|
+
<field
|
|
218
222
|
name="document_number"
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
readonly="issuer == 'company'"
|
|
224
|
+
required="issuer == 'partner'"
|
|
225
|
+
/></h1>
|
|
226
|
+
</div>
|
|
227
|
+
<group>
|
|
228
|
+
<group name="partner_info">
|
|
229
|
+
<field
|
|
226
230
|
name="partner_id"
|
|
227
231
|
widget="res_partner_many2one"
|
|
228
|
-
context="{
|
|
229
|
-
|
|
230
|
-
options='{"always_reload": True, "no_quick_create": True}'
|
|
232
|
+
context="{ 'show_address': 1, 'default_is_company': True, 'show_vat': True}"
|
|
233
|
+
options="{"always_reload": True, "no_quick_create": True}"
|
|
231
234
|
/>
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
235
|
+
<field name="partner_shipping_id" />
|
|
236
|
+
</group>
|
|
237
|
+
<group name="l10n_br_fiscal">
|
|
238
|
+
<field
|
|
236
239
|
name="fiscal_operation_id"
|
|
237
240
|
options="{'no_create': True, 'no_create_edit': True}"
|
|
238
241
|
/>
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
242
|
+
<field name="edoc_purpose" />
|
|
243
|
+
<field name="ind_final" />
|
|
244
|
+
<field name="ind_pres" />
|
|
245
|
+
</group>
|
|
246
|
+
<group name="document_numbers">
|
|
247
|
+
<field name="issuer" />
|
|
248
|
+
<field name="document_type_id" required="1" />
|
|
249
|
+
<label
|
|
247
250
|
for="document_key"
|
|
248
|
-
|
|
251
|
+
invisible="not document_electronic"
|
|
249
252
|
/>
|
|
250
|
-
|
|
253
|
+
<div
|
|
251
254
|
class="o_row"
|
|
252
|
-
|
|
255
|
+
invisible="not document_electronic"
|
|
256
|
+
readonly="issuer == 'company'"
|
|
257
|
+
required="issuer == 'partner' and document_electronic"
|
|
253
258
|
>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
259
|
+
<field
|
|
260
|
+
name="document_key"
|
|
261
|
+
force_save="1"
|
|
262
|
+
class="oe_inline"
|
|
263
|
+
/>
|
|
264
|
+
</div>
|
|
265
|
+
<field
|
|
258
266
|
name="document_serie_id"
|
|
259
|
-
|
|
267
|
+
invisible="issuer != 'company'"
|
|
268
|
+
required="issuer == 'company'"
|
|
260
269
|
context="{'default_document_type_id': document_type_id}"
|
|
261
270
|
/>
|
|
262
|
-
|
|
271
|
+
<field
|
|
263
272
|
name="document_serie"
|
|
264
|
-
|
|
273
|
+
invisible="issuer != 'partner'"
|
|
274
|
+
required="issuer == 'partner'"
|
|
265
275
|
/>
|
|
266
|
-
|
|
276
|
+
<field
|
|
267
277
|
name="document_number"
|
|
268
278
|
force_save="1"
|
|
269
|
-
|
|
279
|
+
readonly="issuer == 'company'"
|
|
280
|
+
required="issuer == 'partner'"
|
|
281
|
+
/>
|
|
282
|
+
</group>
|
|
283
|
+
<group name="document_extra">
|
|
284
|
+
<field name="state_fiscal" />
|
|
285
|
+
<field name="document_date" />
|
|
286
|
+
<field name="date_in_out" />
|
|
287
|
+
<field name="user_id" />
|
|
288
|
+
<field
|
|
289
|
+
name="company_id"
|
|
290
|
+
required="1"
|
|
291
|
+
groups="base.group_multi_company"
|
|
270
292
|
/>
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
<field name="document_date" />
|
|
275
|
-
<field name="date_in_out" />
|
|
276
|
-
<field name='user_id' />
|
|
277
|
-
<field name="company_id" required="1" groups="base.group_multi_company" />
|
|
278
|
-
<field name='company_id' invisible="1" />
|
|
279
|
-
</group>
|
|
280
|
-
<group
|
|
293
|
+
<field name="company_id" invisible="1" />
|
|
294
|
+
</group>
|
|
295
|
+
<group
|
|
281
296
|
name="CT-e Info"
|
|
282
297
|
invisible="[('document_type_id.code', 'in', ['57', '08', '09', '10', '11', '26', '67', '8B'])]"
|
|
283
298
|
>
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
299
|
+
<field name="transport_modal" />
|
|
300
|
+
<field name="service_provider" />
|
|
301
|
+
</group>
|
|
302
|
+
</group>
|
|
303
|
+
<notebook>
|
|
304
|
+
<page name="products" string="Products and Services">
|
|
305
|
+
<field
|
|
291
306
|
name="fiscal_line_ids"
|
|
292
307
|
context="{'form_view_ref': 'l10n_br_fiscal.document_line_form', 'default_document_id': id, 'default_company_id': company_id, 'default_partner_id': partner_id, 'default_fiscal_operation_type': fiscal_operation_type, 'default_fiscal_operation_id': fiscal_operation_id, 'no_subcall': True}"
|
|
293
308
|
>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
309
|
+
<tree>
|
|
310
|
+
<field name="product_id" />
|
|
311
|
+
<field name="uom_id" />
|
|
312
|
+
<field name="price_unit" />
|
|
313
|
+
<field name="quantity" />
|
|
314
|
+
<field
|
|
315
|
+
name="fiscal_tax_ids"
|
|
316
|
+
widget="many2many_tags"
|
|
317
|
+
/>
|
|
318
|
+
<field name="amount_total" sum="Total" />
|
|
319
|
+
</tree>
|
|
320
|
+
</field>
|
|
321
|
+
</page>
|
|
322
|
+
<page name="document_related" string="Document Related">
|
|
323
|
+
<field name="document_related_ids" />
|
|
324
|
+
</page>
|
|
325
|
+
<page name="finance" string="Finance" />
|
|
326
|
+
<page name="delivery" string="Delivery">
|
|
327
|
+
<group>
|
|
328
|
+
<field name="force_compute_delivery_costs_by_total" />
|
|
329
|
+
<field name="total_weight" />
|
|
330
|
+
</group>
|
|
331
|
+
</page>
|
|
332
|
+
<page name="amounts" string="Amounts">
|
|
333
|
+
<group>
|
|
334
|
+
<group>
|
|
335
|
+
<group string="ICMS">
|
|
336
|
+
<field name="amount_icms_base" />
|
|
337
|
+
<field name="amount_icms_value" />
|
|
338
|
+
<field name="amount_icmssn_credit_value" />
|
|
339
|
+
</group>
|
|
340
|
+
<group string="ICMS DIFAL">
|
|
341
|
+
<field name="amount_icms_destination_value" />
|
|
342
|
+
<field name="amount_icms_origin_value" />
|
|
343
|
+
<field name="amount_icmsfcp_value" />
|
|
344
|
+
</group>
|
|
345
|
+
<group string="ICMS ST">
|
|
346
|
+
<field name="amount_icmsst_base" />
|
|
347
|
+
<field name="amount_icmsst_value" />
|
|
348
|
+
</group>
|
|
349
|
+
<group string="IPI">
|
|
350
|
+
<field name="amount_ipi_base" />
|
|
351
|
+
<field name="amount_ipi_value" />
|
|
352
|
+
</group>
|
|
353
|
+
<group string="ISSQN">
|
|
354
|
+
<field name="amount_issqn_base" />
|
|
355
|
+
<field name="amount_issqn_value" />
|
|
356
|
+
<field name="amount_issqn_wh_base" />
|
|
357
|
+
<field name="amount_issqn_wh_value" />
|
|
358
|
+
</group>
|
|
359
|
+
<group string="PIS">
|
|
360
|
+
<field name="amount_pis_base" />
|
|
361
|
+
<field name="amount_pis_value" />
|
|
362
|
+
<field name="amount_pis_wh_base" />
|
|
363
|
+
<field name="amount_pis_wh_value" />
|
|
364
|
+
</group>
|
|
365
|
+
<group string="PIS ST">
|
|
366
|
+
<field name="amount_pisst_base" />
|
|
367
|
+
<field name="amount_pisst_value" />
|
|
368
|
+
</group>
|
|
369
|
+
<group string="COFINS">
|
|
370
|
+
<field name="amount_cofins_base" />
|
|
371
|
+
<field name="amount_cofins_value" />
|
|
372
|
+
<field name="amount_cofins_wh_base" />
|
|
373
|
+
<field name="amount_cofins_wh_value" />
|
|
374
|
+
</group>
|
|
375
|
+
<group string="COFINS ST">
|
|
376
|
+
<field name="amount_cofinsst_base" />
|
|
377
|
+
<field name="amount_cofinsst_value" />
|
|
378
|
+
</group>
|
|
379
|
+
<group string="CSLL">
|
|
380
|
+
<field name="amount_csll_base" />
|
|
381
|
+
<field name="amount_csll_value" />
|
|
382
|
+
<field name="amount_csll_wh_base" />
|
|
383
|
+
<field name="amount_csll_wh_value" />
|
|
384
|
+
</group>
|
|
385
|
+
<group string="IRPJ">
|
|
386
|
+
<field name="amount_irpj_base" />
|
|
387
|
+
<field name="amount_irpj_value" />
|
|
388
|
+
<field name="amount_irpj_wh_base" />
|
|
389
|
+
<field name="amount_irpj_wh_value" />
|
|
390
|
+
</group>
|
|
391
|
+
<group string="INSS">
|
|
392
|
+
<field name="amount_inss_base" />
|
|
393
|
+
<field name="amount_inss_value" />
|
|
394
|
+
<field name="amount_inss_wh_base" />
|
|
395
|
+
<field name="amount_inss_wh_value" />
|
|
396
|
+
</group>
|
|
397
|
+
</group>
|
|
398
|
+
<group>
|
|
399
|
+
<group string="Amounts">
|
|
400
|
+
<field name="amount_price_gross" />
|
|
401
|
+
<field name="amount_discount_value" />
|
|
402
|
+
<field name="delivery_costs" invisible="1" />
|
|
403
|
+
<field
|
|
387
404
|
name="amount_insurance_value"
|
|
388
|
-
|
|
405
|
+
readonly="delivery_costs == 'line' and not force_compute_delivery_costs_by_total"
|
|
389
406
|
/>
|
|
390
|
-
|
|
407
|
+
<field
|
|
391
408
|
name="amount_other_value"
|
|
392
|
-
|
|
409
|
+
readonly="delivery_costs == 'line' and not force_compute_delivery_costs_by_total"
|
|
393
410
|
/>
|
|
394
|
-
|
|
411
|
+
<field
|
|
395
412
|
name="amount_freight_value"
|
|
396
|
-
|
|
413
|
+
readonly="delivery_costs == 'line' and not force_compute_delivery_costs_by_total"
|
|
397
414
|
/>
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
415
|
+
<field name="amount_estimate_tax" />
|
|
416
|
+
<field name="amount_tax" />
|
|
417
|
+
<field name="amount_total" />
|
|
418
|
+
<field name="amount_tax_withholding" />
|
|
419
|
+
<field name="amount_financial_total" />
|
|
420
|
+
<field name="amount_financial_total_gross" />
|
|
421
|
+
<field name="amount_financial_discount_value" />
|
|
422
|
+
</group>
|
|
423
|
+
</group>
|
|
424
|
+
</group>
|
|
425
|
+
</page>
|
|
426
|
+
<page name="extra_info" string="Extra Info">
|
|
427
|
+
<group>
|
|
428
|
+
<field name="comment_ids" widget="many2many_tags" />
|
|
429
|
+
<field name="manual_fiscal_additional_data" />
|
|
430
|
+
<field name="fiscal_additional_data" readonly="1" />
|
|
431
|
+
<field name="manual_customer_additional_data" />
|
|
432
|
+
<field name="customer_additional_data" readonly="1" />
|
|
433
|
+
</group>
|
|
434
|
+
</page>
|
|
435
|
+
</notebook>
|
|
436
|
+
</sheet>
|
|
437
|
+
<div class="o_attachment_preview" />
|
|
438
|
+
<div class="oe_chatter">
|
|
439
|
+
<field name="message_follower_ids" groups="base.group_user" />
|
|
440
|
+
<field name="activity_ids" />
|
|
441
|
+
<field name="message_ids" />
|
|
442
|
+
</div>
|
|
443
|
+
</form>
|
|
444
|
+
</field>
|
|
445
|
+
</record>
|
|
430
446
|
</odoo>
|