odoo-addon-l10n-br-fiscal 16.0.14.0.1__py3-none-any.whl → 16.0.14.0.3__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:b29f16db1e3fbc87098b437534aac40d10f5407b3fbc0bc7f10dbdf3c02974f0
14
+ !! source digest: sha256:29054a0854b7750fd394f17804f76457d4229fde066afa5d55f1f06fbe9bde6f
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.14.0.1",
13
+ "version": "16.0.14.0.3",
14
14
  "depends": [
15
15
  "product",
16
16
  "uom_alias",
@@ -186,9 +186,9 @@ class Document(models.Model):
186
186
  )
187
187
 
188
188
  currency_id = fields.Many2one(
189
+ related="company_id.currency_id",
189
190
  comodel_name="res.currency",
190
191
  string="Currency",
191
- compute="_compute_currency_id",
192
192
  )
193
193
 
194
194
  # this related "state" field is required for the status bar widget
@@ -326,11 +326,6 @@ class Document(models.Model):
326
326
  self.fiscal_operation_id = False
327
327
  return {"domain": {"fiscal_operation_id": domain}}
328
328
 
329
- @api.depends("company_id")
330
- def _compute_currency_id(self):
331
- for doc in self:
332
- doc.currency_id = doc.company_id.currency_id or self.env.company.currency_id
333
-
334
329
  def _compute_document_name(self):
335
330
  self.ensure_one()
336
331
  name = ""
@@ -1620,7 +1620,7 @@ class FiscalDocumentLineMixin(models.AbstractModel):
1620
1620
  comodel_name="l10n_br_fiscal.comment",
1621
1621
  string="Comments",
1622
1622
  domain=[("object", "=", FISCAL_COMMENT_LINE)],
1623
- compute="_compute_fiscal_tax_ids",
1623
+ compute="_compute_comment_ids",
1624
1624
  store=True,
1625
1625
  precompute=True,
1626
1626
  readonly=False,
@@ -309,11 +309,16 @@ class FiscalDocumentLineMixinMethods(models.AbstractModel):
309
309
  for tax in mapping_result["taxes"].values():
310
310
  taxes |= tax
311
311
  line.fiscal_tax_ids = taxes
312
- line.comment_ids = line.fiscal_operation_line_id.comment_ids
313
-
314
312
  else:
315
313
  line.fiscal_tax_ids = [Command.clear()]
316
314
 
315
+ @api.depends("fiscal_operation_line_id")
316
+ def _compute_comment_ids(self):
317
+ for line in self:
318
+ line.comment_ids = [
319
+ Command.set(line.fiscal_operation_line_id.comment_ids.ids)
320
+ ]
321
+
317
322
  @api.model
318
323
  def _build_null_mask_dict(self) -> dict:
319
324
  """
@@ -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:b29f16db1e3fbc87098b437534aac40d10f5407b3fbc0bc7f10dbdf3c02974f0
375
+ !! source digest: sha256:29054a0854b7750fd394f17804f76457d4229fde066afa5d55f1f06fbe9bde6f
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>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_br_fiscal
3
- Version: 16.0.14.0.1
3
+ Version: 16.0.14.0.3
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:b29f16db1e3fbc87098b437534aac40d10f5407b3fbc0bc7f10dbdf3c02974f0
34
+ !! source digest: sha256:29054a0854b7750fd394f17804f76457d4229fde066afa5d55f1f06fbe9bde6f
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=oHfugEBaOj2EShywK6AzId4yEbJ6xLUCPFCr3AEofdQ,13957
1
+ odoo/addons/l10n_br_fiscal/README.rst,sha256=XyumzHzEZUaVJQsHlYr-SWo07f5ZFlJMpnpD79ujEDA,13957
2
2
  odoo/addons/l10n_br_fiscal/__init__.py,sha256=BQXfCjW4ehK1W1j0z6k8xN7Q2LoZBCjjvYDkQt6nSkI,2717
3
- odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=SOwW6fL2KjpVfjXik_F052oW9c04YgZ4ehIa1aVEblw,4957
3
+ odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=fZGwST92jBryqK7G-cfrifA7Q1Gz69eqaiNT26RPOug,4957
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
@@ -71,10 +71,10 @@ odoo/addons/l10n_br_fiscal/models/cst.py,sha256=m3KIalTYxOoiydXje4VHni6knmXZVdR3
71
71
  odoo/addons/l10n_br_fiscal/models/data_abstract.py,sha256=l46d2ViejGvcjPtKxaA0vn4S0qrn8zqo4bGeQU6oOaU,4599
72
72
  odoo/addons/l10n_br_fiscal/models/data_ncm_nbs_abstract.py,sha256=a0K-32ockgmQV5WaljCCSZQYn8YmuYZ0CYqTDct0vLI,6758
73
73
  odoo/addons/l10n_br_fiscal/models/data_product_abstract.py,sha256=wbc3exJQp33aYK8IOJ490JvDWBPCpU0NEkMR6YjaLfQ,793
74
- odoo/addons/l10n_br_fiscal/models/document.py,sha256=OFvwjDnVsXSDhyvNQB92lwRH9xkSW8s7cYbN2zQ2k9w,16023
74
+ odoo/addons/l10n_br_fiscal/models/document.py,sha256=TbuOJrupyHoRzuLPyCykXgEG3vC14dpXtTlo4LTAI_A,15843
75
75
  odoo/addons/l10n_br_fiscal/models/document_line.py,sha256=W_8uQz-cn8hIljATy91XYIkD0PrkZzW58RVVgqVYyc8,2590
76
- odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=HXN_TrIw1xrnV_N6c-2GFkydj_ae-iZD1LAo6ru7EMw,43783
77
- odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=ULFIzgViThn_8JgM4nScWduucfsNfuVFw8UX0nExuno,34020
76
+ odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=es-zS2qi5Pe7rp1maHeIo705_glz94nLzhaNkcxWgw8,43780
77
+ odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=sabxe2KXIe-Tlot7c-JFLzcqG1-Zv4mIEDNW_b3DP2s,34172
78
78
  odoo/addons/l10n_br_fiscal/models/document_mixin.py,sha256=GkoNxIAUrzwWh5cYZAm5KD_qBIN-mSQ8phQJdYOlOCg,13343
79
79
  odoo/addons/l10n_br_fiscal/models/document_mixin_methods.py,sha256=IG37evORl6dJG0-GOluvgnZ9tcMGLTUoPPYYzdvWB5w,15565
80
80
  odoo/addons/l10n_br_fiscal/models/document_related.py,sha256=zPc9ubJVCsawhd2HxNBD8ebo6XnVPFzgDOegw6vYEmk,4696
@@ -126,7 +126,7 @@ odoo/addons/l10n_br_fiscal/readme/USAGE.md,sha256=Dw3uZaHJCUtV0xFq6VOQvF2G5fS_oS
126
126
  odoo/addons/l10n_br_fiscal/security/fiscal_security.xml,sha256=PxRef68OVjlCVMOJZbhieVxivgKJYJm9r3TiZO4RerA,3362
127
127
  odoo/addons/l10n_br_fiscal/security/ir.model.access.csv,sha256=MQb64W6Es5ChkVqKBit6bHWKyAtrkgO_VamAaSNhvCQ,14359
128
128
  odoo/addons/l10n_br_fiscal/static/description/icon.png,sha256=Vd1HydYBoGCzNfCqxLlch2i2aeCcyxo-uRxWNp6oMbw,14836
129
- odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=SxyTUY5rr7boMZT7ujr61jgmUJ8EQwzayOEAUWLYiI8,26637
129
+ odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=xYzzbHEQWHthwB506w5lg2ZD-r8GD8QIAuPBlzA-LT0,26637
130
130
  odoo/addons/l10n_br_fiscal/static/img/fiscal_dashboard.png,sha256=Q0fpqFNqEXh6m6E1aJfzSKV2tQ9lC1Y-ofUt6qxVupc,151668
131
131
  odoo/addons/l10n_br_fiscal/static/img/fiscal_line.png,sha256=S4Q4OGSzGnbfm4W5sQVvnD4uUzxS6tbJGT_gs3pB4K0,134276
132
132
  odoo/addons/l10n_br_fiscal/static/img/fiscal_operation.png,sha256=2614c1XjxwVznh707e9gujlUXg0ttutKD1ZiSMTqyv8,105871
@@ -197,7 +197,7 @@ odoo/addons/l10n_br_fiscal/wizards/base_wizard_mixin.py,sha256=-r25us0vdNCSe11Gn
197
197
  odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py,sha256=KfbqnzFuVx7WAro__W130rgvMWKkDBvkDFglMwTwgBQ,4115
198
198
  odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml,sha256=EAiUBkLBC0st-GSA0y7j771hiC_vglKPCIiC0SvG0gw,1830
199
199
  odoo/addons/l10n_br_fiscal/wizards/document_status_wizard.py,sha256=KsYj5YWWePO7uk0psBsFdnCL71eLWhcyg7_c7J4G6vA,818
200
- odoo_addon_l10n_br_fiscal-16.0.14.0.1.dist-info/METADATA,sha256=YQ04RGnl87PbIoChhmEW5l0LNcgHc0KaNPb_YYBgNwY,14720
201
- odoo_addon_l10n_br_fiscal-16.0.14.0.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
202
- odoo_addon_l10n_br_fiscal-16.0.14.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
203
- odoo_addon_l10n_br_fiscal-16.0.14.0.1.dist-info/RECORD,,
200
+ odoo_addon_l10n_br_fiscal-16.0.14.0.3.dist-info/METADATA,sha256=WBOu2Zw1d-O5LrP40Zki33VlqOu1rRsDTlj5WCsQSL8,14720
201
+ odoo_addon_l10n_br_fiscal-16.0.14.0.3.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
202
+ odoo_addon_l10n_br_fiscal-16.0.14.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
203
+ odoo_addon_l10n_br_fiscal-16.0.14.0.3.dist-info/RECORD,,