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.

Files changed (72) hide show
  1. odoo/addons/l10n_br_fiscal/README.rst +10 -10
  2. odoo/addons/l10n_br_fiscal/__init__.py +2 -3
  3. odoo/addons/l10n_br_fiscal/__manifest__.py +3 -3
  4. odoo/addons/l10n_br_fiscal/data/product_data.xml +2 -2
  5. odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot +59 -480
  6. odoo/addons/l10n_br_fiscal/models/comment.py +20 -18
  7. odoo/addons/l10n_br_fiscal/models/data_abstract.py +11 -12
  8. odoo/addons/l10n_br_fiscal/models/document.py +2 -4
  9. odoo/addons/l10n_br_fiscal/models/document_serie.py +4 -2
  10. odoo/addons/l10n_br_fiscal/models/invalidate_number.py +0 -6
  11. odoo/addons/l10n_br_fiscal/models/operation.py +0 -11
  12. odoo/addons/l10n_br_fiscal/models/tax_definition.py +2 -35
  13. odoo/addons/l10n_br_fiscal/static/description/index.html +8 -8
  14. odoo/addons/l10n_br_fiscal/tests/test_cnae.py +2 -3
  15. odoo/addons/l10n_br_fiscal/tests/test_document_edition.py +9 -31
  16. odoo/addons/l10n_br_fiscal/tests/test_service_type.py +2 -3
  17. odoo/addons/l10n_br_fiscal/views/cest_view.xml +4 -6
  18. odoo/addons/l10n_br_fiscal/views/cfop_view.xml +3 -5
  19. odoo/addons/l10n_br_fiscal/views/city_taxation_code.xml +1 -4
  20. odoo/addons/l10n_br_fiscal/views/cnae_view.xml +2 -5
  21. odoo/addons/l10n_br_fiscal/views/comment_view.xml +2 -4
  22. odoo/addons/l10n_br_fiscal/views/cst_view.xml +6 -8
  23. odoo/addons/l10n_br_fiscal/views/document_line_mixin_view.xml +1091 -0
  24. odoo/addons/l10n_br_fiscal/views/document_line_view.xml +102 -89
  25. odoo/addons/l10n_br_fiscal/views/document_related_view.xml +58 -56
  26. odoo/addons/l10n_br_fiscal/views/document_serie_view.xml +3 -7
  27. odoo/addons/l10n_br_fiscal/views/document_type_view.xml +0 -2
  28. odoo/addons/l10n_br_fiscal/views/document_view.xml +306 -290
  29. odoo/addons/l10n_br_fiscal/views/icms_regulation_view.xml +14 -16
  30. odoo/addons/l10n_br_fiscal/views/icms_relief_view.xml +8 -10
  31. odoo/addons/l10n_br_fiscal/views/invalidate_number_view.xml +47 -49
  32. odoo/addons/l10n_br_fiscal/views/l10n_br_fiscal_action.xml +133 -246
  33. odoo/addons/l10n_br_fiscal/views/l10n_br_fiscal_menu.xml +2 -65
  34. odoo/addons/l10n_br_fiscal/views/legal_nature_view.xml +0 -2
  35. odoo/addons/l10n_br_fiscal/views/nbm_view.xml +7 -8
  36. odoo/addons/l10n_br_fiscal/views/nbs_view.xml +6 -7
  37. odoo/addons/l10n_br_fiscal/views/ncm_view.xml +15 -18
  38. odoo/addons/l10n_br_fiscal/views/operation_dashboard_view.xml +37 -27
  39. odoo/addons/l10n_br_fiscal/views/operation_line_view.xml +21 -23
  40. odoo/addons/l10n_br_fiscal/views/operation_view.xml +42 -22
  41. odoo/addons/l10n_br_fiscal/views/partner_profile_view.xml +6 -12
  42. odoo/addons/l10n_br_fiscal/views/product_genre_view.xml +9 -11
  43. odoo/addons/l10n_br_fiscal/views/product_product_view.xml +18 -23
  44. odoo/addons/l10n_br_fiscal/views/product_template_view.xml +17 -16
  45. odoo/addons/l10n_br_fiscal/views/res_company_view.xml +51 -50
  46. odoo/addons/l10n_br_fiscal/views/res_config_settings_view.xml +45 -111
  47. odoo/addons/l10n_br_fiscal/views/res_partner_view.xml +3 -5
  48. odoo/addons/l10n_br_fiscal/views/service_type_view.xml +9 -11
  49. odoo/addons/l10n_br_fiscal/views/simplified_tax_range_view.xml +0 -2
  50. odoo/addons/l10n_br_fiscal/views/simplified_tax_view.xml +0 -2
  51. odoo/addons/l10n_br_fiscal/views/tax_definition_view.xml +201 -142
  52. odoo/addons/l10n_br_fiscal/views/tax_estimate_view.xml +2 -4
  53. odoo/addons/l10n_br_fiscal/views/tax_group_view.xml +7 -10
  54. odoo/addons/l10n_br_fiscal/views/tax_ipi_control_seal_view.xml +0 -2
  55. odoo/addons/l10n_br_fiscal/views/tax_ipi_guideline_class_view.xml +0 -2
  56. odoo/addons/l10n_br_fiscal/views/tax_ipi_guideline_view.xml +2 -4
  57. odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_base_view.xml +2 -4
  58. odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_credit_view.xml +2 -4
  59. odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_view.xml +5 -7
  60. odoo/addons/l10n_br_fiscal/views/tax_view.xml +17 -21
  61. odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py +1 -1
  62. odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml +2 -8
  63. {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
  64. {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
  65. odoo/addons/l10n_br_fiscal/migrations/16.0.2.0.0/pre-migration.py +0 -25
  66. odoo/addons/l10n_br_fiscal/migrations/16.0.2.15.0/pre-migration.py +0 -19
  67. odoo/addons/l10n_br_fiscal/migrations/16.0.4.0.0/pre-migration.py +0 -220
  68. odoo/addons/l10n_br_fiscal/migrations/16.0.5.0.0/pre-migration.py +0 -33
  69. odoo/addons/l10n_br_fiscal/migrations/16.0.5.2.0/pre-migration.py +0 -21
  70. odoo/addons/l10n_br_fiscal/views/document_fiscal_line_mixin_view.xml +0 -1026
  71. {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
  72. {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,1026 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <odoo>
3
-
4
- <record id="document_fiscal_line_mixin_form" model="ir.ui.view">
5
- <field name="name">l10n_br_fiscal.document.line.mixin.form</field>
6
- <field name="model">l10n_br_fiscal.document.line</field>
7
- <field name="arch" type="xml">
8
- <form>
9
- <group name="fiscal_fields" invisible="1">
10
- <field name="currency_id" force_save="1" invisible="1" />
11
- <field name="fiscal_operation_type" force_save="1" invisible="1" />
12
- <field name="fiscal_operation_id" force_save="1" invisible="1" />
13
- <field name="fiscal_operation_line_id" force_save="1" invisible="1" />
14
- <field name="operation_fiscal_type" force_save="1" invisible="1" />
15
- <field name="ipi_guideline_id" force_save="1" invisible="1" />
16
- <field name="company_id" force_save="1" invisible="1" />
17
- <field name="partner_id" force_save="1" invisible="1" />
18
- <field name="fiscal_type" force_save="1" invisible="1" />
19
- <field name="partner_company_type" force_save="1" invisible="1" />
20
- <field name="tax_framework" force_save="1" invisible="1" />
21
- <field name="amount_tax_not_included" force_save="1" invisible="1" />
22
- <field name="amount_tax_withholding" force_save="1" invisible="1" />
23
- <field name="cfop_destination" force_save="1" invisible="1" />
24
- <field name="fiscal_genre_id" force_save="1" invisible="1" />
25
- <field name="fiscal_genre_code" force_save="1" invisible="1" />
26
- <field name="ncm_id" force_save="1" invisible="1" />
27
- <field name="nbm_id" force_save="1" invisible="1" />
28
- <field name="cest_id" force_save="1" invisible="1" />
29
- <field name="nbs_id" force_save="1" invisible="1" />
30
- <field name="service_type_id" force_save="1" invisible="1" />
31
- <field name="city_taxation_code_id" force_save="1" invisible="1" />
32
- <field name="uot_id" force_save="1" invisible="1" />
33
- <field name="fiscal_price" force_save="1" invisible="1" />
34
- <field name="fiscal_quantity" force_save="1" invisible="1" />
35
- <field name="fiscal_tax_ids" force_save="1" invisible="1" readonly="1" />
36
- <field name="allow_csll_irpj" force_save="1" invisible="1" />
37
- </group>
38
- <notebook>
39
- <field name="product_id" force_save="1" invisible="1" />
40
- <page name="fiscal_taxes" string="Taxes">
41
- <group>
42
- <field name="tax_framework" invisible="1" />
43
- <field
44
- name="tax_icms_or_issqn"
45
- force_save="1"
46
- attrs="{'readonly': [('product_id', '!=', False), ('tax_icms_or_issqn', '!=', False)], 'required': [('tax_icms_or_issqn', '!=', False), ('fiscal_tax_ids', '!=', False)]}"
47
- />
48
- </group>
49
- <notebook>
50
- <page
51
- name="issqn"
52
- string="ISSQN"
53
- attrs="{'invisible': [('tax_icms_or_issqn', '!=', 'issqn')]}"
54
- >
55
- <group>
56
- <field
57
- name="issqn_tax_id"
58
- options="{'no_create': True, 'no_create_edit': True}"
59
- />
60
- <field
61
- name="issqn_fg_city_id"
62
- options="{'no_create': True, 'no_create_edit': True}"
63
- />
64
- <field
65
- name="issqn_eligibility"
66
- attrs="{'required': [('tax_icms_or_issqn', '=', 'issqn')]}"
67
- />
68
- <field
69
- name="issqn_incentive"
70
- attrs="{'required': [('tax_icms_or_issqn', '=', 'issqn')]}"
71
- />
72
- </group>
73
- <group>
74
- <group>
75
- <field
76
- name="issqn_base"
77
- force_save="1"
78
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
79
- />
80
- <field
81
- name="issqn_percent"
82
- force_save="1"
83
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
84
- />
85
- <field
86
- name="issqn_reduction"
87
- force_save="1"
88
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
89
- />
90
- <field
91
- name="issqn_value"
92
- force_save="1"
93
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
94
- />
95
- </group>
96
- <group>
97
- <field
98
- name="issqn_deduction_amount"
99
- force_save="1"
100
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
101
- />
102
- <field
103
- name="issqn_other_amount"
104
- force_save="1"
105
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
106
- />
107
- <field
108
- name="issqn_desc_incond_amount"
109
- force_save="1"
110
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
111
- />
112
- <field
113
- name="issqn_desc_cond_amount"
114
- force_save="1"
115
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
116
- />
117
- <field
118
- name="issqn_desc_cond_amount"
119
- force_save="1"
120
- attrs="{'readonly': [('issqn_tax_id', '!=', False)]}"
121
- />
122
- </group>
123
- </group>
124
- <group string="Retenções">
125
- <field
126
- name="issqn_wh_tax_id"
127
- options="{'no_create': True, 'no_create_edit': True}"
128
- />
129
- </group>
130
- <group>
131
- <group>
132
- <field
133
- name="issqn_wh_base"
134
- force_save="1"
135
- attrs="{'readonly': [('issqn_wh_tax_id', '!=', False)]}"
136
- />
137
- <field
138
- name="issqn_wh_percent"
139
- force_save="1"
140
- attrs="{'readonly': [('issqn_wh_tax_id', '!=', False)]}"
141
- />
142
- </group>
143
- <group>
144
- <field
145
- name="issqn_wh_reduction"
146
- force_save="1"
147
- attrs="{'readonly': [('issqn_wh_tax_id', '!=', False)]}"
148
- />
149
- <field
150
- name="issqn_wh_value"
151
- force_save="1"
152
- attrs="{'readonly': [('issqn_wh_tax_id', '!=', False)]}"
153
- />
154
- </group>
155
- </group>
156
- </page>
157
- <page
158
- name="icms"
159
- string="ICMS"
160
- attrs="{'invisible': [('tax_icms_or_issqn', '!=', 'icms')]}"
161
- >
162
- <group name="icms" string="ICMS">
163
- <field
164
- name="icms_tax_id"
165
- attrs="{'invisible': [('tax_framework', 'in', ('1', '2'))]}"
166
- options="{'no_create': True, 'no_create_edit': True}"
167
- />
168
- <field
169
- name="icmssn_tax_id"
170
- attrs="{'invisible': [('tax_framework', '=', '3')]}"
171
- options="{'no_create': True, 'no_create_edit': True}"
172
- />
173
- <field
174
- name="icms_cst_id"
175
- force_save="1"
176
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
177
- options="{'no_create': True, 'no_create_edit': True}"
178
- />
179
- <field name="icms_cst_code" readonly="1" invisible="1" />
180
- <field
181
- name="icms_origin"
182
- force_save="1"
183
- attrs="{'readonly': ['|', ('icms_tax_id', '!=', False), ('icmssn_tax_id', '!=', False)]}"
184
- />
185
- <field name="icms_tax_benefit_id" force_save="1" />
186
- </group>
187
- <group>
188
- <group>
189
- <field
190
- name="icmssn_range_id"
191
- force_save="1"
192
- readonly="1"
193
- attrs="{'invisible': [('tax_framework', '=', '3')]}"
194
- options="{'no_create': True, 'no_create_edit': True}"
195
- />
196
- <field
197
- name="icms_base_type"
198
- force_save="1"
199
- attrs="{'readonly': ['|', ('icms_tax_id', '=', False), ('icmssn_tax_id', '=', False)]}"
200
- />
201
- <field
202
- name="icmssn_base"
203
- force_save="1"
204
- attrs="{'readonly': [('icmssn_tax_id', '!=', False)], 'invisible': [('tax_framework', '=', '3')]}"
205
- />
206
- <field
207
- name="icmssn_reduction"
208
- force_save="1"
209
- attrs="{'readonly': [('icmssn_tax_id', '!=', False)], 'invisible': [('tax_framework', '=', '3')]}"
210
- />
211
- <field
212
- name="icms_base"
213
- force_save="1"
214
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': ['|', ('tax_framework', '=', '2'), ('icms_cst_code', 'not in', ('00', '10', '20', '30', '40', '41', '50', '51', '60', '70', '90', '900'))]}"
215
- />
216
- <field
217
- name="icms_percent"
218
- force_save="1"
219
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': ['|', ('tax_framework', '=', '2'), ('icms_cst_code', 'not in', ('00', '10', '20', '30', '40', '41', '50', '51', '60', '70', '90', '900'))]}"
220
- />
221
- </group>
222
- <group>
223
- <field
224
- name="icmssn_percent"
225
- force_save="1"
226
- attrs="{'readonly': [('icmssn_tax_id', '!=', False)], 'invisible': [('tax_framework', '=', '3')]}"
227
- />
228
- <field
229
- name="icmssn_credit_value"
230
- force_save="1"
231
- attrs="{'readonly': [('icmssn_tax_id', '!=', False)], 'invisible': [('tax_framework', '=', '3')]}"
232
- />
233
- <field
234
- name="icms_reduction"
235
- force_save="1"
236
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': ['|', ('tax_framework', '=', '3'), ('icms_cst_code', '!=', '900')]}"
237
- />
238
- <field
239
- name="icms_value"
240
- force_save="1"
241
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': ['|', ('tax_framework', '=', '2'), ('icms_cst_code', 'not in', ('00', '10', '20', '30', '40', '41', '50', '51', '60', '70', '90', '900'))]}"
242
- />
243
- <field
244
- name="icms_relief_id"
245
- force_save="1"
246
- attrs="{'readonly': [('icms_tax_id', '!=', False), ('icms_cst_code', 'not in', ('20', '30', '40', '41', '50', '70', '90'))], 'invisible': ['|', ('tax_framework', 'in', ('1', '2')), ('icms_cst_code', 'not in', ('20', '30', '40', '41', '50', '70', '90'))]}"
247
- />
248
- <field
249
- name="icms_relief_value"
250
- force_save="1"
251
- attrs="{'readonly': [('icms_tax_id', '!=', False), ('icms_cst_code', 'not in', ('20', '30', '40', '41', '50', '70', '90'))], 'invisible': ['|', ('tax_framework', 'in', ('1', '2')), ('icms_cst_code', 'not in', ('20', '30', '40', '41', '50', '70', '90'))]}"
252
- />
253
- <field
254
- name="icms_substitute"
255
- force_save="1"
256
- attrs="{'readonly': [('icms_cst_code', '!=', '500')]}"
257
- />
258
- </group>
259
- </group>
260
- <group>
261
- <group
262
- name="icmsst"
263
- string="ICMS ST"
264
- attrs="{'invisible': [('icms_cst_code', 'not in', ('10', '30', '70', '90', '201', '202', '203', '500', '900'))]}"
265
- >
266
- <field
267
- name="icmsst_tax_id"
268
- attrs="{'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
269
- options="{'no_create': True, 'no_create_edit': True}"
270
- />
271
- <field
272
- name="icmsst_base_type"
273
- force_save="1"
274
- attrs="{'readonly': [('icmssn_tax_id', '!=', False)], 'invisible': ['|', ('tax_framework', '=', '3'), ('icms_cst_code', 'in', ('60', '500'))]}"
275
- />
276
- <field
277
- name="icmsst_mva_percent"
278
- force_save="1"
279
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
280
- />
281
- <field
282
- name="icmsst_percent"
283
- force_save="1"
284
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
285
- />
286
- <field
287
- name="icmsst_reduction"
288
- force_save="1"
289
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
290
- />
291
- <field
292
- name="icmsst_base"
293
- force_save="1"
294
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
295
- />
296
- <field
297
- name="icmsst_value"
298
- force_save="1"
299
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'in', ('60', '500'))]}"
300
- />
301
- <field
302
- name="icmsst_wh_base"
303
- force_save="1"
304
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
305
- />
306
- <field
307
- name="icmsst_wh_percent"
308
- force_save="1"
309
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
310
- />
311
- <field
312
- name="icmsst_wh_value"
313
- force_save="1"
314
- attrs="{'readonly': [('icms_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
315
- />
316
- </group>
317
- <group
318
- name="icms_fcp"
319
- string="ICMS FCP"
320
- attrs="{'invisible': [('partner_company_type', 'in', ('company', False))], 'invisible': [('icms_cst_code', 'in', ('40', '41', '50', '101', '102', '103', '300', '400'))]}"
321
- >
322
- <field
323
- name="icmsfcp_tax_id"
324
- attrs="{'invisible': [('icms_cst_code', '=', '500')]}"
325
- options="{'no_create': True, 'no_create_edit': True}"
326
- />
327
- <field
328
- name="icmsfcp_base"
329
- force_save="1"
330
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
331
- />
332
- <field
333
- name="icmsfcp_percent"
334
- force_save="1"
335
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
336
- />
337
- <field
338
- name="icmsfcp_value"
339
- force_save="1"
340
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
341
- />
342
- <field
343
- name="icmsfcp_base_wh"
344
- force_save="1"
345
- attrs="{'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
346
- />
347
- <field
348
- name="icmsfcp_wh_percent"
349
- force_save="1"
350
- attrs="{'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
351
- />
352
- <field
353
- name="icmsfcp_value_wh"
354
- force_save="1"
355
- attrs="{'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
356
- />
357
- </group>
358
- <group
359
- name="icms_fcp_st"
360
- string="ICMS FCP ST"
361
- attrs="{'invisible': [('icms_cst_code', 'not in', ('10', '30', '70', '90', '201', '202', '203', '500', '900'))]}"
362
- >
363
- <field
364
- name="icmsfcpst_tax_id"
365
- attrs="{'invisible': [('icms_cst_code', '=', '500')]}"
366
- options="{'no_create': True, 'no_create_edit': True}"
367
- />
368
- <field
369
- name="icmsfcpst_base"
370
- force_save="1"
371
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
372
- />
373
- <field
374
- name="icmsfcpst_percent"
375
- force_save="1"
376
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
377
- />
378
- <field
379
- name="icmsfcpst_value"
380
- force_save="1"
381
- attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
382
- />
383
- </group>
384
- <group
385
- name="icms_difal"
386
- string="ICMS DIFAL"
387
- attrs="{'invisible': [('partner_company_type', 'in', ('company', False)), ('tax_framework', '=', '1'), ('cfop_destination', 'in', ('1', '3', False))]}"
388
- >
389
- <field
390
- name="icms_destination_base"
391
- force_save="1"
392
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
393
- />
394
- <field
395
- name="icms_origin_percent"
396
- force_save="1"
397
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
398
- />
399
- <field
400
- name="icms_destination_percent"
401
- force_save="1"
402
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
403
- />
404
- <field
405
- name="icms_sharing_percent"
406
- force_save="1"
407
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
408
- />
409
- <field
410
- name="icms_origin_value"
411
- force_save="1"
412
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
413
- />
414
- <field
415
- name="icms_destination_value"
416
- force_save="1"
417
- attrs="{'readonly': [('icms_tax_id', '!=', False)]}"
418
- />
419
- </group>
420
- <group
421
- name="icms_effective"
422
- string="ICMS Effective Calculation"
423
- attrs="{'invisible': [('icms_cst_code', 'not in', ('60', '500'))]}"
424
- >
425
- <field
426
- name="icms_effective_reduction"
427
- force_save="1"
428
- attr="{'invisible': [('icms_cst_code', '!=', '500')]}"
429
- />
430
- <field
431
- name="icms_effective_base"
432
- force_save="1"
433
- attr="{'invisible': [('icms_cst_code', '!=', '500')]}"
434
- />
435
- <field
436
- name="icms_effective_percent"
437
- force_save="1"
438
- attr="{'invisible': [('icms_cst_code', '!=', '500')]}"
439
- />
440
- <field
441
- name="icms_effective_value"
442
- force_save="1"
443
- attr="{'invisible': [('icms_cst_code', '!=', '500')]}"
444
- />
445
- </group>
446
- </group>
447
- </page>
448
- <page
449
- name="ipi"
450
- string="IPI"
451
- attrs="{'invisible': [('tax_icms_or_issqn', '=', 'issqn')]}"
452
- >
453
- <group string="IPI">
454
- <field
455
- name="ipi_tax_id"
456
- options="{'no_create': True, 'no_create_edit': True}"
457
- />
458
- <field
459
- name="ipi_cst_id"
460
- force_save="1"
461
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
462
- options="{'no_create': True, 'no_create_edit': True}"
463
- />
464
- <field name="ipi_cst_code" readonly="1" invisible="1" />
465
- <field
466
- name="ipi_guideline_id"
467
- force_save="1"
468
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
469
- options="{'no_create': True, 'no_create_edit': True}"
470
- />
471
- </group>
472
- <group>
473
- <group>
474
- <field
475
- name="ipi_base_type"
476
- force_save="1"
477
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
478
- />
479
- <field
480
- name="ipi_percent"
481
- force_save="1"
482
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
483
- />
484
- <field
485
- name="ipi_reduction"
486
- force_save="1"
487
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
488
- />
489
- </group>
490
- <group>
491
- <field
492
- name="ipi_base"
493
- force_save="1"
494
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
495
- />
496
- <field
497
- name="ipi_value"
498
- force_save="1"
499
- attrs="{'readonly': [('ipi_tax_id', '!=', False)]}"
500
- />
501
- </group>
502
- </group>
503
- <group
504
- string="Devolução do IPI"
505
- attrs="{'invisible': [('operation_fiscal_type', 'in', ['purchase', 'sale'])]}"
506
- >
507
- <field name="p_devol" />
508
- <field name="ipi_devol_value" />
509
- </group>
510
- </page>
511
- <page
512
- name="ii"
513
- string="II"
514
- attrs="{'invisible': [('cfop_destination', '!=', '3')]}"
515
- >
516
- <group string="II">
517
- <field
518
- name="ii_tax_id"
519
- options="{'no_create': True, 'no_create_edit': True}"
520
- />
521
- </group>
522
- <group>
523
- <group>
524
- <field name="ii_base" />
525
- <field name="ii_value" />
526
- </group>
527
- <group>
528
- <field name="ii_iof_value" />
529
- <field name="ii_customhouse_charges" />
530
- </group>
531
- </group>
532
- </page>
533
- <page name="pis" string="PIS">
534
- <group name="pis" string="PIS">
535
- <field
536
- name="pis_tax_id"
537
- options="{'no_create': True, 'no_create_edit': True}"
538
- />
539
- <field
540
- name="pis_cst_id"
541
- force_save="1"
542
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
543
- options="{'no_create': True, 'no_create_edit': True}"
544
- />
545
- <field name="pis_cst_code" readonly="1" invisible="1" />
546
- <field
547
- name="pis_credit_id"
548
- force_save="1"
549
- attrs="{'readonly': [('pis_tax_id', '!=', False)], 'invisible': [('fiscal_operation_type', '=', 'out')]}"
550
- options="{'no_create': True, 'no_create_edit': True}"
551
- />
552
- </group>
553
- <group>
554
- <group>
555
- <field
556
- name="pis_base_id"
557
- force_save="1"
558
- attrs="{'readonly': [('pis_tax_id', '!=', False)], 'invisible': [('fiscal_operation_type', '=', 'out')]}"
559
- options="{'no_create': True, 'no_create_edit': True}"
560
- />
561
- <field
562
- name="pis_base_type"
563
- force_save="1"
564
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
565
- />
566
- <field
567
- name="pis_percent"
568
- force_save="1"
569
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
570
- />
571
- <field
572
- name="pis_reduction"
573
- force_save="1"
574
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
575
- />
576
- </group>
577
- <group>
578
- <field
579
- name="pis_base"
580
- force_save="1"
581
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
582
- />
583
- <field
584
- name="pis_value"
585
- force_save="1"
586
- attrs="{'readonly': [('pis_tax_id', '!=', False)]}"
587
- />
588
- </group>
589
- </group>
590
- <group name="pis_st" string="PIS ST">
591
- <field
592
- name="pisst_tax_id"
593
- options="{'no_create': True, 'no_create_edit': True}"
594
- />
595
- <field
596
- name="pisst_cst_id"
597
- force_save="1"
598
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
599
- options="{'no_create': True, 'no_create_edit': True}"
600
- />
601
- <field name="pisst_cst_code" readonly="1" invisible="1" />
602
- </group>
603
- <group>
604
- <group>
605
- <field
606
- name="pisst_base_type"
607
- force_save="1"
608
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
609
- />
610
- <field
611
- name="pisst_percent"
612
- force_save="1"
613
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
614
- />
615
- <field
616
- name="pisst_reduction"
617
- force_save="1"
618
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
619
- />
620
- </group>
621
- <group>
622
- <field
623
- name="pisst_base"
624
- force_save="1"
625
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
626
- />
627
- <field
628
- name="pisst_value"
629
- force_save="1"
630
- attrs="{'readonly': [('pisst_tax_id', '!=', False)]}"
631
- />
632
- </group>
633
- </group>
634
- <group string="Retenções">
635
- <field
636
- name="pis_wh_tax_id"
637
- options="{'no_create': True, 'no_create_edit': True}"
638
- />
639
- </group>
640
- <group>
641
- <group>
642
- <field
643
- name="pis_wh_base"
644
- force_save="1"
645
- attrs="{'readonly': [('pis_wh_tax_id', '!=', False)]}"
646
- />
647
- <field
648
- name="pis_wh_percent"
649
- force_save="1"
650
- attrs="{'readonly': [('pis_wh_tax_id', '!=', False)]}"
651
- />
652
- </group>
653
- <group>
654
- <field
655
- name="pis_wh_reduction"
656
- force_save="1"
657
- attrs="{'readonly': [('pis_wh_tax_id', '!=', False)]}"
658
- />
659
- <field
660
- name="pis_wh_value"
661
- force_save="1"
662
- attrs="{'readonly': [('pis_wh_tax_id', '!=', False)]}"
663
- />
664
- </group>
665
- </group>
666
- </page>
667
- <page name="cofins" string="COFINS">
668
- <group name="cofins" string="COFINS">
669
- <field
670
- name="cofins_tax_id"
671
- options="{'no_create': True, 'no_create_edit': True}"
672
- />
673
- <field
674
- name="cofins_cst_id"
675
- force_save="1"
676
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
677
- options="{'no_create': True, 'no_create_edit': True}"
678
- />
679
- <field name="cofins_cst_code" readonly="1" invisible="1" />
680
- <field
681
- name="cofins_credit_id"
682
- force_save="1"
683
- attrs="{'readonly': [('cofins_tax_id', '!=', False)], 'invisible': [('fiscal_operation_type', '=', 'out')]}"
684
- options="{'no_create': True, 'no_create_edit': True}"
685
- />
686
- </group>
687
- <group>
688
- <group>
689
- <field
690
- name="cofins_base_id"
691
- force_save="1"
692
- attrs="{'readonly': [('cofins_tax_id', '!=', False)], 'invisible': [('fiscal_operation_type', '=', 'out')]}"
693
- options="{'no_create': True, 'no_create_edit': True}"
694
- />
695
- <field
696
- name="cofins_base_type"
697
- force_save="1"
698
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
699
- />
700
- <field
701
- name="cofins_percent"
702
- force_save="1"
703
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
704
- />
705
- <field
706
- name="cofins_reduction"
707
- force_save="1"
708
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
709
- />
710
- </group>
711
- <group>
712
- <field
713
- name="cofins_base"
714
- force_save="1"
715
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
716
- />
717
- <field
718
- name="cofins_value"
719
- force_save="1"
720
- attrs="{'readonly': [('cofins_tax_id', '!=', False)]}"
721
- />
722
- </group>
723
- </group>
724
- <group name="cofins_st" string="COFINS ST">
725
- <field
726
- name="cofinsst_tax_id"
727
- options="{'no_create': True, 'no_create_edit': True}"
728
- />
729
- <field
730
- name="cofinsst_cst_id"
731
- force_save="1"
732
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
733
- options="{'no_create': True, 'no_create_edit': True}"
734
- />
735
- <field name="cofinsst_cst_code" readonly="1" invisible="1" />
736
- </group>
737
- <group>
738
- <group>
739
- <field
740
- name="cofinsst_base_type"
741
- force_save="1"
742
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
743
- />
744
- <field
745
- name="cofinsst_percent"
746
- force_save="1"
747
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
748
- />
749
- <field
750
- name="cofinsst_reduction"
751
- force_save="1"
752
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
753
- />
754
- </group>
755
- <group>
756
- <field
757
- name="cofinsst_base"
758
- force_save="1"
759
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
760
- />
761
- <field
762
- name="cofinsst_value"
763
- force_save="1"
764
- attrs="{'readonly': [('cofinsst_tax_id', '!=', False)]}"
765
- />
766
- </group>
767
- </group>
768
- <group string="Retenções">
769
- <field
770
- name="cofins_wh_tax_id"
771
- options="{'no_create': True, 'no_create_edit': True}"
772
- />
773
- </group>
774
- <group>
775
- <group>
776
- <field
777
- name="cofins_wh_base"
778
- force_save="1"
779
- attrs="{'readonly': [('cofins_wh_tax_id', '!=', False)]}"
780
- />
781
- <field
782
- name="cofins_wh_percent"
783
- force_save="1"
784
- attrs="{'readonly': [('cofins_wh_tax_id', '!=', False)]}"
785
- />
786
- </group>
787
- <group>
788
- <field
789
- name="cofins_wh_reduction"
790
- force_save="1"
791
- attrs="{'readonly': [('cofins_wh_tax_id', '!=', False)]}"
792
- />
793
- <field
794
- name="cofins_wh_value"
795
- force_save="1"
796
- attrs="{'readonly': [('cofins_wh_tax_id', '!=', False)]}"
797
- />
798
- </group>
799
- </group>
800
- </page>
801
- <page
802
- name="csll"
803
- string="CSLL"
804
- attrs="{'invisible': [('allow_csll_irpj', '=', False)]}"
805
- >
806
- <group>
807
- <field name="csll_tax_id" />
808
- </group>
809
- <group>
810
- <group>
811
- <field
812
- name="csll_base"
813
- force_save="1"
814
- attrs="{'readonly': [('csll_tax_id', '!=', False)]}"
815
- />
816
- <field
817
- name="csll_percent"
818
- force_save="1"
819
- attrs="{'readonly': [('csll_tax_id', '!=', False)]}"
820
- />
821
- </group>
822
- <group>
823
- <field
824
- name="csll_reduction"
825
- force_save="1"
826
- attrs="{'readonly': [('csll_tax_id', '!=', False)]}"
827
- />
828
- <field
829
- name="csll_value"
830
- force_save="1"
831
- attrs="{'readonly': [('csll_tax_id', '!=', False)]}"
832
- />
833
- </group>
834
- </group>
835
- <group string="Retenções">
836
- <field
837
- name="csll_wh_tax_id"
838
- options="{'no_create': True, 'no_create_edit': True}"
839
- />
840
- </group>
841
- <group>
842
- <group>
843
- <field
844
- name="csll_wh_base"
845
- force_save="1"
846
- attrs="{'readonly': [('csll_wh_tax_id', '!=', False)]}"
847
- />
848
- <field
849
- name="csll_wh_percent"
850
- force_save="1"
851
- attrs="{'readonly': [('csll_wh_tax_id', '!=', False)]}"
852
- />
853
- </group>
854
- <group>
855
- <field
856
- name="csll_wh_reduction"
857
- force_save="1"
858
- attrs="{'readonly': [('csll_wh_tax_id', '!=', False)]}"
859
- />
860
- <field
861
- name="csll_wh_value"
862
- force_save="1"
863
- attrs="{'readonly': [('csll_wh_tax_id', '!=', False)]}"
864
- />
865
- </group>
866
- </group>
867
- </page>
868
- <page
869
- name="irpj"
870
- string="IRPJ"
871
- attrs="{'invisible': [('allow_csll_irpj', '=', False)]}"
872
- >
873
- <group>
874
- <field
875
- name="irpj_tax_id"
876
- options="{'no_create': True, 'no_create_edit': True}"
877
- />
878
- </group>
879
- <group>
880
- <group>
881
- <field
882
- name="irpj_base"
883
- force_save="1"
884
- attrs="{'readonly': [('irpj_tax_id', '!=', False)]}"
885
- />
886
- <field
887
- name="irpj_percent"
888
- force_save="1"
889
- attrs="{'readonly': [('irpj_tax_id', '!=', False)]}"
890
- />
891
- </group>
892
- <group>
893
- <field
894
- name="irpj_reduction"
895
- force_save="1"
896
- attrs="{'readonly': [('irpj_tax_id', '!=', False)]}"
897
- />
898
- <field
899
- name="irpj_value"
900
- force_save="1"
901
- attrs="{'readonly': [('irpj_tax_id', '!=', False)]}"
902
- />
903
- </group>
904
- </group>
905
- <group string="Retenções">
906
- <field
907
- name="irpj_wh_tax_id"
908
- options="{'no_create': True, 'no_create_edit': True}"
909
- />
910
- </group>
911
- <group>
912
- <group>
913
- <field
914
- name="irpj_wh_base"
915
- force_save="1"
916
- attrs="{'readonly': [('irpj_wh_tax_id', '!=', False)]}"
917
- />
918
- <field
919
- name="irpj_wh_percent"
920
- force_save="1"
921
- attrs="{'readonly': [('irpj_wh_tax_id', '!=', False)]}"
922
- />
923
- </group>
924
- <group>
925
- <field
926
- name="irpj_wh_reduction"
927
- force_save="1"
928
- attrs="{'readonly': [('irpj_wh_tax_id', '!=', False)]}"
929
- />
930
- <field
931
- name="irpj_wh_value"
932
- force_save="1"
933
- attrs="{'readonly': [('irpj_wh_tax_id', '!=', False)]}"
934
- />
935
- </group>
936
- </group>
937
- </page>
938
- <page
939
- name="inss"
940
- string="INSS"
941
- attrs="{'invisible': [('fiscal_genre_code', '!=', '00')]}"
942
- >
943
- <group>
944
- <field
945
- name="inss_tax_id"
946
- options="{'no_create': True, 'no_create_edit': True}"
947
- />
948
- </group>
949
- <group>
950
- <group>
951
- <field
952
- name="inss_base"
953
- force_save="1"
954
- attrs="{'readonly': [('inss_tax_id', '!=', False)]}"
955
- />
956
- <field
957
- name="inss_percent"
958
- force_save="1"
959
- attrs="{'readonly': [('inss_tax_id', '!=', False)]}"
960
- />
961
- </group>
962
- <group>
963
- <field
964
- name="inss_reduction"
965
- force_save="1"
966
- attrs="{'readonly': [('inss_tax_id', '!=', False)]}"
967
- />
968
- <field
969
- name="inss_value"
970
- force_save="1"
971
- attrs="{'readonly': [('inss_tax_id', '!=', False)]}"
972
- />
973
- </group>
974
- </group>
975
- <group string="Retenções">
976
- <field
977
- name="inss_wh_tax_id"
978
- options="{'no_create': True, 'no_create_edit': True}"
979
- />
980
- </group>
981
- <group>
982
- <group>
983
- <field
984
- name="inss_wh_base"
985
- force_save="1"
986
- attrs="{'readonly': [('inss_wh_tax_id', '!=', False)]}"
987
- />
988
- <field
989
- name="inss_wh_percent"
990
- force_save="1"
991
- attrs="{'readonly': [('inss_wh_tax_id', '!=', False)]}"
992
- />
993
- </group>
994
- <group>
995
- <field
996
- name="inss_wh_reduction"
997
- force_save="1"
998
- attrs="{'readonly': [('inss_wh_tax_id', '!=', False)]}"
999
- />
1000
- <field
1001
- name="inss_wh_value"
1002
- force_save="1"
1003
- attrs="{'readonly': [('inss_wh_tax_id', '!=', False)]}"
1004
- />
1005
- </group>
1006
- </group>
1007
- </page>
1008
- </notebook>
1009
- </page>
1010
- <page name="fiscal_line_extra_info" string="Extra Info">
1011
- <group>
1012
- <field name="partner_order" />
1013
- <field name="partner_order_line" />
1014
- </group>
1015
- <group>
1016
- <field name="comment_ids" widget="many2many_tags" />
1017
- <field name="manual_additional_data" />
1018
- <field name="additional_data" readonly="1" />
1019
- </group>
1020
- </page>
1021
- </notebook>
1022
- </form>
1023
- </field>
1024
- </record>
1025
-
1026
- </odoo>