odoo-addon-l10n-br-fiscal 16.0.1.16.1__py3-none-any.whl → 16.0.1.17.1__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:babbea792ab33d06054963452a43ece001e3784683432af577e041148af9dd8a
10
+ !! source digest: sha256:0cd7e6d2f40a2065c1cdc7da2593cdcd4a312c9158b76c649ec1b11dbd2a8add
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": "16.0.1.16.1",
13
+ "version": "16.0.1.17.1",
14
14
  "depends": [
15
15
  "product",
16
16
  "l10n_br_base",
@@ -9264,7 +9264,7 @@ msgstr ""
9264
9264
  #, python-format
9265
9265
  msgid ""
9266
9266
  "You cannot delete fiscal document number %(number)s with the status: "
9267
- "%(state)!"
9267
+ "%(state)s!"
9268
9268
  msgstr ""
9269
9269
 
9270
9270
  #. module: l10n_br_fiscal
@@ -9396,7 +9396,7 @@ msgstr "Você não pode excluir uma Definição de Imposto que não é rascunho
9396
9396
  #, python-format
9397
9397
  msgid ""
9398
9398
  "You cannot delete fiscal document number %(number)s with the status: "
9399
- "%(state)!"
9399
+ "%(state)s!"
9400
9400
  msgstr ""
9401
9401
 
9402
9402
  #. module: l10n_br_fiscal
@@ -376,7 +376,7 @@ class Document(models.Model):
376
376
  raise ValidationError(
377
377
  _(
378
378
  "You cannot delete fiscal document number %(number)s with "
379
- "the status: %(state)!",
379
+ "the status: %(state)s!",
380
380
  number=record.document_number,
381
381
  state=record.state_edoc,
382
382
  )
@@ -132,15 +132,19 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
132
132
  for record in self:
133
133
  round_curr = record.currency_id or self.env.ref("base.BRL")
134
134
  # Valor dos produtos
135
- record.price_gross = round_curr.round(record.price_unit * record.quantity)
136
135
 
137
- record.amount_untaxed = record.price_gross - record.discount_value
136
+ amount_subtotal = round_curr.round(record.price_unit * record.quantity)
138
137
 
139
- record.amount_fiscal = (
140
- round_curr.round(record.fiscal_price * record.fiscal_quantity)
141
- - record.discount_value
138
+ record.price_gross = (
139
+ amount_subtotal
140
+ + record.amount_tax_not_included
141
+ - record.amount_tax_withholding
142
142
  )
143
143
 
144
+ record.amount_untaxed = amount_subtotal - record.discount_value
145
+
146
+ record.amount_fiscal = amount_subtotal - record.discount_value
147
+
144
148
  record.amount_tax = record.amount_tax_not_included
145
149
 
146
150
  add_to_amount = sum(record[a] for a in record._add_fields_to_amount())
@@ -154,6 +158,9 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
154
158
  # Valor Liquido (TOTAL + IMPOSTOS - RETENÇÕES)
155
159
  record.amount_taxed = record.amount_total - record.amount_tax_withholding
156
160
 
161
+ # Valor do documento (NF) - RETENÇÕES
162
+ record.amount_total = record.amount_taxed
163
+
157
164
  # Valor financeiro
158
165
  if (
159
166
  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),
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:babbea792ab33d06054963452a43ece001e3784683432af577e041148af9dd8a
370
+ !! source digest: sha256:0cd7e6d2f40a2065c1cdc7da2593cdcd4a312c9158b76c649ec1b11dbd2a8add
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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/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>
373
373
  <img alt="https://raw.githubusercontent.com/OCA/l10n-brazil/16.0/l10n_br_fiscal/static/img/fiscal_dashboard.png" src="https://raw.githubusercontent.com/OCA/l10n-brazil/16.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: 16.0.1.16.1
3
+ Version: 16.0.1.17.1
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)
@@ -25,7 +25,7 @@ Módulo fiscal brasileiro
25
25
  !! This file is generated by oca-gen-addon-readme !!
26
26
  !! changes will be overwritten. !!
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
- !! source digest: sha256:babbea792ab33d06054963452a43ece001e3784683432af577e041148af9dd8a
28
+ !! source digest: sha256:0cd7e6d2f40a2065c1cdc7da2593cdcd4a312c9158b76c649ec1b11dbd2a8add
29
29
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
30
 
31
31
  .. |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=EbCuig5FBnkDKNJkuZynAuik6nazAYP1UDAwvlObYZ4,13503
1
+ odoo/addons/l10n_br_fiscal/README.rst,sha256=vhthh8qFhvDdsaerTPTtS0ukGaefvO9pg0seWp8Orcc,13503
2
2
  odoo/addons/l10n_br_fiscal/__init__.py,sha256=16Tdff74OkWmnKSfmV6qrNkgsK12gOtMMppwWmIAFIo,144
3
- odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=FH-wDrMNCZydxoHgPj5VLEHgupKvVsNMKSGCbuvxyCQ,4115
3
+ odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=E1o8lo4BmbSO9rsPwIrBngLjvdg7QFqmDQAixecJXZ8,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=ICWcrew-iUcWFgF4bLzdjUtbMdaejZ0AucwLFu5u1fo,14935
@@ -58,8 +58,8 @@ odoo/addons/l10n_br_fiscal/demo/partner_demo.xml,sha256=Nuw5PaZ4ernV9bqEP4oRcsmV
58
58
  odoo/addons/l10n_br_fiscal/demo/product_demo.xml,sha256=D61ewI_-geCkYnCVYN9nbflZlmX_j8xwE1UWVBTr5XE,83686
59
59
  odoo/addons/l10n_br_fiscal/demo/res_users_demo.xml,sha256=CL7BmZ1xnWSh6MSWxrG9dK9C1ObTYGvgj21vCcY4_qE,599
60
60
  odoo/addons/l10n_br_fiscal/demo/subsequent_operation_demo.xml,sha256=U-PJXr6uerccXT5dR8_KXKTu1YOahR0dKBcowlHgQIU,560
61
- odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot,sha256=DTHBruxT3optuNJNql91BeTlBh-PjgneKStC1KXWyEE,447827
62
- odoo/addons/l10n_br_fiscal/i18n/pt_BR.po,sha256=IysckaGRypOcCigCh9gJYCX3qGlOgV8S58H7C7mh7a0,507865
61
+ odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot,sha256=KenoKOaseKSC_Y6qNtHmnDDcCu-k8fL13OCgS_P50yE,447828
62
+ odoo/addons/l10n_br_fiscal/i18n/pt_BR.po,sha256=YFmlVnxNjMDhzJMyazDjX2W6sBC2gFK8mE8fLc0HPV4,507866
63
63
  odoo/addons/l10n_br_fiscal/models/__init__.py,sha256=Baltz2F1zNbKQ1ctk1hUYepi4TxLP_SDNL45MJlfR88,2187
64
64
  odoo/addons/l10n_br_fiscal/models/cest.py,sha256=FKWv89l6m9LiB-LPN789917BwCkWshSj2nlZ6yrNtpE,1955
65
65
  odoo/addons/l10n_br_fiscal/models/cfop.py,sha256=3MF857TFGVERQcwcDM97-PcM0Xes4uTfPsAPogZG7Q4,3263
@@ -70,12 +70,12 @@ odoo/addons/l10n_br_fiscal/models/cst.py,sha256=sGLlTUJXutsS24UEvfanL-IogujAmS6p
70
70
  odoo/addons/l10n_br_fiscal/models/data_abstract.py,sha256=2ZxATYOo2Zn-n7Fdnnnk-Q_baXFgDJBSIytv2PPFU8s,3515
71
71
  odoo/addons/l10n_br_fiscal/models/data_ncm_nbs_abstract.py,sha256=zT7RMiM-5dQS9CYDQvfAofN_prMpXMluOySmogkwSYY,6722
72
72
  odoo/addons/l10n_br_fiscal/models/data_product_abstract.py,sha256=wbc3exJQp33aYK8IOJ490JvDWBPCpU0NEkMR6YjaLfQ,793
73
- odoo/addons/l10n_br_fiscal/models/document.py,sha256=46nlmJjSaK2X9lnwk6PVOED5SWHyQqB8f5E3oy6kH1E,19732
73
+ odoo/addons/l10n_br_fiscal/models/document.py,sha256=UGy1x82JLvr3PGCs2uiPakIaZUu2usgGp_s1IIewfi8,19733
74
74
  odoo/addons/l10n_br_fiscal/models/document_eletronic.py,sha256=sBM2hS_S20840zVThaOM4LIGWScS8yVIvuUakU2hYGg,6993
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=iO8CxGe7_Til9tsvywxS4b4wNBwm4Cr9wyiv7IK_FMw,11311
77
77
  odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin.py,sha256=bFeFQaLGwFwGloW_9onYeZWh4NLd9dLdNKmM6mwrHXo,26066
78
- odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin_methods.py,sha256=yXoacMzFjqhtnFi8g4mGQmBnnOcKjVwTK6AbQshiNR0,32276
78
+ odoo/addons/l10n_br_fiscal/models/document_fiscal_line_mixin_methods.py,sha256=c3_ouxKB5CNGUQI3VJMs3XAgcw8OhF904-RG4xa7sYs,32462
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=obaj0AXEPqm1UCDCUBynqMzjXATVJJdaDN84H4YaVzs,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=L8XEDIMydpa1AbcQVJdgD31sxajffoYH2rk8qGtIbbI,3821
119
119
  odoo/addons/l10n_br_fiscal/models/tax_definition_cfop.py,sha256=qOGXBetor0P4ogxy0aojrFH_jgIrX-58A2YsDTqYlYI,1277
120
120
  odoo/addons/l10n_br_fiscal/models/tax_definition_company.py,sha256=LtY3ntiB20bGZpS23NOwEYaJYD99CRMv5K_4jz2Gl4Y,1064
@@ -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=qPa7MhSaymiA_PTyLhXarmFapr2axXP3m_PQeMpjzpU,26256
144
+ odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=qYvI4DN6xSpFVcwcm8sFxvMWvkTsSrbKCPuAVCwowPs,26256
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-16.0.1.16.1.dist-info/METADATA,sha256=NOrgCuU1lk-2HwEgisoLeW6_zlLfhxKSCqYrUO5c75w,14172
228
- odoo_addon_l10n_br_fiscal-16.0.1.16.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
229
- odoo_addon_l10n_br_fiscal-16.0.1.16.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
230
- odoo_addon_l10n_br_fiscal-16.0.1.16.1.dist-info/RECORD,,
227
+ odoo_addon_l10n_br_fiscal-16.0.1.17.1.dist-info/METADATA,sha256=64eYW1Xxfrhm4uHgbz_vllgaoYho8_DxRDv1U5Cnr3k,14172
228
+ odoo_addon_l10n_br_fiscal-16.0.1.17.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
229
+ odoo_addon_l10n_br_fiscal-16.0.1.17.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
230
+ odoo_addon_l10n_br_fiscal-16.0.1.17.1.dist-info/RECORD,,