odoo-addon-stock-barcodes 16.0.2.0.4__py3-none-any.whl → 16.0.2.0.5__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/models/stock_barcodes_action.py +3 -11
- odoo/addons/stock_barcodes/static/description/index.html +1 -1
- {odoo_addon_stock_barcodes-16.0.2.0.4.dist-info → odoo_addon_stock_barcodes-16.0.2.0.5.dist-info}/METADATA +2 -2
- {odoo_addon_stock_barcodes-16.0.2.0.4.dist-info → odoo_addon_stock_barcodes-16.0.2.0.5.dist-info}/RECORD +8 -8
- {odoo_addon_stock_barcodes-16.0.2.0.4.dist-info → odoo_addon_stock_barcodes-16.0.2.0.5.dist-info}/WHEEL +0 -0
- {odoo_addon_stock_barcodes-16.0.2.0.4.dist-info → odoo_addon_stock_barcodes-16.0.2.0.5.dist-info}/top_level.txt +0 -0
@@ -11,7 +11,7 @@ Stock Barcodes
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
12
12
|
!! changes will be overwritten. !!
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
14
|
-
!! source digest: sha256:
|
14
|
+
!! source digest: sha256:440fc771b14ee584dfbaa676845eca212e02b85d0d790d288f04aa32590203e0
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
16
16
|
|
17
17
|
.. |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": "16.0.2.0.
|
6
|
+
"version": "16.0.2.0.5",
|
7
7
|
"author": "Tecnativa, " "Odoo Community Association (OCA)",
|
8
8
|
"website": "https://github.com/OCA/stock-logistics-barcode",
|
9
9
|
"license": "AGPL-3",
|
@@ -2,10 +2,6 @@
|
|
2
2
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
3
|
import base64
|
4
4
|
import re
|
5
|
-
from io import BytesIO
|
6
|
-
|
7
|
-
import barcode
|
8
|
-
from barcode.writer import ImageWriter
|
9
5
|
|
10
6
|
from odoo import _, api, fields, models
|
11
7
|
from odoo.exceptions import ValidationError
|
@@ -66,13 +62,9 @@ class StockBarcodesAction(models.Model):
|
|
66
62
|
)
|
67
63
|
|
68
64
|
def _generate_barcode(self):
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
barcode_instance.write(buffer)
|
73
|
-
buffer.seek(0)
|
74
|
-
image_base64 = base64.b64encode(buffer.getvalue())
|
75
|
-
return image_base64
|
65
|
+
return base64.b64encode(
|
66
|
+
self.env["ir.actions.report"].barcode("Code128", self.barcode)
|
67
|
+
)
|
76
68
|
|
77
69
|
@api.depends("barcode")
|
78
70
|
def _compute_barcode_image(self):
|
@@ -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:
|
375
|
+
!! source digest: sha256:440fc771b14ee584dfbaa676845eca212e02b85d0d790d288f04aa32590203e0
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
377
377
|
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-barcode/tree/16.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-16-0/stock-logistics-barcode-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
378
378
|
<p>This module provides a barcode reader interface for stock module.</p>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-stock_barcodes
|
3
|
-
Version: 16.0.2.0.
|
3
|
+
Version: 16.0.2.0.5
|
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)
|
@@ -27,7 +27,7 @@ Stock Barcodes
|
|
27
27
|
!! This file is generated by oca-gen-addon-readme !!
|
28
28
|
!! changes will be overwritten. !!
|
29
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
30
|
-
!! source digest: sha256:
|
30
|
+
!! source digest: sha256:440fc771b14ee584dfbaa676845eca212e02b85d0d790d288f04aa32590203e0
|
31
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
32
32
|
|
33
33
|
.. |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=I-xcrIih7TlkBdG-touarZ5Yw1CfkFXZKnmpQTvPPcI,15777
|
2
2
|
odoo/addons/stock_barcodes/__init__.py,sha256=CCs1p9fs5hDfOA_RK81fM0he5AMSZxCKcnbPaaj38mU,228
|
3
|
-
odoo/addons/stock_barcodes/__manifest__.py,sha256=
|
3
|
+
odoo/addons/stock_barcodes/__manifest__.py,sha256=eS160Wd1RwPeKd6h4TrIYEOmo0ewUgNmwAhchq2rQVU,1929
|
4
4
|
odoo/addons/stock_barcodes/hooks.py,sha256=3xcCKDae0aUjvq5oUecBGUgJ5rdTtN_p4CtXvtZhbzA,679
|
5
5
|
odoo/addons/stock_barcodes/data/stock_barcodes_action.xml,sha256=VZr_wKtJzlJ4_qptgWZ2G4wdxuUHMo8eQr8-6ZwVGk8,2275
|
6
6
|
odoo/addons/stock_barcodes/data/stock_barcodes_option.xml,sha256=u0HkeX9qjmXajGbtQfne5tKTKHbFibsW42ApUsrR6lg,24276
|
@@ -11,7 +11,7 @@ odoo/addons/stock_barcodes/i18n/stock_barcodes.pot,sha256=GEPaWE8Y_I5mmbj5z8vC5G
|
|
11
11
|
odoo/addons/stock_barcodes/i18n/tr.po,sha256=PSV60b-VY_Q-Zt_R_TNRGottvI24Wnb-e7zydZk9NZ8,94380
|
12
12
|
odoo/addons/stock_barcodes/models/__init__.py,sha256=NXyuez3f4d9zdLwk07UT-ib--UlR0l_Sp-Vlt31k1nU,249
|
13
13
|
odoo/addons/stock_barcodes/models/barcode_events_mixin.py,sha256=9l8xT65cn5JsWPyuNJebCsJ4WAreIV_YJF5_6-TucL0,389
|
14
|
-
odoo/addons/stock_barcodes/models/stock_barcodes_action.py,sha256=
|
14
|
+
odoo/addons/stock_barcodes/models/stock_barcodes_action.py,sha256=efdHmP-gk3tvQVzA5TGYSkgejE8GeT02QqCfOdm16XI,6525
|
15
15
|
odoo/addons/stock_barcodes/models/stock_barcodes_option.py,sha256=Udi-uL_2bl6_84jAN2i7GGgDk9F-pP51AtvZOxGcduM,4987
|
16
16
|
odoo/addons/stock_barcodes/models/stock_move.py,sha256=f38m1yF7QY3fUVtWPymfV7nVAApSVmKODmpfPSboF0w,1289
|
17
17
|
odoo/addons/stock_barcodes/models/stock_move_line.py,sha256=H9Y034J-Cl4C9NIYoKDZpxVDOqzT0I-hn44ShQYtom8,1429
|
@@ -30,7 +30,7 @@ odoo/addons/stock_barcodes/reports/reports.xml,sha256=U6AthjQL2VAtkvFVm-i3z0iQAN
|
|
30
30
|
odoo/addons/stock_barcodes/security/ir.model.access.csv,sha256=1HlTnJb0Bsbl-UCdoy-f7r7Xec3UMs7uTppQWOfH8-0,1337
|
31
31
|
odoo/addons/stock_barcodes/static/description/icon.png,sha256=7ksDD35buxE_kBLoeXUGbdSW_5n-LC4S-SnQSs9tz1A,2994
|
32
32
|
odoo/addons/stock_barcodes/static/description/icon.svg,sha256=aMrHV2Isu4t_jJlnLVYqbcL_icg9wT2eSSAKxQ3pgDA,69299
|
33
|
-
odoo/addons/stock_barcodes/static/description/index.html,sha256=
|
33
|
+
odoo/addons/stock_barcodes/static/description/index.html,sha256=bVHtAj7v5rv32l9hlmyzdzkKa7V4ThV_nVoQJJhChmA,29574
|
34
34
|
odoo/addons/stock_barcodes/static/src/docs/barcodes_actions.pdf,sha256=SEfoUCwiycH6k1IZiI5mR5WM1aI08dItfmNs-EK1XZU,7883
|
35
35
|
odoo/addons/stock_barcodes/static/src/docs/barcodes_demo.pdf,sha256=nJR_VkAxToTHPp7sis6sXThOtTaQQrjLIxItPK4G88E,64270
|
36
36
|
odoo/addons/stock_barcodes/static/src/img/add_product.png,sha256=gokmnHujAy-8iVnrzyThFYr7rCuRFNqIW4Tov_8IVnA,6351
|
@@ -97,7 +97,7 @@ odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo_view.xml,sha256=84r_u
|
|
97
97
|
odoo/addons/stock_barcodes/wizard/stock_barcodes_read_views.xml,sha256=Viv-Urgg-yvISu9Fds6buI0QjgOhpsnIDmXZTbiuytY,27086
|
98
98
|
odoo/addons/stock_barcodes/wizard/stock_production_lot.py,sha256=LXb8IykNsU6fHNzm6exiD2oyLmFdjrhnv9Z7ixDihWI,2195
|
99
99
|
odoo/addons/stock_barcodes/wizard/stock_production_lot_views.xml,sha256=MPR5_1Hieceb4a3klAQiLojMm4SBHEOF-8Ad3fBtaaE,1977
|
100
|
-
odoo_addon_stock_barcodes-16.0.2.0.
|
101
|
-
odoo_addon_stock_barcodes-16.0.2.0.
|
102
|
-
odoo_addon_stock_barcodes-16.0.2.0.
|
103
|
-
odoo_addon_stock_barcodes-16.0.2.0.
|
100
|
+
odoo_addon_stock_barcodes-16.0.2.0.5.dist-info/METADATA,sha256=QoGPiSULL81Yh7M88INexgRer1HCB5nIWiv1re4p6ls,16389
|
101
|
+
odoo_addon_stock_barcodes-16.0.2.0.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
102
|
+
odoo_addon_stock_barcodes-16.0.2.0.5.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
103
|
+
odoo_addon_stock_barcodes-16.0.2.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|