odoo-addon-l10n-ro-stock-price-difference 17.0.0.3.0__py3-none-any.whl → 17.0.0.4.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.
@@ -7,7 +7,7 @@ Romania - Stock Accounting Price Difference
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:4814191eeb5d8709cf4c8a022964449f080b60cd69d5e1e611f4f99dae8d1f71
10
+ !! source digest: sha256:219cbaf8b28f0842a721a8eb29fa707c6c41507339b421ef7db09d0b2c5e870e
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -59,14 +59,14 @@ Authors
59
59
  Contributors
60
60
  ------------
61
61
 
62
- - `NextERP Romania <https://www.nexterp.ro>`__:
62
+ - `NextERP Romania <https://www.nexterp.ro>`__:
63
63
 
64
- - Fekete Mihai <feketemihai@nexterp.ro>
65
- - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
64
+ - Fekete Mihai <feketemihai@nexterp.ro>
65
+ - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
66
66
 
67
- - `Terrabit <https://www.terrabit.ro>`__:
67
+ - `Terrabit <https://www.terrabit.ro>`__:
68
68
 
69
- - Dorin Hongu <dhongu@gmail.com>
69
+ - Dorin Hongu <dhongu@gmail.com>
70
70
 
71
71
  Do not contact contributors directly about support or help with
72
72
  technical issues.
@@ -2,7 +2,7 @@
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
3
  {
4
4
  "name": "Romania - Stock Accounting Price Difference",
5
- "version": "17.0.0.3.0",
5
+ "version": "17.0.0.4.0",
6
6
  "category": "Localization",
7
7
  "summary": "Romania - Stock Accounting Price Difference",
8
8
  "author": "NextERP Romania," "Dorin Hongu," "Odoo Community Association (OCA)",
@@ -1,21 +1,28 @@
1
1
  # Copyright (C) 2023 NextERP Romania
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+ import logging
4
+
3
5
  from openupgradelib import openupgrade
4
6
 
7
+ _logger = logging.getLogger(__name__)
8
+
5
9
 
6
10
  def migrate(cr, version):
7
11
  if not version:
8
12
  return
9
13
 
10
- openupgrade.logged_query(
11
- cr,
12
- """
13
- UPDATE stock_valuation_layer svl set
14
- l10n_ro_invoice_id = lsvl.l10n_ro_invoice_id,
15
- l10n_ro_invoice_line_id = lsvl.l10n_ro_invoice_line_id
16
- FROM stock_valuation_layer lsvl
17
- WHERE
18
- svl.stock_valuation_layer_id = lsvl.id and
19
- svl.description like '%Price Difference%'
20
- """,
21
- )
14
+ try:
15
+ openupgrade.logged_query(
16
+ cr,
17
+ """
18
+ UPDATE stock_valuation_layer svl set
19
+ l10n_ro_invoice_id = lsvl.l10n_ro_invoice_id,
20
+ l10n_ro_invoice_line_id = lsvl.l10n_ro_invoice_line_id
21
+ FROM stock_valuation_layer lsvl
22
+ WHERE
23
+ svl.stock_valuation_layer_id = lsvl.id and
24
+ svl.description like '%Price Difference%'
25
+ """,
26
+ )
27
+ except Exception as e:
28
+ _logger.error("Failed to update stock_valuation_layer: %s", str(e))
@@ -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:4814191eeb5d8709cf4c8a022964449f080b60cd69d5e1e611f4f99dae8d1f71
370
+ !! source digest: sha256:219cbaf8b28f0842a721a8eb29fa707c6c41507339b421ef7db09d0b2c5e870e
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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-romania/tree/17.0/l10n_ro_stock_price_difference"><img alt="OCA/l10n-romania" src="https://img.shields.io/badge/github-OCA%2Fl10n--romania-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-romania-17-0/l10n-romania-17-0-l10n_ro_stock_price_difference"><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-romania&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>The module is managing price diferences between invoices and receptions.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_ro_stock_price_difference
3
- Version: 17.0.0.3.0
3
+ Version: 17.0.0.4.0
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-l10n_ro_stock_account_landed_cost>=17.0dev,<17.1dev
6
6
  Requires-Dist: odoo-addon-l10n_ro_stock_account_notice>=17.0dev,<17.1dev
@@ -25,7 +25,7 @@ Romania - Stock Accounting Price Difference
25
25
  !! This file is generated by oca-gen-addon-readme !!
26
26
  !! changes will be overwritten. !!
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
- !! source digest: sha256:4814191eeb5d8709cf4c8a022964449f080b60cd69d5e1e611f4f99dae8d1f71
28
+ !! source digest: sha256:219cbaf8b28f0842a721a8eb29fa707c6c41507339b421ef7db09d0b2c5e870e
29
29
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
30
 
31
31
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -77,14 +77,14 @@ Authors
77
77
  Contributors
78
78
  ------------
79
79
 
80
- - `NextERP Romania <https://www.nexterp.ro>`__:
80
+ - `NextERP Romania <https://www.nexterp.ro>`__:
81
81
 
82
- - Fekete Mihai <feketemihai@nexterp.ro>
83
- - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
82
+ - Fekete Mihai <feketemihai@nexterp.ro>
83
+ - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
84
84
 
85
- - `Terrabit <https://www.terrabit.ro>`__:
85
+ - `Terrabit <https://www.terrabit.ro>`__:
86
86
 
87
- - Dorin Hongu <dhongu@gmail.com>
87
+ - Dorin Hongu <dhongu@gmail.com>
88
88
 
89
89
  Do not contact contributors directly about support or help with
90
90
  technical issues.
@@ -1,9 +1,9 @@
1
- odoo/addons/l10n_ro_stock_price_difference/README.rst,sha256=3cx1Xs6PpsHgqcigYW4MYsE90B7cPh3k9jX3SSUlyjQ,3922
1
+ odoo/addons/l10n_ro_stock_price_difference/README.rst,sha256=wF2OTDSnnqhYpI3pe1fPcMLZ4kmbyNY9sHENRMcm6NY,3914
2
2
  odoo/addons/l10n_ro_stock_price_difference/__init__.py,sha256=R3l5zcM1DHY7iqr3kt92069kmImpPafRbNSzv6p_hBE,42
3
- odoo/addons/l10n_ro_stock_price_difference/__manifest__.py,sha256=Rr6DauK76T8Jz0P2HPxKpNR6D7XGiVdED20GTKVgzVg,880
3
+ odoo/addons/l10n_ro_stock_price_difference/__manifest__.py,sha256=fs9r1iWzWtCwE2aW_lXdLks96VPi4j2vR5q2lAGA_ms,880
4
4
  odoo/addons/l10n_ro_stock_price_difference/i18n/l10n_ro_stock_price_difference.pot,sha256=fhjZlplGBx0-M6AAjxZf3o8gZimbYsWGF4bJN10hgEY,6433
5
5
  odoo/addons/l10n_ro_stock_price_difference/i18n/ro.po,sha256=KvXFmlXlQIX8AdqYkCd7FuceR1_wO_8QS8poIstxEbY,7234
6
- odoo/addons/l10n_ro_stock_price_difference/migrations/16.0.5.4.1/pre-migration.py,sha256=cXgeRsSdrg-EaHESj7jSF1S5Lq2vku5mdQZ51onsQeo,615
6
+ odoo/addons/l10n_ro_stock_price_difference/migrations/16.0.5.4.1/pre-migration.py,sha256=XeP64NmppmqqTqAbjL81LZ7FOFP3KDPUaGbWhu9gUXE,830
7
7
  odoo/addons/l10n_ro_stock_price_difference/models/__init__.py,sha256=IziDGW2M2uyUtaLJGSWQsaF6Zz4Qxrtvu9emLMLoEpI,91
8
8
  odoo/addons/l10n_ro_stock_price_difference/models/account_move.py,sha256=Ma-nJCBEprYYgelaiinYiQhc42FGaaicy62xMHE8OD4,4911
9
9
  odoo/addons/l10n_ro_stock_price_difference/models/account_move_line.py,sha256=pijdJc4_BnWGDqeZZ_BVnyQRSql1cW8NDq72Jt2Qx3s,6742
@@ -12,7 +12,7 @@ odoo/addons/l10n_ro_stock_price_difference/readme/CONTRIBUTORS.md,sha256=eE0etR3
12
12
  odoo/addons/l10n_ro_stock_price_difference/readme/DESCRIPTION.md,sha256=MPANZSEz9rWM44G4xRyQ5JmIB9WYfc5GDRF8fbehTao,168
13
13
  odoo/addons/l10n_ro_stock_price_difference/security/ir.model.access.csv,sha256=ZW8flyD2rMqHfAn8i0rGfCne0MHB72OzTWPZ4D9nN5U,361
14
14
  odoo/addons/l10n_ro_stock_price_difference/static/description/icon.png,sha256=4CdJJFOkYuQjQGn_jXFOHNUE5NGjg6NQRW1lpQ7j4o4,3173
15
- odoo/addons/l10n_ro_stock_price_difference/static/description/index.html,sha256=Yj1_ezQZ5sETq-T6xpnjiBwtvS6RLDUhM-A3HAfIt-4,13557
15
+ odoo/addons/l10n_ro_stock_price_difference/static/description/index.html,sha256=qq0Bbc04amA7HxVMD6RnNN8SwZRPSxWSektVnwx8YwE,13557
16
16
  odoo/addons/l10n_ro_stock_price_difference/tests/__init__.py,sha256=PcHbRHAWEYgzNHB4jfqDxzRCYr22mPq6ZOI621w2seE,121
17
17
  odoo/addons/l10n_ro_stock_price_difference/tests/common.py,sha256=Y-Sj9yqArm2n0pKqcIe4-d7YaJ7nMk4Hr8qLj3akpEc,1209
18
18
  odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase.py,sha256=2dZ5j5j_5ZaPBkhqlzfEhJ-68jIsyhWO8DJsEU2Z0Ks,8101
@@ -22,7 +22,7 @@ odoo/addons/l10n_ro_stock_price_difference/tests/test_sale.py,sha256=GKl253rDrnd
22
22
  odoo/addons/l10n_ro_stock_price_difference/wizard/__init__.py,sha256=c6_T4TE-Z_2FeKUsIDsq8aRC2I9ITMIJ-4WTt9Kz9og,44
23
23
  odoo/addons/l10n_ro_stock_price_difference/wizard/price_difference_confirmation.py,sha256=N8C1C-EbMQVLm3gHgkavhCV_1zl1vg5Lq4FNUxZG7VM,1301
24
24
  odoo/addons/l10n_ro_stock_price_difference/wizard/price_difference_confirmation.xml,sha256=GSszGCpYsLCJ6erqdS7oTF9EaIe25QP-QkKXopoLRig,1682
25
- odoo_addon_l10n_ro_stock_price_difference-17.0.0.3.0.dist-info/METADATA,sha256=uCxbnopLrWqIo0eAHw64fOupgDo6kkoOP8hZXB2ejv0,4682
26
- odoo_addon_l10n_ro_stock_price_difference-17.0.0.3.0.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
27
- odoo_addon_l10n_ro_stock_price_difference-17.0.0.3.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
28
- odoo_addon_l10n_ro_stock_price_difference-17.0.0.3.0.dist-info/RECORD,,
25
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.4.0.dist-info/METADATA,sha256=rx8IgDIL-loj0srzA4KH2B6PoUejgKu-snBZImuE8E8,4674
26
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.4.0.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
27
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.4.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
28
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.4.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: Whool 1.0.1
2
+ Generator: Whool 1.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5