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,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
2
  <odoo>
3
-
4
3
  <!-- Main Menu -->
5
4
  <menuitem
6
5
  id="fiscal_menu"
@@ -9,7 +8,6 @@
9
8
  web_icon="l10n_br_fiscal,static/description/icon.png"
10
9
  sequence="30"
11
10
  />
12
-
13
11
  <!-- Fiscal Overview -->
14
12
  <menuitem
15
13
  id="overview_menu"
@@ -19,7 +17,6 @@
19
17
  parent="fiscal_menu"
20
18
  sequence="0"
21
19
  />
22
-
23
20
  <!-- Fiscal Documents-->
24
21
  <menuitem
25
22
  id="document_menu"
@@ -28,7 +25,6 @@
28
25
  parent="fiscal_menu"
29
26
  sequence="10"
30
27
  />
31
-
32
28
  <!-- NFe Fiscal Documents-->
33
29
  <menuitem
34
30
  id="document_nfe_menu"
@@ -37,7 +33,6 @@
37
33
  parent="document_menu"
38
34
  sequence="10"
39
35
  />
40
-
41
36
  <!-- NFSe Fiscal Documents-->
42
37
  <menuitem
43
38
  id="document_nfse_menu"
@@ -46,7 +41,6 @@
46
41
  parent="document_menu"
47
42
  sequence="11"
48
43
  />
49
-
50
44
  <!-- CTe Fiscal Documents-->
51
45
  <menuitem
52
46
  id="document_cte_menu"
@@ -55,7 +49,6 @@
55
49
  parent="document_menu"
56
50
  sequence="20"
57
51
  />
58
-
59
52
  <!-- Sub Menu for All Documents-->
60
53
  <menuitem
61
54
  id="document_sub_menu"
@@ -64,7 +57,6 @@
64
57
  parent="document_menu"
65
58
  sequence="999"
66
59
  />
67
-
68
60
  <!-- Incomming Documents -->
69
61
  <menuitem
70
62
  id="document_in_menu"
@@ -74,7 +66,6 @@
74
66
  parent="document_sub_menu"
75
67
  sequence="10"
76
68
  />
77
-
78
69
  <!-- Outgoing Documents -->
79
70
  <menuitem
80
71
  id="document_out_menu"
@@ -84,7 +75,6 @@
84
75
  parent="document_sub_menu"
85
76
  sequence="20"
86
77
  />
87
-
88
78
  <!-- All Documents -->
89
79
  <menuitem
90
80
  id="document_all_menu"
@@ -94,7 +84,6 @@
94
84
  parent="document_sub_menu"
95
85
  sequence="30"
96
86
  />
97
-
98
87
  <!-- Partners -->
99
88
  <menuitem
100
89
  id="partners_menu"
@@ -103,7 +92,6 @@
103
92
  parent="fiscal_menu"
104
93
  sequence="20"
105
94
  />
106
-
107
95
  <!-- Partner -->
108
96
  <menuitem
109
97
  id="partner_menu"
@@ -113,7 +101,6 @@
113
101
  parent="partners_menu"
114
102
  sequence="10"
115
103
  />
116
-
117
104
  <!-- Company -->
118
105
  <menuitem
119
106
  id="company_menu"
@@ -123,7 +110,6 @@
123
110
  parent="partners_menu"
124
111
  sequence="20"
125
112
  />
126
-
127
113
  <!-- Adresses -->
128
114
  <menuitem
129
115
  id="andresses_menu"
@@ -132,7 +118,6 @@
132
118
  parent="partners_menu"
133
119
  sequence="30"
134
120
  />
135
-
136
121
  <!-- Country -->
137
122
  <menuitem
138
123
  id="country_menu"
@@ -142,7 +127,6 @@
142
127
  parent="andresses_menu"
143
128
  sequence="10"
144
129
  />
145
-
146
130
  <!-- Country Group -->
147
131
  <menuitem
148
132
  id="country_group_menu"
@@ -152,7 +136,6 @@
152
136
  parent="andresses_menu"
153
137
  sequence="20"
154
138
  />
155
-
156
139
  <!-- State -->
157
140
  <menuitem
158
141
  id="state_menu"
@@ -162,7 +145,6 @@
162
145
  parent="andresses_menu"
163
146
  sequence="30"
164
147
  />
165
-
166
148
  <!-- City -->
167
149
  <menuitem
168
150
  id="city_menu"
@@ -172,7 +154,6 @@
172
154
  parent="andresses_menu"
173
155
  sequence="40"
174
156
  />
175
-
176
157
  <!-- Product and Service -->
177
158
  <menuitem
178
159
  id="product_service_menu"
@@ -181,7 +162,6 @@
181
162
  parent="fiscal_menu"
182
163
  sequence="30"
183
164
  />
184
-
185
165
  <!-- Product -->
186
166
  <menuitem
187
167
  id="product_menu"
@@ -190,7 +170,6 @@
190
170
  parent="product_service_menu"
191
171
  sequence="10"
192
172
  />
193
-
194
173
  <!-- Service -->
195
174
  <menuitem
196
175
  id="menu_service"
@@ -199,7 +178,6 @@
199
178
  parent="product_service_menu"
200
179
  sequence="20"
201
180
  />
202
-
203
181
  <!-- Product Category -->
204
182
  <menuitem
205
183
  id="product_category_menu"
@@ -208,7 +186,6 @@
208
186
  parent="product_service_menu"
209
187
  sequence="30"
210
188
  />
211
-
212
189
  <!-- Product UOM -->
213
190
  <menuitem
214
191
  id="uom_menu"
@@ -217,7 +194,6 @@
217
194
  parent="product_service_menu"
218
195
  sequence="40"
219
196
  />
220
-
221
197
  <!-- Accountant Menu -->
222
198
  <menuitem
223
199
  id="accountant_menu"
@@ -226,7 +202,6 @@
226
202
  parent="fiscal_menu"
227
203
  sequence="900"
228
204
  />
229
-
230
205
  <!-- Configuration Menu -->
231
206
  <menuitem
232
207
  id="configuration_menu"
@@ -235,7 +210,6 @@
235
210
  parent="fiscal_menu"
236
211
  sequence="999"
237
212
  />
238
-
239
213
  <!-- Configuration Settings -->
240
214
  <menuitem
241
215
  id="fiscal_config_menu"
@@ -244,7 +218,6 @@
244
218
  parent="configuration_menu"
245
219
  sequence="0"
246
220
  />
247
-
248
221
  <!-- Partners Settings -->
249
222
  <menuitem
250
223
  id="partners_config_menu"
@@ -253,7 +226,6 @@
253
226
  parent="configuration_menu"
254
227
  sequence="10"
255
228
  />
256
-
257
229
  <!-- Legal Nature -->
258
230
  <menuitem
259
231
  id="legal_nature_menu"
@@ -262,7 +234,6 @@
262
234
  parent="partners_config_menu"
263
235
  sequence="10"
264
236
  />
265
-
266
237
  <!-- CNAE -->
267
238
  <menuitem
268
239
  id="cnae_menu"
@@ -271,7 +242,6 @@
271
242
  parent="partners_config_menu"
272
243
  sequence="20"
273
244
  />
274
-
275
245
  <!-- Partner Profile -->
276
246
  <menuitem
277
247
  id="partner_profile_menu"
@@ -280,7 +250,6 @@
280
250
  parent="partners_config_menu"
281
251
  sequence="140"
282
252
  />
283
-
284
253
  <!-- Products Settings -->
285
254
  <menuitem
286
255
  id="products_config_menu"
@@ -289,7 +258,6 @@
289
258
  parent="configuration_menu"
290
259
  sequence="20"
291
260
  />
292
-
293
261
  <!-- NBS -->
294
262
  <menuitem
295
263
  id="nbs_menu"
@@ -298,16 +266,14 @@
298
266
  parent="products_config_menu"
299
267
  sequence="10"
300
268
  />
301
-
302
269
  <!-- Service Type -->
303
- <menuitem
270
+ <!--menuitem
304
271
  id="service_type_menu"
305
272
  action="service_type_action"
306
273
  groups="l10n_br_fiscal.group_manager"
307
274
  parent="products_config_menu"
308
275
  sequence="20"
309
- />
310
-
276
+ /-->
311
277
  <!-- NCM -->
312
278
  <menuitem
313
279
  id="ncm_menu"
@@ -316,7 +282,6 @@
316
282
  parent="products_config_menu"
317
283
  sequence="30"
318
284
  />
319
-
320
285
  <!-- CEST -->
321
286
  <menuitem
322
287
  id="cest_menu"
@@ -325,7 +290,6 @@
325
290
  parent="products_config_menu"
326
291
  sequence="40"
327
292
  />
328
-
329
293
  <!-- NBM -->
330
294
  <menuitem
331
295
  id="nbm_menu"
@@ -334,7 +298,6 @@
334
298
  parent="products_config_menu"
335
299
  sequence="50"
336
300
  />
337
-
338
301
  <!-- Fiscal Product Genre -->
339
302
  <menuitem
340
303
  id="product_genre_menu"
@@ -343,7 +306,6 @@
343
306
  parent="products_config_menu"
344
307
  sequence="50"
345
308
  />
346
-
347
309
  <!-- Taxes Settings -->
348
310
  <menuitem
349
311
  id="taxes_config_menu"
@@ -352,7 +314,6 @@
352
314
  parent="configuration_menu"
353
315
  sequence="30"
354
316
  />
355
-
356
317
  <!-- Tax Group -->
357
318
  <menuitem
358
319
  id="tax_group_menu"
@@ -361,7 +322,6 @@
361
322
  parent="taxes_config_menu"
362
323
  sequence="10"
363
324
  />
364
-
365
325
  <!-- Tax -->
366
326
  <menuitem
367
327
  id="tax_menu"
@@ -370,7 +330,6 @@
370
330
  parent="taxes_config_menu"
371
331
  sequence="20"
372
332
  />
373
-
374
333
  <!-- Simplified Tax -->
375
334
  <menuitem
376
335
  id="simplified_tax_menu"
@@ -379,7 +338,6 @@
379
338
  parent="taxes_config_menu"
380
339
  sequence="30"
381
340
  />
382
-
383
341
  <!-- Tax ICMS Settings -->
384
342
  <menuitem
385
343
  id="tax_icms_config_menu"
@@ -388,7 +346,6 @@
388
346
  parent="taxes_config_menu"
389
347
  sequence="40"
390
348
  />
391
-
392
349
  <!-- Tax ICMS Relief -->
393
350
  <menuitem
394
351
  id="tax_icms_relief_menu"
@@ -397,7 +354,6 @@
397
354
  parent="tax_icms_config_menu"
398
355
  sequence="10"
399
356
  />
400
-
401
357
  <!-- Tax ICMS Regulation -->
402
358
  <menuitem
403
359
  id="tax_icms_regulation_menu"
@@ -406,7 +362,6 @@
406
362
  parent="tax_icms_config_menu"
407
363
  sequence="20"
408
364
  />
409
-
410
365
  <!-- Tax ISSQN Settings -->
411
366
  <menuitem
412
367
  id="tax_issqn_config_menu"
@@ -415,7 +370,6 @@
415
370
  parent="taxes_config_menu"
416
371
  sequence="50"
417
372
  />
418
-
419
373
  <!-- City Taxation Code-->
420
374
  <menuitem
421
375
  id="city_taxation_code_menu"
@@ -424,7 +378,6 @@
424
378
  parent="tax_issqn_config_menu"
425
379
  sequence="10"
426
380
  />
427
-
428
381
  <!-- Tax IPI Settings -->
429
382
  <menuitem
430
383
  id="tax_ipi_config_menu"
@@ -433,7 +386,6 @@
433
386
  parent="taxes_config_menu"
434
387
  sequence="60"
435
388
  />
436
-
437
389
  <!-- Tax IPI Control Seal -->
438
390
  <menuitem
439
391
  id="tax_ipi_control_seal_menu"
@@ -442,7 +394,6 @@
442
394
  parent="tax_ipi_config_menu"
443
395
  sequence="10"
444
396
  />
445
-
446
397
  <!-- Tax IPI Guideline -->
447
398
  <menuitem
448
399
  id="tax_ipi_guideline_menu"
@@ -451,7 +402,6 @@
451
402
  parent="tax_ipi_config_menu"
452
403
  sequence="20"
453
404
  />
454
-
455
405
  <!-- Tax IPI Guideline Class -->
456
406
  <menuitem
457
407
  id="tax_ipi_guideline_class_menu"
@@ -460,7 +410,6 @@
460
410
  parent="tax_ipi_config_menu"
461
411
  sequence="30"
462
412
  />
463
-
464
413
  <!-- Tax PIS COFINS Settings -->
465
414
  <menuitem
466
415
  id="tax_pis_cofins_config_menu"
@@ -469,7 +418,6 @@
469
418
  parent="taxes_config_menu"
470
419
  sequence="70"
471
420
  />
472
-
473
421
  <!-- Tax PIS COFINS -->
474
422
  <menuitem
475
423
  id="tax_pis_cofins_menu"
@@ -478,7 +426,6 @@
478
426
  parent="tax_pis_cofins_config_menu"
479
427
  sequence="10"
480
428
  />
481
-
482
429
  <!-- Tax PIS COFINS Base -->
483
430
  <menuitem
484
431
  id="tax_pis_cofins_base_menu"
@@ -487,7 +434,6 @@
487
434
  parent="tax_pis_cofins_config_menu"
488
435
  sequence="20"
489
436
  />
490
-
491
437
  <!-- Tax PIS COFINS Credit -->
492
438
  <menuitem
493
439
  id="tax_pis_cofins_credit_menu"
@@ -496,7 +442,6 @@
496
442
  parent="tax_pis_cofins_config_menu"
497
443
  sequence="30"
498
444
  />
499
-
500
445
  <!-- Operations Settings -->
501
446
  <menuitem
502
447
  id="operations_config_menu"
@@ -505,7 +450,6 @@
505
450
  parent="configuration_menu"
506
451
  sequence="40"
507
452
  />
508
-
509
453
  <!-- Operation -->
510
454
  <menuitem
511
455
  id="operation_menu"
@@ -514,7 +458,6 @@
514
458
  parent="operations_config_menu"
515
459
  sequence="10"
516
460
  />
517
-
518
461
  <!-- CFOP -->
519
462
  <menuitem
520
463
  id="cfop_menu"
@@ -523,7 +466,6 @@
523
466
  parent="operations_config_menu"
524
467
  sequence="20"
525
468
  />
526
-
527
469
  <!-- CST -->
528
470
  <menuitem
529
471
  id="cst_menu"
@@ -532,7 +474,6 @@
532
474
  parent="operations_config_menu"
533
475
  sequence="30"
534
476
  />
535
-
536
477
  <!-- Others Settings -->
537
478
  <menuitem
538
479
  id="others_config_menu"
@@ -541,7 +482,6 @@
541
482
  parent="configuration_menu"
542
483
  sequence="999"
543
484
  />
544
-
545
485
  <!-- Fiscal Document -->
546
486
  <menuitem
547
487
  id="document_type_menu"
@@ -550,7 +490,6 @@
550
490
  parent="others_config_menu"
551
491
  sequence="10"
552
492
  />
553
-
554
493
  <!-- Fiscal Document Serie -->
555
494
  <menuitem
556
495
  id="document_serie_menu"
@@ -559,7 +498,6 @@
559
498
  parent="others_config_menu"
560
499
  sequence="20"
561
500
  />
562
-
563
501
  <!-- Comment -->
564
502
  <menuitem
565
503
  id="comment_menu"
@@ -568,5 +506,4 @@
568
506
  parent="others_config_menu"
569
507
  sequence="50"
570
508
  />
571
-
572
509
  </odoo>
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
2
  <odoo>
3
-
4
3
  <record id="legal_nature_search" model="ir.ui.view">
5
4
  <field name="name">l10n_br_fiscal.legal.nature.search</field>
6
5
  <field name="model">l10n_br_fiscal.legal.nature</field>
@@ -38,5 +37,4 @@
38
37
  </form>
39
38
  </field>
40
39
  </record>
41
-
42
40
  </odoo>
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
2
  <odoo>
3
-
4
3
  <record id="nbm_search" model="ir.ui.view">
5
4
  <field name="name">l10n_br_fiscal.nbm.search</field>
6
5
  <field name="model">l10n_br_fiscal.nbm</field>
@@ -37,17 +36,18 @@
37
36
  <div class="oe_kanban_global_click">
38
37
  <div class="oe_kanban_details">
39
38
  <strong class="o_kanban_record_title">
40
- <h2><field name="code" /></h2>
39
+ <h2>
40
+ <field name="code" />
41
+ </h2>
41
42
  </strong>
42
43
  <strong class="o_kanban_record_title">
43
44
  <field name="name" />
44
45
  </strong>
45
46
  <div t-if="record.product_tmpl_qty.value &gt;= 1">
46
47
  <strong>
47
- <t
48
+ <t
48
49
  t-esc="record.product_tmpl_qty.value"
49
- /> Product(s)
50
- </strong>
50
+ />Product(s)</strong>
51
51
  </div>
52
52
  </div>
53
53
  </div>
@@ -70,8 +70,8 @@
70
70
  id="product_tmpl_button"
71
71
  icon="fa-bars"
72
72
  name="%(product.product_template_action_all)d"
73
- context="{'search_default_nbm_id': active_id}"
74
- attrs="{'invisible': [('product_tmpl_qty', '=', 0)]}"
73
+ context="{'search_default_nbm_id': id}"
74
+ invisible="product_tmpl_qty == 0"
75
75
  >
76
76
  <field
77
77
  string="Products"
@@ -118,5 +118,4 @@
118
118
  </form>
119
119
  </field>
120
120
  </record>
121
-
122
121
  </odoo>
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
2
  <odoo>
3
-
4
3
  <record id="nbs_search" model="ir.ui.view">
5
4
  <field name="name">l10n_br_fiscal.nbs.search</field>
6
5
  <field name="model">l10n_br_fiscal.nbs</field>
@@ -37,17 +36,18 @@
37
36
  <div class="oe_kanban_global_click">
38
37
  <div class="oe_kanban_details">
39
38
  <strong class="o_kanban_record_title">
40
- <h2><field name="code" /></h2>
39
+ <h2>
40
+ <field name="code" />
41
+ </h2>
41
42
  </strong>
42
43
  <strong class="o_kanban_record_title">
43
44
  <field name="name" />
44
45
  </strong>
45
46
  <div t-if="record.product_tmpl_qty.value &gt;= 1">
46
47
  <strong>
47
- <t
48
+ <t
48
49
  t-esc="record.product_tmpl_qty.value"
49
- /> Product(s)
50
- </strong>
50
+ />Product(s)</strong>
51
51
  </div>
52
52
  </div>
53
53
  </div>
@@ -79,7 +79,7 @@
79
79
  icon="fa-bars"
80
80
  name="%(product.product_template_action_all)d"
81
81
  domain="['|', ('fiscal_type', '=', '09'), ('fiscal_type', '=', False), ('type', '=', 'service')]"
82
- context="{'search_default_nbs_id': active_id, 'default_fiscal_type': '09', 'default_type': 'service'}"
82
+ context="{'search_default_nbs_id': id, 'default_fiscal_type': '09', 'default_type': 'service'}"
83
83
  attrs="{'invisible': [('product_tmpl_qty', '=', 0)]}"
84
84
  >
85
85
  <field
@@ -118,5 +118,4 @@
118
118
  </form>
119
119
  </field>
120
120
  </record>
121
-
122
121
  </odoo>
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
2
  <odoo>
3
-
4
3
  <record id="ncm_search" model="ir.ui.view">
5
4
  <field name="name">l10n_br_fiscal.ncm.search</field>
6
5
  <field name="model">l10n_br_fiscal.ncm</field>
@@ -9,15 +8,15 @@
9
8
  <field name="code" />
10
9
  <field name="name" />
11
10
  <field name="exception" />
12
- <group expand='0' string='Group By...'>
11
+ <group expand="0" string="Group By...">
13
12
  <filter
14
- string='IPI'
13
+ string="IPI"
15
14
  name="tax_ipi_id"
16
15
  domain="[]"
17
16
  context="{'group_by' : 'tax_ipi_id'}"
18
17
  />
19
18
  <filter
20
- string='II'
19
+ string="II"
21
20
  name="tax_ii_id"
22
21
  domain="[]"
23
22
  context="{'group_by' : 'tax_ii_id'}"
@@ -62,25 +61,24 @@
62
61
  <div class="oe_kanban_global_click">
63
62
  <div class="oe_kanban_details">
64
63
  <strong class="o_kanban_record_title">
65
- <h2><field name="code" /></h2>
64
+ <h2>
65
+ <field name="code" />
66
+ </h2>
66
67
  </strong>
67
68
  <strong class="o_kanban_record_title">
68
69
  <field name="name" />
69
70
  </strong>
70
71
  <div t-if="record.product_tmpl_qty.value &gt;= 1">
71
72
  <strong>
72
- <t
73
+ <t
73
74
  t-esc="record.product_tmpl_qty.value"
74
- /> Product(s)
75
- </strong>
75
+ />Product(s)</strong>
76
76
  </div>
77
77
  <div>
78
- <field name="tax_ipi_id" /><span
79
- t-if="record.tax_ii_id.value"
80
- > - </span>
81
- <field name="tax_ii_id" /><span
82
- t-if="record.uoe_id.value"
83
- > - </span>
78
+ <field name="tax_ipi_id" />
79
+ <span t-if="record.tax_ii_id.value">-</span>
80
+ <field name="tax_ii_id" />
81
+ <span t-if="record.uoe_id.value">-</span>
84
82
  <field name="uoe_id" />
85
83
  <field name="uot_id" />
86
84
  </div>
@@ -102,7 +100,7 @@
102
100
  name="web_ribbon"
103
101
  title="Archived"
104
102
  bg_color="bg-danger"
105
- attrs="{'invisible': [('active', '=', True)]}"
103
+ invisible="active"
106
104
  />
107
105
  <div class="oe_button_box" name="button_box">
108
106
  <button
@@ -119,8 +117,8 @@
119
117
  id="product_tmpl_button"
120
118
  icon="fa-bars"
121
119
  name="%(product.product_template_action_all)d"
122
- context="{'search_default_ncm_id': active_id}"
123
- attrs="{'invisible': [('product_tmpl_qty', '=', 0)]}"
120
+ context="{'search_default_ncm_id': id}"
121
+ invisible="product_tmpl_qty == 0"
124
122
  >
125
123
  <field
126
124
  string="Products"
@@ -170,5 +168,4 @@
170
168
  </form>
171
169
  </field>
172
170
  </record>
173
-
174
171
  </odoo>