odoo-addon-stock-barcodes 15.0.3.1.5.2__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.
- odoo/addons/stock_barcodes/README.rst +1 -1
- odoo/addons/stock_barcodes/__manifest__.py +1 -1
- odoo/addons/stock_barcodes/static/description/index.html +8 -5
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read.py +11 -3
- {odoo_addon_stock_barcodes-15.0.3.1.5.2.dist-info → odoo_addon_stock_barcodes-15.0.3.1.6.dist-info}/METADATA +2 -2
- {odoo_addon_stock_barcodes-15.0.3.1.5.2.dist-info → odoo_addon_stock_barcodes-15.0.3.1.6.dist-info}/RECORD +8 -8
- {odoo_addon_stock_barcodes-15.0.3.1.5.2.dist-info → odoo_addon_stock_barcodes-15.0.3.1.6.dist-info}/WHEEL +0 -0
- {odoo_addon_stock_barcodes-15.0.3.1.5.2.dist-info → odoo_addon_stock_barcodes-15.0.3.1.6.dist-info}/top_level.txt +0 -0
@@ -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:
|
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.
|
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",
|
@@ -8,10 +8,11 @@
|
|
8
8
|
|
9
9
|
/*
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
11
|
-
:Id: $Id: html4css1.css
|
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:
|
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:
|
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&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"
|
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.
|
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:
|
26
|
+
!! source digest: sha256:6658299983dc274c7a7bbc0ed6f36e8a9b679249c86b3295a92c78fdf305c00f
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
28
28
|
|
29
29
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -1,6 +1,6 @@
|
|
1
|
-
odoo/addons/stock_barcodes/README.rst,sha256=
|
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=
|
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
|
@@ -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=
|
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
|
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.
|
60
|
-
odoo_addon_stock_barcodes-15.0.3.1.
|
61
|
-
odoo_addon_stock_barcodes-15.0.3.1.
|
62
|
-
odoo_addon_stock_barcodes-15.0.3.1.
|
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,,
|
File without changes
|
File without changes
|