odoo-addon-l10n-ro-stock-price-difference 16.0.5.9.0__py3-none-any.whl → 17.0.0.2.0.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.
Files changed (18) hide show
  1. odoo/addons/l10n_ro_stock_price_difference/README.rst +19 -18
  2. odoo/addons/l10n_ro_stock_price_difference/__manifest__.py +1 -1
  3. odoo/addons/l10n_ro_stock_price_difference/i18n/l10n_ro_stock_price_difference.pot +1 -7
  4. odoo/addons/l10n_ro_stock_price_difference/i18n/ro.po +9 -9
  5. odoo/addons/l10n_ro_stock_price_difference/models/account_move.py +4 -2
  6. odoo/addons/l10n_ro_stock_price_difference/models/account_move_line.py +4 -3
  7. odoo/addons/l10n_ro_stock_price_difference/readme/CONTRIBUTORS.md +8 -0
  8. odoo/addons/l10n_ro_stock_price_difference/readme/DESCRIPTION.md +3 -0
  9. odoo/addons/l10n_ro_stock_price_difference/static/description/index.html +16 -10
  10. odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase.py +3 -2
  11. odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase_dozen.py +2 -2
  12. {odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info → odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info}/METADATA +27 -29
  13. {odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info → odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info}/RECORD +15 -15
  14. {odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info → odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info}/WHEEL +1 -1
  15. odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info/top_level.txt +1 -0
  16. odoo/addons/l10n_ro_stock_price_difference/readme/CONTRIBUTORS.rst +0 -12
  17. odoo/addons/l10n_ro_stock_price_difference/readme/DESCRIPTION.rst +0 -1
  18. odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info/top_level.txt +0 -1
@@ -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:4cbd59a27b9540285649c22b08016d7f702b479a69ba6a403b698ddee2268749
10
+ !! source digest: sha256:342af7e5230ee97cca81dcd8984fb1ccc637703109e6ee8bfcb9a4cbe718d57b
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -17,18 +17,20 @@ Romania - Stock Accounting Price Difference
17
17
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
18
  :alt: License: AGPL-3
19
19
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--romania-lightgray.png?logo=github
20
- :target: https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_stock_price_difference
20
+ :target: https://github.com/OCA/l10n-romania/tree/17.0/l10n_ro_stock_price_difference
21
21
  :alt: OCA/l10n-romania
22
22
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
- :target: https://translation.odoo-community.org/projects/l10n-romania-16-0/l10n-romania-16-0-l10n_ro_stock_price_difference
23
+ :target: https://translation.odoo-community.org/projects/l10n-romania-17-0/l10n-romania-17-0-l10n_ro_stock_price_difference
24
24
  :alt: Translate me on Weblate
25
25
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
- :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=16.0
26
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=17.0
27
27
  :alt: Try me on Runboat
28
28
 
29
29
  |badge1| |badge2| |badge3| |badge4| |badge5|
30
30
 
31
- The module is managing price diferences between invoices and receptions. It will create a landed cost with a "Price Difference" product available in the configuration.
31
+ The module is managing price diferences between invoices and receptions.
32
+ It will create a landed cost with a "Price Difference" product available
33
+ in the configuration.
32
34
 
33
35
  **Table of contents**
34
36
 
@@ -41,7 +43,7 @@ Bug Tracker
41
43
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_.
42
44
  In case of trouble, please check there if your issue has already been reported.
43
45
  If you spotted it first, help us to smash it by providing a detailed and welcomed
44
- `feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
46
+ `feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
45
47
 
46
48
  Do not contact contributors directly about support or help with technical issues.
47
49
 
@@ -49,29 +51,28 @@ Credits
49
51
  =======
50
52
 
51
53
  Authors
52
- ~~~~~~~
54
+ -------
53
55
 
54
56
  * NextERP Romania
55
57
  * Dorin Hongu
56
58
 
57
59
  Contributors
58
- ~~~~~~~~~~~~
60
+ ------------
59
61
 
60
- * `NextERP Romania <https://www.nexterp.ro>`_:
62
+ - `NextERP Romania <https://www.nexterp.ro>`__:
61
63
 
62
- * Fekete Mihai <feketemihai@nexterp.ro>
63
- * Cojocaru Marcel <cojocarumarcel@nexterp.ro>
64
+ - Fekete Mihai <feketemihai@nexterp.ro>
65
+ - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
64
66
 
65
- * `Terrabit <https://www.terrabit.ro>`_:
67
+ - `Terrabit <https://www.terrabit.ro>`__:
66
68
 
67
- * Dorin Hongu <dhongu@gmail.com>
69
+ - Dorin Hongu <dhongu@gmail.com>
68
70
 
69
-
70
-
71
- Do not contact contributors directly about support or help with technical issues.
71
+ Do not contact contributors directly about support or help with
72
+ technical issues.
72
73
 
73
74
  Maintainers
74
- ~~~~~~~~~~~
75
+ -----------
75
76
 
76
77
  This module is maintained by the OCA.
77
78
 
@@ -97,6 +98,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
97
98
 
98
99
  |maintainer-feketemihai| |maintainer-mcojocaru| |maintainer-dhongu|
99
100
 
100
- This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_stock_price_difference>`_ project on GitHub.
101
+ This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/17.0/l10n_ro_stock_price_difference>`_ project on GitHub.
101
102
 
102
103
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -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": "16.0.5.9.0",
5
+ "version": "17.0.0.2.0",
6
6
  "category": "Localization",
7
7
  "summary": "Romania - Stock Accounting Price Difference",
8
8
  "author": "NextERP Romania," "Dorin Hongu," "Odoo Community Association (OCA)",
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: Odoo Server 16.0\n"
7
+ "Project-Id-Version: Odoo Server 17.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "Last-Translator: \n"
10
10
  "Language-Team: \n"
@@ -99,12 +99,6 @@ msgstr ""
99
99
  msgid "Landed Cost Type"
100
100
  msgstr ""
101
101
 
102
- #. module: l10n_ro_stock_price_difference
103
- #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog____last_update
104
- #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_item____last_update
105
- msgid "Last Modified on"
106
- msgstr ""
107
-
108
102
  #. module: l10n_ro_stock_price_difference
109
103
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog__write_uid
110
104
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_item__write_uid
@@ -64,7 +64,7 @@ msgstr "Nume afișat"
64
64
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog__id
65
65
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_item__id
66
66
  msgid "ID"
67
- msgstr "ID"
67
+ msgstr ""
68
68
 
69
69
  #. module: l10n_ro_stock_price_difference
70
70
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog__invoice_id
@@ -84,8 +84,11 @@ msgstr "Articol"
84
84
 
85
85
  #. module: l10n_ro_stock_price_difference
86
86
  #: model:ir.model,name:l10n_ro_stock_price_difference.model_l10n_ro_price_difference_item
87
- msgid "Item from Wizard to show price differences between invoice and reception"
88
- msgstr "Articol din Wizard pentru a afișa diferențele de preț dintre factură și recepție"
87
+ msgid ""
88
+ "Item from Wizard to show price differences between invoice and reception"
89
+ msgstr ""
90
+ "Articol din Wizard pentru a afișa diferențele de preț dintre factură și "
91
+ "recepție"
89
92
 
90
93
  #. module: l10n_ro_stock_price_difference
91
94
  #: model:ir.model,name:l10n_ro_stock_price_difference.model_account_move
@@ -102,12 +105,6 @@ msgstr "Element jurnal"
102
105
  msgid "Landed Cost Type"
103
106
  msgstr "Tipuri de Costuri Adiționale"
104
107
 
105
- #. module: l10n_ro_stock_price_difference
106
- #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog____last_update
107
- #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_item____last_update
108
- msgid "Last Modified on"
109
- msgstr "Ultima modificare pe"
110
-
111
108
  #. module: l10n_ro_stock_price_difference
112
109
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_confirm_dialog__write_uid
113
110
  #: model:ir.model.fields,field_description:l10n_ro_stock_price_difference.field_l10n_ro_price_difference_item__write_uid
@@ -160,3 +157,6 @@ msgstr "Există diferențe de preț între ridicarea recepției și această fac
160
157
  #: model:ir.model,name:l10n_ro_stock_price_difference.model_l10n_ro_price_difference_confirm_dialog
161
158
  msgid "Wizard to show price differences between invoice and reception"
162
159
  msgstr "Expert pentru a afișa diferențele de preț între factură și recepție"
160
+
161
+ #~ msgid "Last Modified on"
162
+ #~ msgstr "Ultima modificare pe"
@@ -37,7 +37,8 @@ class AccountMove(models.Model):
37
37
  for invoice in self:
38
38
  if invoice.move_type in ["in_invoice", "in_refund"]:
39
39
  invoice_lines = invoice.invoice_line_ids.filtered(
40
- lambda l: l.display_type == "product" and l.purchase_line_id
40
+ lambda line: line.display_type == "product"
41
+ and line.purchase_line_id
41
42
  )
42
43
  for line in invoice_lines:
43
44
  add_diff = invoice.company_id.l10n_ro_stock_acc_price_diff
@@ -97,7 +98,8 @@ class AccountMove(models.Model):
97
98
  "in_refund",
98
99
  ]:
99
100
  invoice_lines = invoice.invoice_line_ids.filtered(
100
- lambda l: l.display_type == "product" and l.purchase_line_id
101
+ lambda line: line.display_type == "product"
102
+ and line.purchase_line_id
101
103
  )
102
104
  for line in invoice_lines:
103
105
  add_diff = invoice.company_id.l10n_ro_stock_acc_price_diff
@@ -49,8 +49,8 @@ class AccountMoveLine(models.Model):
49
49
  val_stock_move.sudo()
50
50
  .mapped("stock_valuation_layer_ids")
51
51
  .filtered(
52
- lambda l: not l.stock_landed_cost_id
53
- or l.stock_landed_cost_id.l10n_ro_cost_type == "price_diff"
52
+ lambda line: not line.stock_landed_cost_id
53
+ or line.stock_landed_cost_id.l10n_ro_cost_type == "price_diff"
54
54
  )
55
55
  )
56
56
  layers_qty = sum(svl.mapped("quantity"))
@@ -174,7 +174,8 @@ class AccountMoveLine(models.Model):
174
174
  }
175
175
  )
176
176
 
177
- self.sudo().company_id.l10n_ro_property_stock_price_difference_product_id = (
177
+ company = self.sudo().company_id
178
+ company.l10n_ro_property_stock_price_difference_product_id = (
178
179
  price_diff_product
179
180
  )
180
181
 
@@ -0,0 +1,8 @@
1
+ - [NextERP Romania](https://www.nexterp.ro):
2
+ - Fekete Mihai \<<feketemihai@nexterp.ro>\>
3
+ - Cojocaru Marcel \<<cojocarumarcel@nexterp.ro>\>
4
+ - [Terrabit](https://www.terrabit.ro):
5
+ - Dorin Hongu \<<dhongu@gmail.com>\>
6
+
7
+ Do not contact contributors directly about support or help with
8
+ technical issues.
@@ -0,0 +1,3 @@
1
+ The module is managing price diferences between invoices and receptions.
2
+ It will create a landed cost with a "Price Difference" product available
3
+ in the configuration.
@@ -8,10 +8,11 @@
8
8
 
9
9
  /*
10
10
  :Author: David Goodger (goodger@python.org)
11
- :Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
12
  :Copyright: This stylesheet has been placed in the public domain.
13
13
 
14
14
  Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
15
16
 
16
17
  See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
17
18
  customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
274
275
  margin-left: 2em ;
275
276
  margin-right: 2em }
276
277
 
277
- pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code .ln { color: gray; } /* line numbers */
278
279
  pre.code, code { background-color: #eeeeee }
279
280
  pre.code .comment, code .comment { color: #5C6576 }
280
281
  pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
300
301
  span.pre {
301
302
  white-space: pre }
302
303
 
303
- span.problematic {
304
+ span.problematic, pre.problematic {
304
305
  color: red }
305
306
 
306
307
  span.section-subtitle {
@@ -366,10 +367,12 @@ ul.auto-toc {
366
367
  !! This file is generated by oca-gen-addon-readme !!
367
368
  !! changes will be overwritten. !!
368
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:4cbd59a27b9540285649c22b08016d7f702b479a69ba6a403b698ddee2268749
370
+ !! source digest: sha256:342af7e5230ee97cca81dcd8984fb1ccc637703109e6ee8bfcb9a4cbe718d57b
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
- <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/16.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-16-0/l10n-romania-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
- <p>The module is managing price diferences between invoices and receptions. It will create a landed cost with a “Price Difference” product available in the configuration.</p>
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
+ <p>The module is managing price diferences between invoices and receptions.
374
+ It will create a landed cost with a “Price Difference” product available
375
+ in the configuration.</p>
373
376
  <p><strong>Table of contents</strong></p>
374
377
  <div class="contents local topic" id="contents">
375
378
  <ul class="simple">
@@ -387,7 +390,7 @@ ul.auto-toc {
387
390
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-romania/issues">GitHub Issues</a>.
388
391
  In case of trouble, please check there if your issue has already been reported.
389
392
  If you spotted it first, help us to smash it by providing a detailed and welcomed
390
- <a class="reference external" href="https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393
+ <a class="reference external" href="https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
391
394
  <p>Do not contact contributors directly about support or help with technical issues.</p>
392
395
  </div>
393
396
  <div class="section" id="credits">
@@ -412,18 +415,21 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
412
415
  </ul>
413
416
  </li>
414
417
  </ul>
415
- <p>Do not contact contributors directly about support or help with technical issues.</p>
418
+ <p>Do not contact contributors directly about support or help with
419
+ technical issues.</p>
416
420
  </div>
417
421
  <div class="section" id="maintainers">
418
422
  <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
419
423
  <p>This module is maintained by the OCA.</p>
420
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
424
+ <a class="reference external image-reference" href="https://odoo-community.org">
425
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
426
+ </a>
421
427
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
422
428
  mission is to support the collaborative development of Odoo features and
423
429
  promote its widespread use.</p>
424
430
  <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
425
431
  <p><a class="reference external image-reference" href="https://github.com/feketemihai"><img alt="feketemihai" src="https://github.com/feketemihai.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/mcojocaru"><img alt="mcojocaru" src="https://github.com/mcojocaru.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/dhongu"><img alt="dhongu" src="https://github.com/dhongu.png?size=40px" /></a></p>
426
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_stock_price_difference">OCA/l10n-romania</a> project on GitHub.</p>
432
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-romania/tree/17.0/l10n_ro_stock_price_difference">OCA/l10n-romania</a> project on GitHub.</p>
427
433
  <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
428
434
  </div>
429
435
  </div>
@@ -196,8 +196,9 @@ class TestStockPurchase(TestStockCommonPriceDiff):
196
196
 
197
197
  self.create_po(partial=True)
198
198
 
199
- # in stoc produsele sunt la valoarea din factura minus diferenta pe receptia partiala
200
- # self.check_stock_valuation(self.val_p1_f - 5, self.val_p2_f + 5)
199
+ # in stoc produsele sunt la valoarea din factura minus diferenta pe
200
+ # receptia partiala self.check_stock_valuation(self.val_p1_f - 5,
201
+ # self.val_p2_f + 5)
201
202
 
202
203
  # in contabilitate stocul are valoarea din factura
203
204
  self.check_account_valuation(self.val_p1_f, self.val_p2_f)
@@ -30,9 +30,9 @@ class TestStockPurchaseDozen(TestStockCommonPriceDiff):
30
30
  picking = po.picking_ids.filtered(lambda pick: pick.state != "done")
31
31
  for move_line in picking.move_line_ids:
32
32
  if move_line.product_id == self.product_1:
33
- move_line.write({"qty_done": qty_done_p1})
33
+ move_line.write({"quantity": qty_done_p1})
34
34
  if move_line.product_id == self.product_2:
35
- move_line.write({"qty_done": qty_done_p2})
35
+ move_line.write({"quantity": qty_done_p2})
36
36
 
37
37
  picking.button_validate()
38
38
  picking._action_done()
@@ -1,21 +1,20 @@
1
1
  Metadata-Version: 2.1
2
- Name: odoo-addon-l10n-ro-stock-price-difference
3
- Version: 16.0.5.9.0
2
+ Name: odoo-addon-l10n_ro_stock_price_difference
3
+ Version: 17.0.0.2.0.1
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: odoo-addon-l10n_ro_stock_account_landed_cost>=17.0dev,<17.1dev
6
+ Requires-Dist: odoo-addon-l10n_ro_stock_account_notice>=17.0dev,<17.1dev
7
+ Requires-Dist: odoo>=17.0a,<17.1dev
4
8
  Summary: Romania - Stock Accounting Price Difference
5
9
  Home-page: https://github.com/OCA/l10n-romania
10
+ License: AGPL-3
6
11
  Author: NextERP Romania,Dorin Hongu,Odoo Community Association (OCA)
7
12
  Author-email: support@odoo-community.org
8
- License: AGPL-3
9
- Platform: UNKNOWN
10
13
  Classifier: Programming Language :: Python
11
14
  Classifier: Framework :: Odoo
12
- Classifier: Framework :: Odoo :: 16.0
15
+ Classifier: Framework :: Odoo :: 17.0
13
16
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
17
  Classifier: Development Status :: 6 - Mature
15
- Requires-Python: >=3.10
16
- Requires-Dist: odoo-addon-l10n-ro-stock-account-landed-cost <16.1dev,>=16.0dev
17
- Requires-Dist: odoo-addon-l10n-ro-stock-account-notice <16.1dev,>=16.0dev
18
- Requires-Dist: odoo <16.1dev,>=16.0a
19
18
 
20
19
  ===========================================
21
20
  Romania - Stock Accounting Price Difference
@@ -26,7 +25,7 @@ Romania - Stock Accounting Price Difference
26
25
  !! This file is generated by oca-gen-addon-readme !!
27
26
  !! changes will be overwritten. !!
28
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
- !! source digest: sha256:4cbd59a27b9540285649c22b08016d7f702b479a69ba6a403b698ddee2268749
28
+ !! source digest: sha256:342af7e5230ee97cca81dcd8984fb1ccc637703109e6ee8bfcb9a4cbe718d57b
30
29
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
30
 
32
31
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -36,18 +35,20 @@ Romania - Stock Accounting Price Difference
36
35
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
37
36
  :alt: License: AGPL-3
38
37
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--romania-lightgray.png?logo=github
39
- :target: https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_stock_price_difference
38
+ :target: https://github.com/OCA/l10n-romania/tree/17.0/l10n_ro_stock_price_difference
40
39
  :alt: OCA/l10n-romania
41
40
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
42
- :target: https://translation.odoo-community.org/projects/l10n-romania-16-0/l10n-romania-16-0-l10n_ro_stock_price_difference
41
+ :target: https://translation.odoo-community.org/projects/l10n-romania-17-0/l10n-romania-17-0-l10n_ro_stock_price_difference
43
42
  :alt: Translate me on Weblate
44
43
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
45
- :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=16.0
44
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=17.0
46
45
  :alt: Try me on Runboat
47
46
 
48
47
  |badge1| |badge2| |badge3| |badge4| |badge5|
49
48
 
50
- The module is managing price diferences between invoices and receptions. It will create a landed cost with a "Price Difference" product available in the configuration.
49
+ The module is managing price diferences between invoices and receptions.
50
+ It will create a landed cost with a "Price Difference" product available
51
+ in the configuration.
51
52
 
52
53
  **Table of contents**
53
54
 
@@ -60,7 +61,7 @@ Bug Tracker
60
61
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_.
61
62
  In case of trouble, please check there if your issue has already been reported.
62
63
  If you spotted it first, help us to smash it by providing a detailed and welcomed
63
- `feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
64
+ `feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_stock_price_difference%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
64
65
 
65
66
  Do not contact contributors directly about support or help with technical issues.
66
67
 
@@ -68,29 +69,28 @@ Credits
68
69
  =======
69
70
 
70
71
  Authors
71
- ~~~~~~~
72
+ -------
72
73
 
73
74
  * NextERP Romania
74
75
  * Dorin Hongu
75
76
 
76
77
  Contributors
77
- ~~~~~~~~~~~~
78
-
79
- * `NextERP Romania <https://www.nexterp.ro>`_:
78
+ ------------
80
79
 
81
- * Fekete Mihai <feketemihai@nexterp.ro>
82
- * Cojocaru Marcel <cojocarumarcel@nexterp.ro>
80
+ - `NextERP Romania <https://www.nexterp.ro>`__:
83
81
 
84
- * `Terrabit <https://www.terrabit.ro>`_:
82
+ - Fekete Mihai <feketemihai@nexterp.ro>
83
+ - Cojocaru Marcel <cojocarumarcel@nexterp.ro>
85
84
 
86
- * Dorin Hongu <dhongu@gmail.com>
85
+ - `Terrabit <https://www.terrabit.ro>`__:
87
86
 
87
+ - Dorin Hongu <dhongu@gmail.com>
88
88
 
89
-
90
- Do not contact contributors directly about support or help with technical issues.
89
+ Do not contact contributors directly about support or help with
90
+ technical issues.
91
91
 
92
92
  Maintainers
93
- ~~~~~~~~~~~
93
+ -----------
94
94
 
95
95
  This module is maintained by the OCA.
96
96
 
@@ -116,8 +116,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
116
116
 
117
117
  |maintainer-feketemihai| |maintainer-mcojocaru| |maintainer-dhongu|
118
118
 
119
- This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_stock_price_difference>`_ project on GitHub.
119
+ This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/17.0/l10n_ro_stock_price_difference>`_ project on GitHub.
120
120
 
121
121
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
122
-
123
-
@@ -1,28 +1,28 @@
1
- odoo/addons/l10n_ro_stock_price_difference/README.rst,sha256=9vuPRoEoc5McyNIHP91qybVEZCIkRsbT-P8eVnj12lk,3914
1
+ odoo/addons/l10n_ro_stock_price_difference/README.rst,sha256=IjzUuwJr7K9YHduvn74lhRLbSawwOP1xsN7GH0wxV-A,3922
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=BSDf92JMjK_ln1aE5-qRiItJPQvEv9T7DhrBUWE558I,880
4
- odoo/addons/l10n_ro_stock_price_difference/i18n/l10n_ro_stock_price_difference.pot,sha256=DSL5pV_d_I9EkArrQAfAherXePhksUS3pUWyE22OWfU,6771
5
- odoo/addons/l10n_ro_stock_price_difference/i18n/ro.po,sha256=-DyWg54UxZWXPa4lQxo09sEdM_AvhFB9LE-7U8FSh9w,7520
3
+ odoo/addons/l10n_ro_stock_price_difference/__manifest__.py,sha256=c4qfBdOTUXFPBgc5qrnJaS9N3W1J6kKYuoXsWkZrnTg,880
4
+ odoo/addons/l10n_ro_stock_price_difference/i18n/l10n_ro_stock_price_difference.pot,sha256=fhjZlplGBx0-M6AAjxZf3o8gZimbYsWGF4bJN10hgEY,6433
5
+ odoo/addons/l10n_ro_stock_price_difference/i18n/ro.po,sha256=RLqLF2o1riu7EYGq9dPvo6FdNkcZHZ6ztwnq7joPbko,7231
6
6
  odoo/addons/l10n_ro_stock_price_difference/migrations/16.0.5.4.1/pre-migration.py,sha256=cXgeRsSdrg-EaHESj7jSF1S5Lq2vku5mdQZ51onsQeo,615
7
7
  odoo/addons/l10n_ro_stock_price_difference/models/__init__.py,sha256=IziDGW2M2uyUtaLJGSWQsaF6Zz4Qxrtvu9emLMLoEpI,91
8
- odoo/addons/l10n_ro_stock_price_difference/models/account_move.py,sha256=OTK37Y6ihNpgvnKexecjJb8HEWY3zzqPWvX8e4wPAhM,4853
9
- odoo/addons/l10n_ro_stock_price_difference/models/account_move_line.py,sha256=CgBH-Aq8uxReTIA_KMwLPquogGK5bmdIyqWfVq1y_90,6703
8
+ odoo/addons/l10n_ro_stock_price_difference/models/account_move.py,sha256=Ma-nJCBEprYYgelaiinYiQhc42FGaaicy62xMHE8OD4,4911
9
+ odoo/addons/l10n_ro_stock_price_difference/models/account_move_line.py,sha256=pijdJc4_BnWGDqeZZ_BVnyQRSql1cW8NDq72Jt2Qx3s,6742
10
10
  odoo/addons/l10n_ro_stock_price_difference/models/stock_landed_cost.py,sha256=MADLWl4nFsYk-1fyeJalCyA0C03OaO0nPAjxuOQz74w,1063
11
- odoo/addons/l10n_ro_stock_price_difference/readme/CONTRIBUTORS.rst,sha256=imooaJThv-eiLh7K10cko5NoFQKfEbaU4OcGDn9WKqM,301
12
- odoo/addons/l10n_ro_stock_price_difference/readme/DESCRIPTION.rst,sha256=WREtcKsSvyty_YnHiOsXvzuFkD1DzE3pH0vZOmgdjzE,168
11
+ odoo/addons/l10n_ro_stock_price_difference/readme/CONTRIBUTORS.md,sha256=eE0etR3EXdnWkwRy10nFONNIVqYrmpMxDhFlNi_EhBA,304
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=gndYwb6gyE4_x_AG2bBfEKzanJKcR1n77uCs6XGxjsM,13474
15
+ odoo/addons/l10n_ro_stock_price_difference/static/description/index.html,sha256=EXLbeu74uUa6au5bkE2kDQq-cTa26_lKtoVXs9ORPxA,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
- odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase.py,sha256=mjaVP3rB_UKTO9Ngg1dQi-1D7ZUnPuGosP9CovLJz0Q,8091
19
- odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase_dozen.py,sha256=PP4E101pnw0BQJShvWRVN-46FMd9aAU-iRyQPtS_rJ8,2426
18
+ odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase.py,sha256=2dZ5j5j_5ZaPBkhqlzfEhJ-68jIsyhWO8DJsEU2Z0Ks,8101
19
+ odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase_dozen.py,sha256=VZ9R8wbui5UuXYBMNegwXvHU-S_kgPTt2LZJ9nht4Eo,2426
20
20
  odoo/addons/l10n_ro_stock_price_difference/tests/test_purchase_refund.py,sha256=EDOf9_bFf5foD3bt39OhkgfT_Mdf8C7AQgwUcfTL1Uk,2324
21
21
  odoo/addons/l10n_ro_stock_price_difference/tests/test_sale.py,sha256=GKl253rDrndcPsjEOWx98QSRz1p5UDJlrZooZksVfAs,2061
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-16.0.5.9.0.dist-info/METADATA,sha256=VxuFn9SEy3pq1J1UZoTt3YNZzW-pCGeY1hqwLvK7o-g,4697
26
- odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
27
- odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
28
- odoo_addon_l10n_ro_stock_price_difference-16.0.5.9.0.dist-info/RECORD,,
25
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info/METADATA,sha256=YLpdcBGlXIQGCsfVW_bwSTO8Em0LLDSwGI10dK7YKnM,4684
26
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
27
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
28
+ odoo_addon_l10n_ro_stock_price_difference-17.0.0.2.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: Whool 1.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,12 +0,0 @@
1
- * `NextERP Romania <https://www.nexterp.ro>`_:
2
-
3
- * Fekete Mihai <feketemihai@nexterp.ro>
4
- * Cojocaru Marcel <cojocarumarcel@nexterp.ro>
5
-
6
- * `Terrabit <https://www.terrabit.ro>`_:
7
-
8
- * Dorin Hongu <dhongu@gmail.com>
9
-
10
-
11
-
12
- Do not contact contributors directly about support or help with technical issues.
@@ -1 +0,0 @@
1
- The module is managing price diferences between invoices and receptions. It will create a landed cost with a "Price Difference" product available in the configuration.