odoo-addon-l10n-br-fiscal 16.0.11.3.0__py3-none-any.whl → 16.0.11.5.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.

Potentially problematic release.


This version of odoo-addon-l10n-br-fiscal might be problematic. Click here for more details.

@@ -11,7 +11,7 @@ Módulo fiscal brasileiro
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:3612e46c6fb955a94d39c6bced2a46abadbb539336d76697fbd63869b54cdac5
14
+ !! source digest: sha256:dd9f065758d59e68e7d24a53621956cc9e6911bb9e58b0ac89b2e202085a51dc
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -10,7 +10,7 @@
10
10
  "maintainers": ["renatonlima", "rvalyi"],
11
11
  "website": "https://github.com/OCA/l10n-brazil",
12
12
  "development_status": "Production/Stable",
13
- "version": "16.0.11.3.0",
13
+ "version": "16.0.11.5.0",
14
14
  "depends": [
15
15
  "product",
16
16
  "uom_alias",
@@ -47,13 +47,6 @@
47
47
  <value eval="[ref('demo_nfe_line_same_state_1-1')]" />
48
48
  </function>
49
49
 
50
- <function
51
- model="l10n_br_fiscal.document.line"
52
- name="_onchange_fiscal_operation_line_id"
53
- >
54
- <value eval="[ref('demo_nfe_line_same_state_1-1')]" />
55
- </function>
56
-
57
50
  <record id="demo_nfe_line_same_state_1-2" model="l10n_br_fiscal.document.line">
58
51
  <field name="document_id" ref="demo_nfe_same_state" />
59
52
  <field name="name">Teste</field>
@@ -76,13 +69,6 @@
76
69
  <value eval="[ref('demo_nfe_line_same_state_1-2')]" />
77
70
  </function>
78
71
 
79
- <function
80
- model="l10n_br_fiscal.document.line"
81
- name="_onchange_fiscal_operation_line_id"
82
- >
83
- <value eval="[ref('demo_nfe_line_same_state_1-2')]" />
84
- </function>
85
-
86
72
  <!-- NFe Test - Empresa Contribuinte - Outro Estado -->
87
73
  <record id="demo_nfe_other_state" model="l10n_br_fiscal.document">
88
74
  <field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
@@ -120,13 +106,6 @@
120
106
  <value eval="[ref('demo_nfe_line_other_state_1-3')]" />
121
107
  </function>
122
108
 
123
- <function
124
- model="l10n_br_fiscal.document.line"
125
- name="_onchange_fiscal_operation_line_id"
126
- >
127
- <value eval="[ref('demo_nfe_line_other_state_1-3')]" />
128
- </function>
129
-
130
109
  <record id="demo_nfe_line_other_state_2-3" model="l10n_br_fiscal.document.line">
131
110
  <field name="document_id" ref="demo_nfe_other_state" />
132
111
  <field name="name">Teste</field>
@@ -149,13 +128,6 @@
149
128
  <value eval="[ref('demo_nfe_line_other_state_2-3')]" />
150
129
  </function>
151
130
 
152
- <function
153
- model="l10n_br_fiscal.document.line"
154
- name="_onchange_fiscal_operation_line_id"
155
- >
156
- <value eval="[ref('demo_nfe_line_other_state_2-3')]" />
157
- </function>
158
-
159
131
  <record id="demo_nfe_line_other_state_3-3" model="l10n_br_fiscal.document.line">
160
132
  <field name="document_id" ref="demo_nfe_other_state" />
161
133
  <field name="name">Teste</field>
@@ -179,13 +151,6 @@
179
151
  <value eval="[ref('demo_nfe_line_other_state_3-3')]" />
180
152
  </function>
181
153
 
182
- <function
183
- model="l10n_br_fiscal.document.line"
184
- name="_onchange_fiscal_operation_line_id"
185
- >
186
- <value eval="[ref('demo_nfe_line_other_state_3-3')]" />
187
- </function>
188
-
189
154
  <!-- NFe Test - Empresa Contribuinte - Exterior -->
190
155
  <record id="demo_nfe_export" model="l10n_br_fiscal.document">
191
156
  <field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
@@ -225,13 +190,6 @@
225
190
  <value eval="[ref('demo_nfe_line_export_3-1')]" />
226
191
  </function>
227
192
 
228
- <function
229
- model="l10n_br_fiscal.document.line"
230
- name="_onchange_fiscal_operation_line_id"
231
- >
232
- <value eval="[ref('demo_nfe_line_export_3-1')]" />
233
- </function>
234
-
235
193
  <record id="demo_nfe_line_export_3-2" model="l10n_br_fiscal.document.line">
236
194
  <field name="document_id" ref="demo_nfe_export" />
237
195
  <field name="name">Teste</field>
@@ -254,13 +212,6 @@
254
212
  <value eval="[ref('demo_nfe_line_export_3-2')]" />
255
213
  </function>
256
214
 
257
- <function
258
- model="l10n_br_fiscal.document.line"
259
- name="_onchange_fiscal_operation_line_id"
260
- >
261
- <value eval="[ref('demo_nfe_line_export_3-2')]" />
262
- </function>
263
-
264
215
  <!-- NFe Test - Empresa Contribuinte - Nao Contribuinte PJ -->
265
216
  <record id="demo_nfe_nao_contribuinte" model="l10n_br_fiscal.document">
266
217
  <field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
@@ -312,13 +263,6 @@
312
263
  <value eval="[ref('demo_nfe_line_nao_contribuinte_4-1')]" />
313
264
  </function>
314
265
 
315
- <function
316
- model="l10n_br_fiscal.document.line"
317
- name="_onchange_fiscal_operation_line_id"
318
- >
319
- <value eval="[ref('demo_nfe_line_nao_contribuinte_4-1')]" />
320
- </function>
321
-
322
266
  <record
323
267
  id="demo_nfe_line_nao_contribuinte_4-2"
324
268
  model="l10n_br_fiscal.document.line"
@@ -350,13 +294,6 @@
350
294
  <value eval="[ref('demo_nfe_line_nao_contribuinte_4-2')]" />
351
295
  </function>
352
296
 
353
- <function
354
- model="l10n_br_fiscal.document.line"
355
- name="_onchange_fiscal_operation_line_id"
356
- >
357
- <value eval="[ref('demo_nfe_line_nao_contribuinte_4-2')]" />
358
- </function>
359
-
360
297
  <!-- NFe Test - Empresa Contribuinte - Nao Contribuinte PJ Tax Benefit -->
361
298
  <record id="demo_nfe_tax_benefit" model="l10n_br_fiscal.document">
362
299
  <field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
@@ -402,13 +339,6 @@
402
339
  <value eval="[ref('demo_nfe_tax_benefit_4-1')]" />
403
340
  </function>
404
341
 
405
- <function
406
- model="l10n_br_fiscal.document.line"
407
- name="_onchange_fiscal_operation_line_id"
408
- >
409
- <value eval="[ref('demo_nfe_tax_benefit_4-1')]" />
410
- </function>
411
-
412
342
  <!-- NFe Test - Empresa Contribuinte - Nao Contribuinte PF -->
413
343
  <record id="demo_nfe_nao_contribuinte_pf" model="l10n_br_fiscal.document">
414
344
  <field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
@@ -449,13 +379,6 @@
449
379
  <value eval="[ref('demo_nfe_nao_contribuinte_pf_1-2')]" />
450
380
  </function>
451
381
 
452
- <function
453
- model="l10n_br_fiscal.document.line"
454
- name="_onchange_fiscal_operation_line_id"
455
- >
456
- <value eval="[ref('demo_nfe_nao_contribuinte_pf_1-2')]" />
457
- </function>
458
-
459
382
  <record id="demo_nfe_nao_contribuinte_pf_2-2" model="l10n_br_fiscal.document.line">
460
383
  <field name="document_id" ref="demo_nfe_nao_contribuinte_pf" />
461
384
  <field name="name">Teste</field>
@@ -481,13 +404,6 @@
481
404
  <value eval="[ref('demo_nfe_nao_contribuinte_pf_2-2')]" />
482
405
  </function>
483
406
 
484
- <function
485
- model="l10n_br_fiscal.document.line"
486
- name="_onchange_fiscal_operation_line_id"
487
- >
488
- <value eval="[ref('demo_nfe_nao_contribuinte_pf_2-2')]" />
489
- </function>
490
-
491
407
  <!-- NFe Test - Empresa Simples Nacional - Mesmo Estado -->
492
408
  <record id="demo_nfe_sn_same_state" model="l10n_br_fiscal.document">
493
409
  <field name="company_id" ref="l10n_br_base.empresa_simples_nacional" />
@@ -525,13 +441,6 @@
525
441
  <value eval="[ref('demo_nfe_line_sn_same_state_5-1')]" />
526
442
  </function>
527
443
 
528
- <function
529
- model="l10n_br_fiscal.document.line"
530
- name="_onchange_fiscal_operation_line_id"
531
- >
532
- <value eval="[ref('demo_nfe_line_sn_same_state_5-1')]" />
533
- </function>
534
-
535
444
  <record id="demo_nfe_line_sn_same_state_5-2" model="l10n_br_fiscal.document.line">
536
445
  <field name="document_id" ref="demo_nfe_sn_same_state" />
537
446
  <field name="name">Teste</field>
@@ -554,13 +463,6 @@
554
463
  <value eval="[ref('demo_nfe_line_sn_same_state_5-2')]" />
555
464
  </function>
556
465
 
557
- <function
558
- model="l10n_br_fiscal.document.line"
559
- name="_onchange_fiscal_operation_line_id"
560
- >
561
- <value eval="[ref('demo_nfe_line_sn_same_state_5-2')]" />
562
- </function>
563
-
564
466
  <!-- NFe Test - Empresa Simples Nacional - Outro Estado -->
565
467
  <record id="demo_nfe_sn_other_state" model="l10n_br_fiscal.document">
566
468
  <field name="company_id" ref="l10n_br_base.empresa_simples_nacional" />
@@ -598,13 +500,6 @@
598
500
  <value eval="[ref('demo_nfe_line_sn_other_state_6-1')]" />
599
501
  </function>
600
502
 
601
- <function
602
- model="l10n_br_fiscal.document.line"
603
- name="_onchange_fiscal_operation_line_id"
604
- >
605
- <value eval="[ref('demo_nfe_line_sn_other_state_6-1')]" />
606
- </function>
607
-
608
503
  <record id="demo_nfe_line_sn_other_state_6-2" model="l10n_br_fiscal.document.line">
609
504
  <field name="document_id" ref="demo_nfe_sn_other_state" />
610
505
  <field name="name">Teste</field>
@@ -627,13 +522,6 @@
627
522
  <value eval="[ref('demo_nfe_line_sn_other_state_6-2')]" />
628
523
  </function>
629
524
 
630
- <function
631
- model="l10n_br_fiscal.document.line"
632
- name="_onchange_fiscal_operation_line_id"
633
- >
634
- <value eval="[ref('demo_nfe_line_sn_other_state_6-2')]" />
635
- </function>
636
-
637
525
  <!-- NFe Test - Empresa Simples Nacional - Exterior -->
638
526
  <record id="demo_nfe_sn_export" model="l10n_br_fiscal.document">
639
527
  <field name="company_id" ref="l10n_br_base.empresa_simples_nacional" />
@@ -671,13 +559,6 @@
671
559
  <value eval="[ref('demo_nfe_line_sn_export_7-1')]" />
672
560
  </function>
673
561
 
674
- <function
675
- model="l10n_br_fiscal.document.line"
676
- name="_onchange_fiscal_operation_line_id"
677
- >
678
- <value eval="[ref('demo_nfe_line_sn_export_7-1')]" />
679
- </function>
680
-
681
562
  <record id="demo_nfe_line_sn_export_7-2" model="l10n_br_fiscal.document.line">
682
563
  <field name="document_id" ref="demo_nfe_sn_export" />
683
564
  <field name="name">Teste</field>
@@ -700,13 +581,6 @@
700
581
  <value eval="[ref('demo_nfe_line_sn_export_7-2')]" />
701
582
  </function>
702
583
 
703
- <function
704
- model="l10n_br_fiscal.document.line"
705
- name="_onchange_fiscal_operation_line_id"
706
- >
707
- <value eval="[ref('demo_nfe_line_sn_export_7-2')]" />
708
- </function>
709
-
710
584
  <!-- NFe Test - Empresa Simples Nacional - Outro Estado -->
711
585
  <record id="demo_nfe_sn_nao_contribuinte" model="l10n_br_fiscal.document">
712
586
  <field name="company_id" ref="l10n_br_base.empresa_simples_nacional" />
@@ -750,13 +624,6 @@
750
624
  <value eval="[ref('demo_nfe_line_sn_nao_contribuinte_7-1')]" />
751
625
  </function>
752
626
 
753
- <function
754
- model="l10n_br_fiscal.document.line"
755
- name="_onchange_fiscal_operation_line_id"
756
- >
757
- <value eval="[ref('demo_nfe_line_sn_nao_contribuinte_7-1')]" />
758
- </function>
759
-
760
627
  <record
761
628
  id="demo_nfe_line_sn_nao_contribuinte_7-2"
762
629
  model="l10n_br_fiscal.document.line"
@@ -785,13 +652,6 @@
785
652
  <value eval="[ref('demo_nfe_line_sn_nao_contribuinte_7-2')]" />
786
653
  </function>
787
654
 
788
- <function
789
- model="l10n_br_fiscal.document.line"
790
- name="_onchange_fiscal_operation_line_id"
791
- >
792
- <value eval="[ref('demo_nfe_line_sn_nao_contribuinte_7-2')]" />
793
- </function>
794
-
795
655
  <!-- NFe Test - Subsequent Operation - Simples Faturamento -->
796
656
  <record id="demo_nfe_so_simples_faturamento" model="l10n_br_fiscal.document">
797
657
  <field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
@@ -843,13 +703,6 @@
843
703
  <value eval="[ref('demo_nfe_line_so_simples_faturamento_7-1')]" />
844
704
  </function>
845
705
 
846
- <function
847
- model="l10n_br_fiscal.document.line"
848
- name="_onchange_fiscal_operation_line_id"
849
- >
850
- <value eval="[ref('demo_nfe_line_so_simples_faturamento_7-1')]" />
851
- </function>
852
-
853
706
  <!-- NFe Compras Test - Empresa Contribuinte - Mesmo Estado -->
854
707
  <record id="demo_nfe_purchase_same_state" model="l10n_br_fiscal.document">
855
708
  <field name="fiscal_operation_id" ref="l10n_br_fiscal.fo_compras" />
@@ -894,12 +747,4 @@
894
747
  <value eval="[ref('demo_nfe_purchase_line_same_state_1-1')]" />
895
748
  </function>
896
749
 
897
- <function
898
- model="l10n_br_fiscal.document.line"
899
- name="_onchange_fiscal_operation_line_id"
900
- >
901
- <value eval="[ref('demo_nfe_purchase_line_same_state_1-1')]" />
902
- </function>
903
-
904
-
905
750
  </odoo>
@@ -596,7 +596,6 @@ class Document(models.Model):
596
596
 
597
597
  new_doc = record.copy()
598
598
  new_doc.fiscal_operation_id = fsc_op
599
- new_doc._onchange_fiscal_operation_id()
600
599
 
601
600
  for line in new_doc.fiscal_line_ids:
602
601
  fsc_op_line = line.fiscal_operation_id.return_fiscal_operation_id
@@ -658,14 +657,3 @@ class Document(models.Model):
658
657
  def _compute_edoc_purpose(self):
659
658
  for record in self:
660
659
  record.edoc_purpose = record.fiscal_operation_id.edoc_purpose
661
-
662
- @api.onchange("fiscal_operation_id")
663
- def _onchange_fiscal_operation_id(self):
664
- result = super()._onchange_fiscal_operation_id()
665
- if self.fiscal_operation_id:
666
- self.fiscal_operation_type = self.fiscal_operation_id.fiscal_operation_type
667
-
668
- if self.issuer == DOCUMENT_ISSUER_COMPANY and not self.document_type_id:
669
- self.document_type_id = self.company_id.document_type_id
670
-
671
- return result
@@ -36,6 +36,7 @@ class DocumentLine(models.Model):
36
36
  comodel_name="res.company",
37
37
  related="document_id.company_id",
38
38
  store=True,
39
+ precompute=True,
39
40
  string="Company",
40
41
  )
41
42
 
@@ -46,6 +47,7 @@ class DocumentLine(models.Model):
46
47
  partner_id = fields.Many2one(
47
48
  related="document_id.partner_id",
48
49
  store=True,
50
+ precompute=True,
49
51
  )
50
52
 
51
53
  quantity = fields.Float(default=1.0)
@@ -197,6 +197,10 @@ class FiscalDocumentLineMixin(models.AbstractModel):
197
197
  comodel_name="l10n_br_fiscal.cfop",
198
198
  string="CFOP",
199
199
  domain="[('type_in_out', '=', fiscal_operation_type)]",
200
+ compute="_compute_fiscal_tax_ids",
201
+ store=True,
202
+ precompute=True,
203
+ readonly=False,
200
204
  )
201
205
 
202
206
  cfop_destination = fields.Selection(
@@ -239,6 +243,10 @@ class FiscalDocumentLineMixin(models.AbstractModel):
239
243
  fiscal_tax_ids = fields.Many2many(
240
244
  comodel_name="l10n_br_fiscal.tax",
241
245
  string="Fiscal Taxes",
246
+ compute="_compute_fiscal_tax_ids",
247
+ store=True,
248
+ precompute=True,
249
+ readonly=False,
242
250
  )
243
251
 
244
252
  amount_fiscal = fields.Monetary(
@@ -398,6 +406,10 @@ class FiscalDocumentLineMixin(models.AbstractModel):
398
406
  ("is_benefit", "=", True),
399
407
  ("tax_domain", "=", TAX_DOMAIN_ICMS),
400
408
  ],
409
+ compute="_compute_fiscal_tax_ids",
410
+ store=True,
411
+ precompute=True,
412
+ readonly=False,
401
413
  )
402
414
 
403
415
  icms_tax_benefit_code = fields.Char(
@@ -614,6 +626,10 @@ class FiscalDocumentLineMixin(models.AbstractModel):
614
626
  comodel_name="l10n_br_fiscal.tax.ipi.guideline",
615
627
  string="IPI Guideline",
616
628
  domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]",
629
+ compute="_compute_fiscal_tax_ids",
630
+ store=True,
631
+ precompute=True,
632
+ readonly=False,
617
633
  )
618
634
 
619
635
  # IPI Devolvido Fields
@@ -920,6 +936,10 @@ class FiscalDocumentLineMixin(models.AbstractModel):
920
936
  comodel_name="l10n_br_fiscal.comment",
921
937
  string="Comments",
922
938
  domain=[("object", "=", FISCAL_COMMENT_LINE)],
939
+ compute="_compute_fiscal_tax_ids",
940
+ store=True,
941
+ precompute=True,
942
+ readonly=False,
923
943
  )
924
944
 
925
945
  additional_data = fields.Text()
@@ -210,7 +210,7 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
210
210
  def _compute_taxes(self, taxes, cst=None):
211
211
  self.ensure_one()
212
212
  return taxes.compute_taxes(
213
- company=self.company_id,
213
+ company=self._get_fiscal_company(),
214
214
  partner=self._get_fiscal_partner(),
215
215
  product=self.product_id,
216
216
  price_unit=self.price_unit,
@@ -234,7 +234,7 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
234
234
  icmssn_range=self.icmssn_range_id,
235
235
  icms_origin=self.icms_origin,
236
236
  icms_cst_id=self.icms_cst_id,
237
- ind_final=self.ind_final,
237
+ ind_final=self._get_ind_final(),
238
238
  icms_relief_id=self.icms_relief_id,
239
239
  )
240
240
 
@@ -321,7 +321,7 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
321
321
 
322
322
  def _update_fiscal_taxes(self):
323
323
  for line in self:
324
- compute_result = self._compute_taxes(line.fiscal_tax_ids)
324
+ compute_result = line._compute_taxes(line.fiscal_tax_ids)
325
325
  to_update = {
326
326
  "amount_tax_included": compute_result.get("amount_included", 0.0),
327
327
  "amount_tax_not_included": compute_result.get(
@@ -332,7 +332,7 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
332
332
  }
333
333
  to_update.update(line._prepare_tax_fields(compute_result))
334
334
 
335
- in_draft_mode = self != self._origin
335
+ in_draft_mode = line != line._origin
336
336
  if in_draft_mode:
337
337
  line.update(to_update)
338
338
  else:
@@ -389,6 +389,24 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
389
389
  self.ensure_one()
390
390
  return self.partner_id
391
391
 
392
+ def _get_fiscal_company(self):
393
+ """
394
+ Meant to be overriden in account.move.line.
395
+ Indeed when using this mixin in a NewID fiscal document line behind an aml,
396
+ self.company_id is None but it can be retrived from the aml.
397
+ """
398
+ self.ensure_one()
399
+ return self.company_id
400
+
401
+ def _get_ind_final(self):
402
+ """
403
+ Meant to be overriden in account.move.line.
404
+ Indeed when using this mixin in a NewID fiscal document line behind an aml,
405
+ self.ind_final is None but it can be retrived from the aml.
406
+ """
407
+ self.ensure_one()
408
+ return self.ind_final
409
+
392
410
  @api.onchange(
393
411
  "fiscal_operation_id", "ncm_id", "nbs_id", "cest_id", "service_type_id"
394
412
  )
@@ -401,43 +419,62 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
401
419
  partner=self._get_fiscal_partner(),
402
420
  product=self.product_id,
403
421
  )
404
- self._onchange_fiscal_operation_line_id()
405
-
406
- @api.onchange("fiscal_operation_line_id")
407
- def _onchange_fiscal_operation_line_id(self):
408
- # Reset Taxes
409
- self._remove_all_fiscal_tax_ids()
410
- if self.fiscal_operation_line_id:
411
- mapping_result = self.fiscal_operation_line_id.map_fiscal_taxes(
412
- company=self.company_id,
413
- partner=self._get_fiscal_partner(),
414
- product=self.product_id,
415
- ncm=self.ncm_id,
416
- nbm=self.nbm_id,
417
- nbs=self.nbs_id,
418
- cest=self.cest_id,
419
- city_taxation_code=self.city_taxation_code_id,
420
- service_type=self.service_type_id,
421
- ind_final=self.ind_final,
422
- )
422
+ self._compute_fiscal_tax_ids() # sadly seems required for composite move
423
423
 
424
- self.cfop_id = mapping_result["cfop"]
425
- if self._is_imported():
426
- return
427
- self._process_fiscal_mapping(mapping_result)
428
-
429
- if not self.fiscal_operation_line_id:
430
- self.cfop_id = False
431
-
432
- def _process_fiscal_mapping(self, mapping_result):
433
- self.ipi_guideline_id = mapping_result["ipi_guideline"]
434
- self.icms_tax_benefit_id = mapping_result["icms_tax_benefit_id"]
435
- taxes = self.env["l10n_br_fiscal.tax"]
436
- for tax in mapping_result["taxes"].values():
437
- taxes |= tax
438
- self.fiscal_tax_ids = taxes
439
- self._update_fiscal_taxes()
440
- self.comment_ids = self.fiscal_operation_line_id.comment_ids
424
+ def _get_fiscal_tax_ids_dependencies(self):
425
+ """
426
+ Dynamically get the list of fields dependencies, overriden in l10n_br_purchase.
427
+ """
428
+ return [
429
+ "company_id",
430
+ "partner_id",
431
+ "fiscal_operation_line_id",
432
+ "product_id",
433
+ "ncm_id",
434
+ "nbs_id",
435
+ "nbm_id",
436
+ "cest_id",
437
+ "city_taxation_code_id",
438
+ "service_type_id",
439
+ "ind_final",
440
+ ]
441
+
442
+ @api.depends(lambda self: self._get_fiscal_tax_ids_dependencies())
443
+ def _compute_fiscal_tax_ids(self):
444
+ """
445
+ Among the dependencies, company_id, partner_id and ind_final are related
446
+ to the fiscal document/line container. When called from account.move.line
447
+ via _inherits on newID records, we read these values from the related aml
448
+ to work around and _inherits/precompute limitation.
449
+ """
450
+ for line in self:
451
+ line._remove_all_fiscal_tax_ids()
452
+ if line.fiscal_operation_line_id:
453
+ mapping_result = line.fiscal_operation_line_id.map_fiscal_taxes(
454
+ company=line._get_fiscal_company(),
455
+ partner=line._get_fiscal_partner(),
456
+ product=line.product_id,
457
+ ncm=line.ncm_id,
458
+ nbm=line.nbm_id,
459
+ nbs=line.nbs_id,
460
+ cest=line.cest_id,
461
+ city_taxation_code=line.city_taxation_code_id,
462
+ service_type=line.service_type_id,
463
+ ind_final=line._get_ind_final(),
464
+ )
465
+ line.cfop_id = mapping_result["cfop"]
466
+ if line._is_imported():
467
+ return
468
+ line.ipi_guideline_id = mapping_result["ipi_guideline"]
469
+ line.icms_tax_benefit_id = mapping_result["icms_tax_benefit_id"]
470
+ taxes = line.env["l10n_br_fiscal.tax"]
471
+ for tax in mapping_result["taxes"].values():
472
+ taxes |= tax
473
+ line.fiscal_tax_ids = taxes
474
+ line._update_fiscal_taxes()
475
+ line.comment_ids = line.fiscal_operation_line_id.comment_ids
476
+ else:
477
+ line.cfop_id = False
441
478
 
442
479
  @api.onchange("product_id")
443
480
  def _onchange_product_id_fiscal(self):
@@ -33,7 +33,6 @@ class FiscalDocumentMixin(models.AbstractModel):
33
33
  - Inverse methods for distributing header-level costs (freight, insurance)
34
34
  to lines.
35
35
  - Hooks for customizing data retrieval (e.g., lines, fiscal partner).
36
- - Onchange helpers for common fiscal fields.
37
36
 
38
37
  Models using this mixin are often expected to also include fields defined
39
38
  in `l10n_br_fiscal.document.mixin` for methods like
@@ -90,7 +89,6 @@ class FiscalDocumentMixin(models.AbstractModel):
90
89
 
91
90
  fiscal_operation_type = fields.Selection(
92
91
  related="fiscal_operation_id.fiscal_operation_type",
93
- readonly=True,
94
92
  )
95
93
 
96
94
  ind_pres = fields.Selection(
@@ -481,6 +479,10 @@ class FiscalDocumentMixin(models.AbstractModel):
481
479
 
482
480
  document_type_id = fields.Many2one(
483
481
  comodel_name="l10n_br_fiscal.document.type",
482
+ compute="_compute_document_type_id",
483
+ store=True,
484
+ precompute=True,
485
+ readonly=False,
484
486
  )
485
487
 
486
488
  document_serie_id = fields.Many2one(
@@ -57,13 +57,11 @@ class FiscalDocumentMixinMethods(models.AbstractModel):
57
57
  self.company_id, self.fiscal_operation_id
58
58
  )
59
59
 
60
- @api.onchange("fiscal_operation_id")
61
- def _onchange_fiscal_operation_id(self):
62
- if self.fiscal_operation_id:
63
- self.fiscal_operation_type = self.fiscal_operation_id.fiscal_operation_type
64
-
65
- if self.issuer == DOCUMENT_ISSUER_COMPANY and not self.document_type_id:
66
- self.document_type_id = self.company_id.document_type_id
60
+ @api.depends("fiscal_operation_id")
61
+ def _compute_document_type_id(self):
62
+ for doc in self.filtered(lambda doc: doc.fiscal_operation_id):
63
+ if doc.issuer == DOCUMENT_ISSUER_COMPANY and not doc.document_type_id:
64
+ doc.document_type_id = doc.company_id.document_type_id
67
65
 
68
66
  def _get_amount_lines(self):
69
67
  """Get object lines instances used to compute fiscal fields"""
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:3612e46c6fb955a94d39c6bced2a46abadbb539336d76697fbd63869b54cdac5
375
+ !! source digest: sha256:dd9f065758d59e68e7d24a53621956cc9e6911bb9e58b0ac89b2e202085a51dc
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_fiscal"><img alt="OCA/l10n-brazil" src="https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-brazil-16-0/l10n-brazil-16-0-l10n_br_fiscal"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p><img alt="image" src="https://raw.githubusercontent.com/OCA/l10n-brazil/16.0/l10n_br_fiscal/static/img/fiscal_dashboard.png" /></p>
@@ -39,9 +39,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
39
39
 
40
40
  def test_nfe_same_state(self):
41
41
  """Test NFe same state."""
42
-
43
- self.nfe_same_state._onchange_fiscal_operation_id()
44
-
45
42
  for line in self.nfe_same_state.fiscal_line_ids:
46
43
  line._onchange_product_id_fiscal()
47
44
 
@@ -164,9 +161,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
164
161
 
165
162
  def test_nfe_other_state(self):
166
163
  """Test NFe other state."""
167
-
168
- self.nfe_other_state._onchange_fiscal_operation_id()
169
-
170
164
  for line in self.nfe_other_state.fiscal_line_ids:
171
165
  line._onchange_product_id_fiscal()
172
166
  line._onchange_fiscal_operation_id()
@@ -282,9 +276,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
282
276
 
283
277
  def test_nfe_not_taxpayer(self):
284
278
  """Test NFe not taxpayer."""
285
-
286
- self.nfe_not_taxpayer._onchange_fiscal_operation_id()
287
-
288
279
  for line in self.nfe_not_taxpayer.fiscal_line_ids:
289
280
  line._onchange_product_id_fiscal()
290
281
  line._onchange_fiscal_operation_id()
@@ -387,9 +378,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
387
378
 
388
379
  def test_nfe_not_taxpayer_not_company(self):
389
380
  """Test NFe not taxpayer not Company."""
390
-
391
- self.nfe_not_taxpayer_pf._onchange_fiscal_operation_id()
392
-
393
381
  for line in self.nfe_not_taxpayer_pf.fiscal_line_ids:
394
382
  line._onchange_product_id_fiscal()
395
383
  line._onchange_fiscal_operation_id()
@@ -492,9 +480,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
492
480
 
493
481
  def test_nfe_export(self):
494
482
  """Test NFe export."""
495
-
496
- self.nfe_export._onchange_fiscal_operation_id()
497
-
498
483
  for line in self.nfe_export.fiscal_line_ids:
499
484
  line._onchange_product_id_fiscal()
500
485
  line._onchange_fiscal_operation_id()
@@ -589,9 +574,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
589
574
 
590
575
  def test_nfe_sn_same_state(self):
591
576
  """Test NFe Simples Nacional same state."""
592
-
593
- self.nfe_sn_same_state._onchange_fiscal_operation_id()
594
-
595
577
  for line in self.nfe_sn_same_state.fiscal_line_ids:
596
578
  line._onchange_product_id_fiscal()
597
579
 
@@ -705,9 +687,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
705
687
 
706
688
  def test_nfe_sn_other_state(self):
707
689
  """Test NFe SN other state."""
708
-
709
- self.nfe_sn_other_state._onchange_fiscal_operation_id()
710
-
711
690
  for line in self.nfe_sn_other_state.fiscal_line_ids:
712
691
  line._onchange_product_id_fiscal()
713
692
  line._onchange_fiscal_operation_id()
@@ -806,9 +785,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
806
785
 
807
786
  def test_nfe_sn_not_taxpayer(self):
808
787
  """Test NFe SN not taxpayer."""
809
-
810
- self.nfe_sn_not_taxpayer._onchange_fiscal_operation_id()
811
-
812
788
  for line in self.nfe_sn_not_taxpayer.fiscal_line_ids:
813
789
  line._onchange_product_id_fiscal()
814
790
  line._onchange_fiscal_operation_id()
@@ -894,9 +870,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
894
870
 
895
871
  def test_nfe_sn_export(self):
896
872
  """Test NFe SN export."""
897
-
898
- self.nfe_sn_export._onchange_fiscal_operation_id()
899
-
900
873
  for line in self.nfe_sn_export.fiscal_line_ids:
901
874
  line._onchange_product_id_fiscal()
902
875
  line._onchange_fiscal_operation_id()
@@ -14,8 +14,6 @@ class TestFiscalDocumentNFSe(TransactionCase):
14
14
  def test_nfse_same_state(self):
15
15
  """Test NFSe same state."""
16
16
 
17
- self.nfse_same_state._onchange_fiscal_operation_id()
18
-
19
17
  for line in self.nfse_same_state.fiscal_line_ids:
20
18
  line._onchange_product_id_fiscal()
21
19
  line._onchange_fiscal_operation_id()
@@ -39,8 +39,6 @@ class TestTaxBenefit(TransactionCase):
39
39
  def test_nfe_tax_benefit(self):
40
40
  """Test NFe with tax benefit."""
41
41
 
42
- self.nfe_tax_benefit._onchange_fiscal_operation_id()
43
-
44
42
  for line in self.nfe_tax_benefit.fiscal_line_ids:
45
43
  line._onchange_product_id_fiscal()
46
44
  line._onchange_fiscal_operation_id()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_br_fiscal
3
- Version: 16.0.11.3.0
3
+ Version: 16.0.11.5.0
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: erpbrasil.base>=2.3.0
6
6
  Requires-Dist: odoo-addon-l10n_br_base>=16.0dev,<16.1dev
@@ -31,7 +31,7 @@ Módulo fiscal brasileiro
31
31
  !! This file is generated by oca-gen-addon-readme !!
32
32
  !! changes will be overwritten. !!
33
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
- !! source digest: sha256:3612e46c6fb955a94d39c6bced2a46abadbb539336d76697fbd63869b54cdac5
34
+ !! source digest: sha256:dd9f065758d59e68e7d24a53621956cc9e6911bb9e58b0ac89b2e202085a51dc
35
35
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
36
36
 
37
37
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -1,6 +1,6 @@
1
- odoo/addons/l10n_br_fiscal/README.rst,sha256=SNSUVGa1x5qhAzVimxpLUAu4FXRUPQP62LoW1Rq-0LQ,13957
1
+ odoo/addons/l10n_br_fiscal/README.rst,sha256=jKHw-vzleAFwqeOUH1HJ-zbjTBownBUkfxpHDwAjC5A,13957
2
2
  odoo/addons/l10n_br_fiscal/__init__.py,sha256=BQXfCjW4ehK1W1j0z6k8xN7Q2LoZBCjjvYDkQt6nSkI,2717
3
- odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=PAvQD_W6EKWV69LoL8UZg6lJ0PXQkI_-YtW6Xb2GQfk,4964
3
+ odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=WxIyOq5PUiqu0iEAKeurN2Pr2LdgM2IQXNanzSnuX3E,4964
4
4
  odoo/addons/l10n_br_fiscal/tools.py,sha256=HgaCLkPznFxgLfjb76nH36PJ7bN5W7-fdaqtBvM6XC0,4056
5
5
  odoo/addons/l10n_br_fiscal/constants/fiscal.py,sha256=F2a4jYAk2j2Yh1Xw7WeS1GcLfW1DbjeNgEF6l7135wc,14962
6
6
  odoo/addons/l10n_br_fiscal/constants/icms.py,sha256=rHlM6jyRvhrIm03sd6guS1xh7SptADLltPmRJ3C_Vh8,3512
@@ -45,7 +45,7 @@ odoo/addons/l10n_br_fiscal/data/uom_data.xml,sha256=bDVsZn9KA5ozkZuPC9cyylPlsBtX
45
45
  odoo/addons/l10n_br_fiscal/demo/__init__.py,sha256=D9IO9xsEyTSXTF03sJ836cHDsB3snXXizs1SUA2IvwA,4420
46
46
  odoo/addons/l10n_br_fiscal/demo/city_taxation_code_demo.xml,sha256=tVMji5bhxl7cfsf48JjtwHfVVyMOm28WA9H5K6Zr2R0,476
47
47
  odoo/addons/l10n_br_fiscal/demo/company_demo.xml,sha256=XPZE-3nHNYdeSGkJ7XamGAWM7Vs5AwhFBl-3yZCc2fA,13429
48
- odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml,sha256=fvkXSpkyMm5biaCaMAQIr-xgaJW7HbJAQN3EmNRtwG4,38140
48
+ odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml,sha256=IdsvMDxVtxn3PoSvScEaOHGgJngPxRHOZwSGEd69z0c,33787
49
49
  odoo/addons/l10n_br_fiscal/demo/fiscal_document_nfse_demo.xml,sha256=5YGmkP1dy-Q2-ZNUDI_dcr3TVMrjxnybnUBH1EQa-Nk,1867
50
50
  odoo/addons/l10n_br_fiscal/demo/fiscal_operation_demo.xml,sha256=Va_eLyQwHug8ZVgQ8lPkJyiU7zs8KU-ABqBk0RM4n3o,493
51
51
  odoo/addons/l10n_br_fiscal/demo/icms_tax_definition_demo.xml,sha256=38sImUwueccEEBrTnQ8_e4f614U10DIh8r9PYEXYexg,1033
@@ -69,12 +69,12 @@ odoo/addons/l10n_br_fiscal/models/cst.py,sha256=m3KIalTYxOoiydXje4VHni6knmXZVdR3
69
69
  odoo/addons/l10n_br_fiscal/models/data_abstract.py,sha256=l46d2ViejGvcjPtKxaA0vn4S0qrn8zqo4bGeQU6oOaU,4599
70
70
  odoo/addons/l10n_br_fiscal/models/data_ncm_nbs_abstract.py,sha256=a0K-32ockgmQV5WaljCCSZQYn8YmuYZ0CYqTDct0vLI,6758
71
71
  odoo/addons/l10n_br_fiscal/models/data_product_abstract.py,sha256=wbc3exJQp33aYK8IOJ490JvDWBPCpU0NEkMR6YjaLfQ,793
72
- odoo/addons/l10n_br_fiscal/models/document.py,sha256=4_a07OhC1k5NDluUou1c0-Np-BGm2wwC0XTeEvqg0Ko,19823
73
- odoo/addons/l10n_br_fiscal/models/document_line.py,sha256=Y87Bevv0wDWP_oRUUvjKsWdow_dvQEKQ-31KEIdZghY,2032
74
- odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=1rY8wJ-pTwZeg4kJhDO4E_MNU22ARb_DkIpw6Rk6Tpw,28250
75
- odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=FQpYqFC5ywdLul471RlyzUZGkKv5ENdSVsEu31wvx7A,32665
76
- odoo/addons/l10n_br_fiscal/models/document_mixin.py,sha256=G63Mr1XyX6YXrdCg0bGIjjvrJPmAs8UuzExKYheVOqg,13477
77
- odoo/addons/l10n_br_fiscal/models/document_mixin_methods.py,sha256=XYrhXQs1blFCEzwgPGToGkWP7uyUnptKXBRwLRvu_FY,16390
72
+ odoo/addons/l10n_br_fiscal/models/document.py,sha256=-0nT613qIHOz2sNPAhgrNM8pcVuw7_Sw7hSOF-nj6QY,19328
73
+ odoo/addons/l10n_br_fiscal/models/document_line.py,sha256=rro8uzmZpAte7N04ycd-KKn2dyGJhin_Q-DjCaKm110,2082
74
+ odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=qfsjYBJChLyhb_Oy-1BgzduEbQ551bh3tXYUXSIl-OM,28810
75
+ odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=-i71-iNkhNTv4ji8BLViTG6m-Fyk4pWGBcCpMQbeNJQ,34198
76
+ odoo/addons/l10n_br_fiscal/models/document_mixin.py,sha256=hCi-HEIeOHVqk1CF1irIfOrqztRoHGxvmHaPA14-yCI,13519
77
+ odoo/addons/l10n_br_fiscal/models/document_mixin_methods.py,sha256=jM_lJZC7Nipa6N9GSoUIHKVrS6JmhtxKzmeB7QYqpC4,16326
78
78
  odoo/addons/l10n_br_fiscal/models/document_related.py,sha256=SKUToxuoC2eOZAG8pJnBg0o5269JjvLbpvuy0M8zSlQ,4689
79
79
  odoo/addons/l10n_br_fiscal/models/document_serie.py,sha256=Spe7kpgMBFGS_LBv3DpiqTC4WuafTK8LRv53GVR2UcM,4128
80
80
  odoo/addons/l10n_br_fiscal/models/document_supplement.py,sha256=31oRSHT_SaGSf-dQvriweIxZZiTANxkHHupc5kMYfXA,409
@@ -124,7 +124,7 @@ odoo/addons/l10n_br_fiscal/readme/USAGE.md,sha256=Dw3uZaHJCUtV0xFq6VOQvF2G5fS_oS
124
124
  odoo/addons/l10n_br_fiscal/security/fiscal_security.xml,sha256=PxRef68OVjlCVMOJZbhieVxivgKJYJm9r3TiZO4RerA,3362
125
125
  odoo/addons/l10n_br_fiscal/security/ir.model.access.csv,sha256=RIVYOOLQ2cOWGp9f8hvKflwglZxAN6exGcOwqCEgDuw,14369
126
126
  odoo/addons/l10n_br_fiscal/static/description/icon.png,sha256=Vd1HydYBoGCzNfCqxLlch2i2aeCcyxo-uRxWNp6oMbw,14836
127
- odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=wHOHgpfVNSGx9lSUYtNyA1qJKZec5Ii96W1FnXhO0pc,26637
127
+ odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=Kf4PBUg1LfcrewsNDdr7DLQNqtLuxPa_irOvxRYEApc,26637
128
128
  odoo/addons/l10n_br_fiscal/static/img/fiscal_dashboard.png,sha256=Q0fpqFNqEXh6m6E1aJfzSKV2tQ9lC1Y-ofUt6qxVupc,151668
129
129
  odoo/addons/l10n_br_fiscal/static/img/fiscal_line.png,sha256=S4Q4OGSzGnbfm4W5sQVvnD4uUzxS6tbJGT_gs3pB4K0,134276
130
130
  odoo/addons/l10n_br_fiscal/static/img/fiscal_operation.png,sha256=2614c1XjxwVznh707e9gujlUXg0ttutKD1ZiSMTqyv8,105871
@@ -133,8 +133,8 @@ odoo/addons/l10n_br_fiscal/static/src/js/list_renderer_with_button.esm.js,sha256
133
133
  odoo/addons/l10n_br_fiscal/tests/__init__.py,sha256=83m4BimGb-6EseEmmCVaKTSel5GB_vkzbI3YZi4mStE,393
134
134
  odoo/addons/l10n_br_fiscal/tests/test_cnae.py,sha256=mmskSfWaoFSohjmRbnGci_6Euc9fc2zbhyH5FdyeIeA,616
135
135
  odoo/addons/l10n_br_fiscal/tests/test_document_edition.py,sha256=w_ANtriwn9IpG3XvMruINMOIcZJyPwUY47iFSgz2bj0,5067
136
- odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_generic.py,sha256=V8DHVC4sDNlJ_umoIaSkaesJfSEd31wija-bNgrBUZg,40547
137
- odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_nfse.py,sha256=X5_pHhChyDL6UmAgWTaAhgPuKWiCKZ1tw95hZecSRcY,1600
136
+ odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_generic.py,sha256=nMrevgtmcMgtnZWt-nHZboKLiFO1V_AxfSxIWKd0uLw,39974
137
+ odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_nfse.py,sha256=nEMaaWfv-sb4o48c1-l7mVnSjks3Tue7XxnQb_Q4cqw,1538
138
138
  odoo/addons/l10n_br_fiscal/tests/test_fiscal_tax.py,sha256=U6JbuqKTcyyFTiW5FZGqGY5yi_aPKaC6_LWz_3sKdpg,11322
139
139
  odoo/addons/l10n_br_fiscal/tests/test_ibpt.py,sha256=vJKit2Aok-zIk_723nRietLTbVKPstD88vznN2PwMZg,5227
140
140
  odoo/addons/l10n_br_fiscal/tests/test_ibpt_product.py,sha256=h00TpY-tTw3z8U24yTzzvyWkfnKjHqlCbqetBKJNV94,2794
@@ -144,7 +144,7 @@ odoo/addons/l10n_br_fiscal/tests/test_ncm.py,sha256=legCHGki7r8xIC260jKdPpVUNC_Z
144
144
  odoo/addons/l10n_br_fiscal/tests/test_operation.py,sha256=zt3GJh3_z7p4zCFN2VSrUVgCGT7EQJ6GmjMGPIY98cg,480
145
145
  odoo/addons/l10n_br_fiscal/tests/test_partner_profile.py,sha256=aMjOQzygxVMQZnvdAEcR9Wun5igpTBzgOegkjsums68,738
146
146
  odoo/addons/l10n_br_fiscal/tests/test_service_type.py,sha256=k9Ro0pGVsiHslAa1NcLK-FlNnrFEeh394aw2tOF_M5o,556
147
- odoo/addons/l10n_br_fiscal/tests/test_tax_benefit.py,sha256=UHC7ZTnHKY12jK1zOlOm00ric8iBBYVL2boifPXOYPM,2053
147
+ odoo/addons/l10n_br_fiscal/tests/test_tax_benefit.py,sha256=qfWnkg03AX42wowtLgwUKw1y3KEKh7DtkCOvGKokrBU,1991
148
148
  odoo/addons/l10n_br_fiscal/views/cest_view.xml,sha256=buiOX9AZ4OMHyjHZfoazcQQzjBSE7fT1S0LlYmo_3P4,3162
149
149
  odoo/addons/l10n_br_fiscal/views/cfop_view.xml,sha256=eSAo01pTaF2AY5_NfWJqY5H3WnaFmzfaSJ6l0DkyEcY,5018
150
150
  odoo/addons/l10n_br_fiscal/views/city_taxation_code.xml,sha256=SnoB8FmZdCzJhqKrEAXG3VVZDBIlDBpIq3oKycbx6uQ,2104
@@ -195,7 +195,7 @@ odoo/addons/l10n_br_fiscal/wizards/base_wizard_mixin.py,sha256=-r25us0vdNCSe11Gn
195
195
  odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py,sha256=KfbqnzFuVx7WAro__W130rgvMWKkDBvkDFglMwTwgBQ,4115
196
196
  odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml,sha256=h19vP1YvC4hLPvCvA6E1goqre0AAGy0CF4a2R6B78Y4,1833
197
197
  odoo/addons/l10n_br_fiscal/wizards/document_status_wizard.py,sha256=KsYj5YWWePO7uk0psBsFdnCL71eLWhcyg7_c7J4G6vA,818
198
- odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/METADATA,sha256=8hS0DDZNvVuFj5WJxPc3iMq6u3MQfUn509lHpgaFrFs,14720
199
- odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
200
- odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
201
- odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/RECORD,,
198
+ odoo_addon_l10n_br_fiscal-16.0.11.5.0.dist-info/METADATA,sha256=eaQecQkRORdyybwDttNAjmethP2_797jaxEE7uAet5c,14720
199
+ odoo_addon_l10n_br_fiscal-16.0.11.5.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
200
+ odoo_addon_l10n_br_fiscal-16.0.11.5.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
201
+ odoo_addon_l10n_br_fiscal-16.0.11.5.0.dist-info/RECORD,,