odoo-addon-stock-barcodes 15.0.3.1.5.1__py3-none-any.whl → 15.0.3.1.6__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 @@ Stock Barcodes
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
10
+ !! source digest: sha256:6658299983dc274c7a7bbc0ed6f36e8a9b679249c86b3295a92c78fdf305c00f
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "name": "Stock Barcodes",
5
5
  "summary": "It provides read barcode on stock operations.",
6
- "version": "15.0.3.1.5",
6
+ "version": "15.0.3.1.6",
7
7
  "author": "Tecnativa, " "Odoo Community Association (OCA)",
8
8
  "website": "https://github.com/OCA/stock-logistics-barcode",
9
9
  "license": "AGPL-3",
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Odoo Server 14.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2024-08-22 11:07+0000\n"
9
+ "PO-Revision-Date: 2024-09-18 10:06+0000\n"
10
10
  "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11
11
  "Language-Team: none\n"
12
12
  "Language: it\n"
@@ -345,7 +345,7 @@ msgstr "Opzioni codice a barre"
345
345
  #: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory___barcode_scanned
346
346
  #: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking___barcode_scanned
347
347
  msgid "Barcode Scanned"
348
- msgstr "Barcode scansionato"
348
+ msgstr "Codice a barre letto"
349
349
 
350
350
  #. module: stock_barcodes
351
351
  #: model:ir.ui.menu,name:stock_barcodes.menu_action_stock_barcodes
@@ -1743,7 +1743,7 @@ msgstr "Valida"
1743
1743
  #: model:ir.model.fields,help:stock_barcodes.field_wiz_stock_barcodes_read_inventory___barcode_scanned
1744
1744
  #: model:ir.model.fields,help:stock_barcodes.field_wiz_stock_barcodes_read_picking___barcode_scanned
1745
1745
  msgid "Value of the last barcode scanned."
1746
- msgstr "Valore dell'ultimo codice a barre scansionato."
1746
+ msgstr "Valore dell'ultimo codice a barre letto."
1747
1747
 
1748
1748
  #. module: stock_barcodes
1749
1749
  #: model:ir.model.fields.selection,name:stock_barcodes.selection__wiz_stock_barcodes_read_picking__picking_type_code__incoming
@@ -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,7 +367,7 @@ 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:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
370
+ !! source digest: sha256:6658299983dc274c7a7bbc0ed6f36e8a9b679249c86b3295a92c78fdf305c00f
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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/stock-logistics-barcode/tree/15.0/stock_barcodes"><img alt="OCA/stock-logistics-barcode" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--barcode-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-barcode-15-0/stock-logistics-barcode-15-0-stock_barcodes"><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/stock-logistics-barcode&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
373
  <p>This module provides a barcode reader interface for stock module.</p>
@@ -556,7 +557,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
556
557
  <div class="section" id="maintainers">
557
558
  <h2><a class="toc-backref" href="#toc-entry-16">Maintainers</a></h2>
558
559
  <p>This module is maintained by the OCA.</p>
559
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
560
+ <a class="reference external image-reference" href="https://odoo-community.org">
561
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
562
+ </a>
560
563
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
561
564
  mission is to support the collaborative development of Odoo features and
562
565
  promote its widespread use.</p>
@@ -258,6 +258,8 @@ class WizStockBarcodesRead(models.AbstractModel):
258
258
  "more_match",
259
259
  _("No stock available for this lot with screen values"),
260
260
  )
261
+ self.lot_id = False
262
+ self.lot_name = False
261
263
  return False
262
264
  if quants:
263
265
  self.set_info_from_quants(quants)
@@ -371,12 +373,14 @@ class WizStockBarcodesRead(models.AbstractModel):
371
373
  def process_barcode_packaging_id(self):
372
374
  domain = self._barcode_domain(self.barcode)
373
375
  if self.env.user.has_group("product.group_stock_packaging"):
376
+ domain.append(("product_id", "!=", False))
374
377
  packaging = self.env["product.packaging"].search(domain)
375
378
  if packaging:
376
379
  if len(packaging) > 1:
377
380
  self._set_messagge_info(
378
381
  "more_match", _("More than one package found")
379
382
  )
383
+ self.packaging_id = False
380
384
  return False
381
385
  self.action_packaging_scaned_post(packaging)
382
386
  return True
@@ -399,14 +403,15 @@ class WizStockBarcodesRead(models.AbstractModel):
399
403
  option_func = getattr(self, "process_barcode_%s" % option.field_name, False)
400
404
  if option_func:
401
405
  res = option_func()
402
- if option.required:
403
- self.play_sounds(res)
404
406
  if res:
405
407
  barcode_found = True
408
+ self.play_sounds(barcode_found)
406
409
  break
407
410
  elif self.message_type != "success":
411
+ self.play_sounds(False)
408
412
  return False
409
413
  if not barcode_found:
414
+ self.play_sounds(barcode_found)
410
415
  if self.option_group_id.ignore_filled_fields:
411
416
  self._set_messagge_info(
412
417
  "info", _("Barcode not found or field already filled")
@@ -749,6 +754,7 @@ class WizStockBarcodesRead(models.AbstractModel):
749
754
 
750
755
  def action_confirm(self):
751
756
  if not self.check_option_required():
757
+ self.play_sounds(False)
752
758
  return False
753
759
  record = self.browse(self.ids)
754
760
  record.write(self._convert_to_write(self._cache))
@@ -839,7 +845,9 @@ class WizStockBarcodesRead(models.AbstractModel):
839
845
  options.
840
846
  sticky: Permanent notification until user removes it
841
847
  """
842
- if self.option_group_id.display_notification:
848
+ if self.option_group_id.display_notification and not self.env.context.get(
849
+ "skip_display_notification", False
850
+ ):
843
851
  message = {"message": message, "type": message_type, "sticky": sticky}
844
852
  if title:
845
853
  message["title"] = title
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-stock_barcodes
3
- Version: 15.0.3.1.5.1
3
+ Version: 15.0.3.1.6
4
4
  Summary: It provides read barcode on stock operations.
5
5
  Home-page: https://github.com/OCA/stock-logistics-barcode
6
6
  Author: Tecnativa, Odoo Community Association (OCA)
@@ -23,7 +23,7 @@ Stock Barcodes
23
23
  !! This file is generated by oca-gen-addon-readme !!
24
24
  !! changes will be overwritten. !!
25
25
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:2cb108800d4184b951795fa6c906ec0d63a06035061daad42aca10893c49a5be
26
+ !! source digest: sha256:6658299983dc274c7a7bbc0ed6f36e8a9b679249c86b3295a92c78fdf305c00f
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
28
 
29
29
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,11 +1,11 @@
1
- odoo/addons/stock_barcodes/README.rst,sha256=N-f3xYdVwqj2aFMSeAtqzspvKjuH1XmMoNbjFrC3BDo,7000
1
+ odoo/addons/stock_barcodes/README.rst,sha256=OmeLJa1RU2gd7KVsZRG331p7VmNXuq8YDqax1cn3IT0,7000
2
2
  odoo/addons/stock_barcodes/__init__.py,sha256=GJDFROBciW9KNOlikIfV-4Gu8TPCJRp8ZWZCxngbDtI,206
3
- odoo/addons/stock_barcodes/__manifest__.py,sha256=qzPzAh-jVtz0B-i8ZOIyAbbV2HOvG0p8vdoRifJf14Q,1721
3
+ odoo/addons/stock_barcodes/__manifest__.py,sha256=GJjJvEuz9rIH7akMnroMdDZMVVTs-7XszZLX3fwvaZU,1721
4
4
  odoo/addons/stock_barcodes/hooks.py,sha256=XramAPbWa-q40rEpW_LmnNpnF-aMd_WseYb_kyG3ntQ,525
5
5
  odoo/addons/stock_barcodes/data/stock_barcodes_action.xml,sha256=BYvm7V39dkqfLPCtNVpYKzqinOaIuRGCjTz9Fo5U3m4,1889
6
6
  odoo/addons/stock_barcodes/data/stock_barcodes_option.xml,sha256=gBDOLurvDcRlBRg7Ni2_Uk_an9uJOpRM55LiRl9u7aA,20711
7
7
  odoo/addons/stock_barcodes/i18n/es.po,sha256=5wT53pkZ1hpv5uRcHbUfLjNG7fYQyUryxIXpuN2NWio,90169
8
- odoo/addons/stock_barcodes/i18n/it.po,sha256=_GJBpEykiYGp-ITsioibErbtQqogePey8w2fFqFTjUA,87080
8
+ odoo/addons/stock_barcodes/i18n/it.po,sha256=aYvN1R8za2CoLHzmBcsel6DWQ_iNpD7k7nf2Tii_mnY,87075
9
9
  odoo/addons/stock_barcodes/i18n/stock_barcodes.pot,sha256=2laiikKUHlvjtJP4hus5CndCF7Iv2h5jWarXuYzE4Rc,76462
10
10
  odoo/addons/stock_barcodes/migrations/15.0.1.0.0/pre-migration.py,sha256=HAhq_Q8pCUpu8vHs0ukSTFX7RmEvurJDN2M49HTGomI,400
11
11
  odoo/addons/stock_barcodes/models/__init__.py,sha256=vDwn77QfdOHXvQS_g4_Xjj7jWYX7WGoahPzpttpIgko,227
@@ -24,7 +24,7 @@ odoo/addons/stock_barcodes/readme/USAGE.rst,sha256=I3vBT7ih0lReN147-tDO6imDTuHWs
24
24
  odoo/addons/stock_barcodes/security/ir.model.access.csv,sha256=GUAIZrn35Oh4aTIr7qJmtrWwNg8BvP1avdIzQhiOPIE,1584
25
25
  odoo/addons/stock_barcodes/static/description/icon.png,sha256=7ksDD35buxE_kBLoeXUGbdSW_5n-LC4S-SnQSs9tz1A,2994
26
26
  odoo/addons/stock_barcodes/static/description/icon.svg,sha256=aMrHV2Isu4t_jJlnLVYqbcL_icg9wT2eSSAKxQ3pgDA,69299
27
- odoo/addons/stock_barcodes/static/description/index.html,sha256=yqWC_KMO1SdEbaBTwmiTiG62BptX1YKvBj5gevDSJ48,19068
27
+ odoo/addons/stock_barcodes/static/description/index.html,sha256=9q4mYYbHkD-VGG9bhl7tcqz66Dsu_zYHnUrbmPJdJWk,19151
28
28
  odoo/addons/stock_barcodes/static/src/css/stock.css,sha256=6U9n2kttW8cXYWMU04eEtHmY6-7Bcn3o1LAMCpC5J3c,121
29
29
  odoo/addons/stock_barcodes/static/src/css/stock.scss,sha256=w8oMsOijg8cwC5uDefUr-PFMHB_NNMgK3roONAK5OLY,1984
30
30
  odoo/addons/stock_barcodes/static/src/img/scan.png,sha256=DIN3r_B9kzMGmeRpqSx8K0S7RO8_FEwZudxGUYIPqSM,5405
@@ -46,7 +46,7 @@ odoo/addons/stock_barcodes/views/stock_barcodes_option_view.xml,sha256=spHnKXz9O
46
46
  odoo/addons/stock_barcodes/views/stock_location_views.xml,sha256=ZjbIEGztSEqNcl6xN4R8H0Np68Y0-K05QP-R47Sscps,716
47
47
  odoo/addons/stock_barcodes/views/stock_picking_views.xml,sha256=Ulev5113Gir1CzKzoiWMp_e3cSk_OkT3btrMS_Ac5Gs,4753
48
48
  odoo/addons/stock_barcodes/wizard/__init__.py,sha256=uUoIvaVAJWYetOqNRsGyYFjsBfMevz4UC3jkeZn_CTY,194
49
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read.py,sha256=dApXAQdEp3Al0OSNVyCbzldrApWjGpurDwdN5hDugMY,32873
49
+ odoo/addons/stock_barcodes/wizard/stock_barcodes_read.py,sha256=-UBNovHcEiZU7dlr3OHzufFLU-h2xculiMHewGdbeYc,33249
50
50
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory.py,sha256=OA4v2gPdiKhLReQ4ZjHTTIq_xUQbbRrERTU8JZuwR9k,5089
51
51
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory_views.xml,sha256=98XV32z771eWTeAgZ19NsL9_UOJroFJr9WqSpLDI8j4,10179
52
52
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking.py,sha256=6ntI87rE29xX8oE7IqnwMjbHyjBUq0OOQi4rIQZdbl0,37429
@@ -56,7 +56,7 @@ odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo_view.xml,sha256=DOZKG
56
56
  odoo/addons/stock_barcodes/wizard/stock_barcodes_read_views.xml,sha256=bC_08j8ZLT81iFhKhPGEb8nD6RlpT-ZfykUkvpCHjgs,33375
57
57
  odoo/addons/stock_barcodes/wizard/stock_production_lot.py,sha256=-xxa2_y0Ln3THilCi5DZpauTesdtiRp9SIZiTFHff9k,2217
58
58
  odoo/addons/stock_barcodes/wizard/stock_production_lot_views.xml,sha256=rsX8DUnwQVkGFfGcsYcrsfkgCh5JGmiO3BrSJilIhJc,2056
59
- odoo_addon_stock_barcodes-15.0.3.1.5.1.dist-info/METADATA,sha256=c4cUcchPcEjD_JYAxasu3MyGIbgn-ziE0hlzxfjKx8I,7615
60
- odoo_addon_stock_barcodes-15.0.3.1.5.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
- odoo_addon_stock_barcodes-15.0.3.1.5.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
62
- odoo_addon_stock_barcodes-15.0.3.1.5.1.dist-info/RECORD,,
59
+ odoo_addon_stock_barcodes-15.0.3.1.6.dist-info/METADATA,sha256=oWn_PlPoin0WNiaCQam-RM9jT5ZkCdlKfp8a-0FTfvY,7613
60
+ odoo_addon_stock_barcodes-15.0.3.1.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
+ odoo_addon_stock_barcodes-15.0.3.1.6.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
62
+ odoo_addon_stock_barcodes-15.0.3.1.6.dist-info/RECORD,,