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

@@ -7,7 +7,7 @@ Módulo fiscal brasileiro
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:ba201ab4eaf46c4c25cab200cf2578eee48d6f6fe8c7259ae48c7eefce16eecf
10
+ !! source digest: sha256:6af6cea02a27624fae8fea3b238b1266294a80f826a279d463d8839d64ddfea5
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -10,7 +10,7 @@
10
10
  "maintainers": ["renatonlima"],
11
11
  "website": "https://github.com/OCA/l10n-brazil",
12
12
  "development_status": "Production/Stable",
13
- "version": "15.0.1.12.0",
13
+ "version": "15.0.1.13.0",
14
14
  "depends": [
15
15
  "product",
16
16
  "l10n_br_base",
@@ -146,15 +146,19 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
146
146
  for record in self:
147
147
  round_curr = record.currency_id or self.env.ref("base.BRL")
148
148
  # Valor dos produtos
149
- record.price_gross = round_curr.round(record.price_unit * record.quantity)
150
149
 
151
- record.amount_untaxed = record.price_gross - record.discount_value
150
+ amount_subtotal = round_curr.round(record.price_unit * record.quantity)
152
151
 
153
- record.amount_fiscal = (
154
- round_curr.round(record.fiscal_price * record.fiscal_quantity)
155
- - record.discount_value
152
+ record.price_gross = (
153
+ amount_subtotal
154
+ + record.amount_tax_not_included
155
+ - record.amount_tax_withholding
156
156
  )
157
157
 
158
+ record.amount_untaxed = amount_subtotal - record.discount_value
159
+
160
+ record.amount_fiscal = amount_subtotal - record.discount_value
161
+
158
162
  record.amount_tax = record.amount_tax_not_included
159
163
 
160
164
  add_to_amount = sum(record[a] for a in record._add_fields_to_amount())
@@ -168,6 +172,9 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
168
172
  # Valor Liquido (TOTAL + IMPOSTOS - RETENÇÕES)
169
173
  record.amount_taxed = record.amount_total - record.amount_tax_withholding
170
174
 
175
+ # Valor do documento (NF) - RETENÇÕES
176
+ record.amount_total = record.amount_taxed
177
+
171
178
  # Valor financeiro
172
179
  if (
173
180
  record.fiscal_operation_line_id
@@ -371,6 +371,7 @@ class TaxDefinition(models.Model):
371
371
  cest = product.cest_id
372
372
 
373
373
  domain = [
374
+ ("state", "!=", "expired"),
374
375
  ("id", "in", self.ids),
375
376
  "|",
376
377
  ("state_to_ids", "=", False),
@@ -366,7 +366,7 @@ ul.auto-toc {
366
366
  !! This file is generated by oca-gen-addon-readme !!
367
367
  !! changes will be overwritten. !!
368
368
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:ba201ab4eaf46c4c25cab200cf2578eee48d6f6fe8c7259ae48c7eefce16eecf
369
+ !! source digest: sha256:6af6cea02a27624fae8fea3b238b1266294a80f826a279d463d8839d64ddfea5
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
371
  <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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-brazil/tree/15.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-15-0/l10n-brazil-15-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=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
372
  <img alt="https://raw.githubusercontent.com/OCA/l10n-brazil/15.0/l10n_br_fiscal/static/img/fiscal_dashboard.png" src="https://raw.githubusercontent.com/OCA/l10n-brazil/15.0/l10n_br_fiscal/static/img/fiscal_dashboard.png" />
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n-br-fiscal
3
- Version: 15.0.1.12.0
3
+ Version: 15.0.1.13.0
4
4
  Summary: Brazilian fiscal core module.
5
5
  Home-page: https://github.com/OCA/l10n-brazil
6
6
  Author: Akretion, Odoo Community Association (OCA)
@@ -26,7 +26,7 @@ Módulo fiscal brasileiro
26
26
  !! This file is generated by oca-gen-addon-readme !!
27
27
  !! changes will be overwritten. !!
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
- !! source digest: sha256:ba201ab4eaf46c4c25cab200cf2578eee48d6f6fe8c7259ae48c7eefce16eecf
29
+ !! source digest: sha256:6af6cea02a27624fae8fea3b238b1266294a80f826a279d463d8839d64ddfea5
30
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
31
 
32
32
  .. |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=dKLI74B9ed_ZRX_z9CQOVq6fCm36qXnvhmI3FrupCgU,13503
1
+ odoo/addons/l10n_br_fiscal/README.rst,sha256=Hv6nK9HLN8nmWl8N5WsdozMI7tR3wKO_aa3drLm9A6o,13503
2
2
  odoo/addons/l10n_br_fiscal/__init__.py,sha256=16Tdff74OkWmnKSfmV6qrNkgsK12gOtMMppwWmIAFIo,144
3
- odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=j9PX5eS_Ro_wglLlm1TPTlL_1qEbAOC_qOhp_mtdkgE,4115
3
+ odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=iQRJ1pVv4FYKm9AenzutEBxyX-wxXOaQOQQi3e93H1A,4115
4
4
  odoo/addons/l10n_br_fiscal/hooks.py,sha256=cna_821w1vrwbfQd59YVY66cU9hhY0av2Zwzr5nHDVI,4825
5
5
  odoo/addons/l10n_br_fiscal/tools.py,sha256=nh67fxnJjF3Y-yfHl2mJh6TxMkr8r8GKEQ6NJliTAHE,2488
6
6
  odoo/addons/l10n_br_fiscal/constants/fiscal.py,sha256=mmS9q_PxZObCchmXU7SBF1tg99YygvNQf81MYqmxznk,14922
@@ -75,7 +75,7 @@ odoo/addons/l10n_br_fiscal/models/document_eletronic.py,sha256=sBM2hS_S20840zVTh
75
75
  odoo/addons/l10n_br_fiscal/models/document_email.py,sha256=ikGhCrTI18X01RszlCqO0tvhTOKr2d5KJLcj_QA1o_Y,2113
76
76
  odoo/addons/l10n_br_fiscal/models/document_event.py,sha256=PMiyKoXf45d4jdtiPLCj_6IMeFc9j2ShvYpvTpfecZY,11066
77
77
  odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin.py,sha256=W4fM42ybHf-xkVdM96KNxFRtbsX2FuJmJe5LCqkvvaE,26066
78
- odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin_methods.py,sha256=ydFfBfiu_8P_j49VuLd1aKU9E8Gds92zYDFR930wj8c,32726
78
+ odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin_methods.py,sha256=AhUNOO9KR1q85zTG6qQGOtQjzHHn3S55plzb3DaSL-M,32912
79
79
  odoo/addons/l10n_br_fiscal/models/document_fiscal_mixin.py,sha256=1Ep0ClxXpMTB_mzikF_3gdA3Nk6N2YxMR8yDq_QoOAg,282
80
80
  odoo/addons/l10n_br_fiscal/models/document_fiscal_mixin_fields.py,sha256=9ukqEkDMZTrn9G_YjZLMA4hgR8oP84W-XyZUlAm71XI,10801
81
81
  odoo/addons/l10n_br_fiscal/models/document_fiscal_mixin_methods.py,sha256=XdbVoBuRCgPL_viEfELzp0mQgbqf-h696QC_RlA45DE,11427
@@ -114,7 +114,7 @@ odoo/addons/l10n_br_fiscal/models/simplified_tax_range.py,sha256=2fhHkkI8uHc22Xt
114
114
  odoo/addons/l10n_br_fiscal/models/subsequent_document.py,sha256=C0x-xgFxVLgJ4Sqhv1lL5olZrSwak9u6ij39x_BKIY8,6859
115
115
  odoo/addons/l10n_br_fiscal/models/subsequent_operation.py,sha256=KDw5l05YYg_3VELwnTPsg7oLZT1W6pKyNeKr2EFdTbs,1677
116
116
  odoo/addons/l10n_br_fiscal/models/tax.py,sha256=8GSop6Wr6m2cH9ihSyrH-pOKrDarqTbBCZDkSMivFz8,25795
117
- odoo/addons/l10n_br_fiscal/models/tax_definition.py,sha256=pFPY0Ydm2XYwA4usnX0JMKFmSMyFaZq9zVICXwYISJg,12005
117
+ odoo/addons/l10n_br_fiscal/models/tax_definition.py,sha256=vChYIDnFHyJtQZ8g2y_9i_chjdJ5TzeR29eohOw90Fc,12045
118
118
  odoo/addons/l10n_br_fiscal/models/tax_definition_benefit.py,sha256=CzNQyPv59AGVy5h1CLR1hmgsINbWh8pVfpPJf7EeLEM,3768
119
119
  odoo/addons/l10n_br_fiscal/models/tax_definition_cfop.py,sha256=cJRy54rsKI8t819u8rOTz035vNnBIgHsi2v63vPLazg,1224
120
120
  odoo/addons/l10n_br_fiscal/models/tax_definition_company.py,sha256=MWrdV-ni58wwgd-gCUB7QMCVlHVE2P1NSEGhzElaKW0,1011
@@ -141,7 +141,7 @@ odoo/addons/l10n_br_fiscal/readme/USAGE.rst,sha256=jDnMjM42hjTlqhbpIzjkhJo59eX4j
141
141
  odoo/addons/l10n_br_fiscal/security/fiscal_security.xml,sha256=c4D3MoIsVnkZ1pDY_iw8jM2hBPz3VCkl5JKnm_hkau0,3700
142
142
  odoo/addons/l10n_br_fiscal/security/ir.model.access.csv,sha256=63NQv85E3jV-T-Zw4pB72Jrdh6xPQ42glHQpOASGte0,15362
143
143
  odoo/addons/l10n_br_fiscal/static/description/icon.png,sha256=Vd1HydYBoGCzNfCqxLlch2i2aeCcyxo-uRxWNp6oMbw,14836
144
- odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=KgBhGBORZhmJJbQ27BX-wJZOU63tA1QnpYCOvp7FBGY,26173
144
+ odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=yxZmb6URUu-x6RPGhVTyfJFGl-_E9hcScUnwuws7t1Q,26173
145
145
  odoo/addons/l10n_br_fiscal/static/img/fiscal_dashboard.png,sha256=Q0fpqFNqEXh6m6E1aJfzSKV2tQ9lC1Y-ofUt6qxVupc,151668
146
146
  odoo/addons/l10n_br_fiscal/static/img/fiscal_line.png,sha256=S4Q4OGSzGnbfm4W5sQVvnD4uUzxS6tbJGT_gs3pB4K0,134276
147
147
  odoo/addons/l10n_br_fiscal/static/img/fiscal_operation.png,sha256=2614c1XjxwVznh707e9gujlUXg0ttutKD1ZiSMTqyv8,105871
@@ -224,7 +224,7 @@ odoo/addons/l10n_br_fiscal/wizards/document_status_wizard.py,sha256=_hsF1mQdknc0
224
224
  odoo/addons/l10n_br_fiscal/wizards/document_status_wizard.xml,sha256=S9hSkgbBKCt78bTe3sRupfnIcmZZ8KWhaZ9q_PKYvgc,2483
225
225
  odoo/addons/l10n_br_fiscal/wizards/invalidate_number_wizard.py,sha256=VYw_GXEdqsEW5kV8RJk-vP1X6KW_CafP1nxggdOICNY,1083
226
226
  odoo/addons/l10n_br_fiscal/wizards/invalidate_number_wizard.xml,sha256=H0JzzzbJmWziLZjZ8acQsqJcgsaYD3M6I3OydoNFuUc,1215
227
- odoo_addon_l10n_br_fiscal-15.0.1.12.0.dist-info/METADATA,sha256=r4HSw3_8XuErWmmuAaW55V-x8sV9pZ529DtxLSuSFcI,14191
228
- odoo_addon_l10n_br_fiscal-15.0.1.12.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
229
- odoo_addon_l10n_br_fiscal-15.0.1.12.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
230
- odoo_addon_l10n_br_fiscal-15.0.1.12.0.dist-info/RECORD,,
227
+ odoo_addon_l10n_br_fiscal-15.0.1.13.0.dist-info/METADATA,sha256=5f8xjqt3AdPMtBzGGlDYJN3lqEmKFAyg9DEBztt1poA,14191
228
+ odoo_addon_l10n_br_fiscal-15.0.1.13.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
229
+ odoo_addon_l10n_br_fiscal-15.0.1.13.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
230
+ odoo_addon_l10n_br_fiscal-15.0.1.13.0.dist-info/RECORD,,