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