odoo-addon-stock-barcodes 15.0.2.0.0.7__py3-none-any.whl → 15.0.3.0.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.
- odoo/addons/stock_barcodes/README.rst +1 -1
- odoo/addons/stock_barcodes/__manifest__.py +1 -1
- odoo/addons/stock_barcodes/i18n/it.po +5 -5
- odoo/addons/stock_barcodes/i18n/stock_barcodes.pot +107 -7
- odoo/addons/stock_barcodes/models/stock_barcodes_option.py +16 -0
- odoo/addons/stock_barcodes/models/stock_move_line.py +12 -2
- odoo/addons/stock_barcodes/models/stock_picking_type.py +10 -6
- odoo/addons/stock_barcodes/models/stock_quant.py +21 -2
- odoo/addons/stock_barcodes/static/description/index.html +1 -2
- odoo/addons/stock_barcodes/static/src/css/stock.scss +17 -0
- odoo/addons/stock_barcodes/static/src/js/basic_controller.js +10 -0
- odoo/addons/stock_barcodes/views/stock_barcodes_menu.xml +1 -0
- odoo/addons/stock_barcodes/views/stock_barcodes_option_view.xml +8 -0
- odoo/addons/stock_barcodes/views/stock_picking_views.xml +1 -0
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read.py +116 -23
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory.py +27 -11
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_inventory_views.xml +35 -1
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking.py +129 -37
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_picking_views.xml +10 -1
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo.py +2 -7
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_todo_view.xml +13 -1
- odoo/addons/stock_barcodes/wizard/stock_barcodes_read_views.xml +57 -16
- {odoo_addon_stock_barcodes-15.0.2.0.0.7.dist-info → odoo_addon_stock_barcodes-15.0.3.0.0.dist-info}/METADATA +2 -2
- {odoo_addon_stock_barcodes-15.0.2.0.0.7.dist-info → odoo_addon_stock_barcodes-15.0.3.0.0.dist-info}/RECORD +26 -26
- {odoo_addon_stock_barcodes-15.0.2.0.0.7.dist-info → odoo_addon_stock_barcodes-15.0.3.0.0.dist-info}/WHEEL +1 -1
- {odoo_addon_stock_barcodes-15.0.2.0.0.7.dist-info → odoo_addon_stock_barcodes-15.0.3.0.0.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:c5625a58cedcafe2e8c00ccf9af27ed7bae315c53b5c2a8fb485e477addd895e
|
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.
|
6
|
+
"version": "15.0.3.0.0",
|
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:
|
9
|
+
"PO-Revision-Date: 2024-01-18 09:36+0000\n"
|
10
10
|
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
11
11
|
"Language-Team: none\n"
|
12
12
|
"Language: it\n"
|
@@ -263,7 +263,7 @@ msgstr "Azione"
|
|
263
263
|
#. module: stock_barcodes
|
264
264
|
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_action__action_window_id
|
265
265
|
msgid "Action window"
|
266
|
-
msgstr "
|
266
|
+
msgstr "Azione finestra"
|
267
267
|
|
268
268
|
#. module: stock_barcodes
|
269
269
|
#: model:ir.model,name:stock_barcodes.model_stock_barcodes_action
|
@@ -582,7 +582,7 @@ msgstr "Operazioni dettagliate"
|
|
582
582
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__display_assign_serial
|
583
583
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__display_assign_serial
|
584
584
|
msgid "Display Assign Serial"
|
585
|
-
msgstr "Mostra
|
585
|
+
msgstr "Mostra assegna seriale"
|
586
586
|
|
587
587
|
#. module: stock_barcodes
|
588
588
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read__display_menu
|
@@ -788,7 +788,7 @@ msgstr ""
|
|
788
788
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__is_manual_confirm
|
789
789
|
msgid "If it is marked, the movement must always be confirmed from a button"
|
790
790
|
msgstr ""
|
791
|
-
"Se abilitato, il movimento deve sempre essere confermato tramite un
|
791
|
+
"Se abilitato, il movimento deve sempre essere confermato tramite un pulsante"
|
792
792
|
|
793
793
|
#. module: stock_barcodes
|
794
794
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_form
|
@@ -1610,7 +1610,7 @@ msgstr "Trasferimento"
|
|
1610
1610
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__picking_type_code
|
1611
1611
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_todo__picking_code
|
1612
1612
|
msgid "Type of Operation"
|
1613
|
-
msgstr "Tipo di
|
1613
|
+
msgstr "Tipo di operazione"
|
1614
1614
|
|
1615
1615
|
#. module: stock_barcodes
|
1616
1616
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_pickingtype_filter
|
@@ -71,6 +71,13 @@ msgstr ""
|
|
71
71
|
msgid "<i class=\"fa fa-cubes\" title=\"Put in Pack\"/>"
|
72
72
|
msgstr ""
|
73
73
|
|
74
|
+
#. module: stock_barcodes
|
75
|
+
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_inventory_form
|
76
|
+
msgid ""
|
77
|
+
"<i class=\"fa fa-pencil\" title=\"Edit inventory quantity\" style=\"font-"
|
78
|
+
"size:1.5em\"/>"
|
79
|
+
msgstr ""
|
80
|
+
|
74
81
|
#. module: stock_barcodes
|
75
82
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.stock_picking_type_kanban
|
76
83
|
msgid ""
|
@@ -139,12 +146,7 @@ msgstr ""
|
|
139
146
|
|
140
147
|
#. module: stock_barcodes
|
141
148
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_inventory_form
|
142
|
-
msgid "<span>Apply
|
143
|
-
msgstr ""
|
144
|
-
|
145
|
-
#. module: stock_barcodes
|
146
|
-
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_form
|
147
|
-
msgid "<span>Total Qty</span>"
|
149
|
+
msgid "<span>Apply</span>"
|
148
150
|
msgstr ""
|
149
151
|
|
150
152
|
#. module: stock_barcodes
|
@@ -196,6 +198,11 @@ msgid ""
|
|
196
198
|
" <span class=\"fa fa-hashtag d-sm-none oe_span_small_icon\" title=\"Total Quantity\"/>"
|
197
199
|
msgstr ""
|
198
200
|
|
201
|
+
#. module: stock_barcodes
|
202
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__accumulate_read_quantity
|
203
|
+
msgid "Accumulate Read Quantity"
|
204
|
+
msgstr ""
|
205
|
+
|
199
206
|
#. module: stock_barcodes
|
200
207
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read__action_ids
|
201
208
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__action_ids
|
@@ -414,9 +421,15 @@ msgstr ""
|
|
414
421
|
|
415
422
|
#. module: stock_barcodes
|
416
423
|
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__code
|
424
|
+
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_pickingtype_filter
|
417
425
|
msgid "Code"
|
418
426
|
msgstr ""
|
419
427
|
|
428
|
+
#. module: stock_barcodes
|
429
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__company_id
|
430
|
+
msgid "Company"
|
431
|
+
msgstr ""
|
432
|
+
|
420
433
|
#. module: stock_barcodes
|
421
434
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_new_lot
|
422
435
|
msgid "Confirm"
|
@@ -514,6 +527,11 @@ msgstr ""
|
|
514
527
|
msgid "Destinatino Name"
|
515
528
|
msgstr ""
|
516
529
|
|
530
|
+
#. module: stock_barcodes
|
531
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__picking_location_dest_id
|
532
|
+
msgid "Destination Location"
|
533
|
+
msgstr ""
|
534
|
+
|
517
535
|
#. module: stock_barcodes
|
518
536
|
#: model:ir.model.fields.selection,name:stock_barcodes.selection__stock_barcodes_option_group__source_pending_moves__move_line_ids
|
519
537
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_picking_form
|
@@ -548,6 +566,11 @@ msgstr ""
|
|
548
566
|
msgid "Display Name"
|
549
567
|
msgstr ""
|
550
568
|
|
569
|
+
#. module: stock_barcodes
|
570
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__display_notification
|
571
|
+
msgid "Display Odoo notifications"
|
572
|
+
msgstr ""
|
573
|
+
|
551
574
|
#. module: stock_barcodes
|
552
575
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__show_scan_log
|
553
576
|
msgid "Displays a log of the scans processed"
|
@@ -558,7 +581,6 @@ msgstr ""
|
|
558
581
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_todo__qty_done
|
559
582
|
#: model:ir.model.fields.selection,name:stock_barcodes.selection__stock_move_line__barcode_scan_state__done
|
560
583
|
#: model:ir.model.fields.selection,name:stock_barcodes.selection__wiz_stock_barcodes_read_todo__state__done
|
561
|
-
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_todo_kanban
|
562
584
|
msgid "Done"
|
563
585
|
msgstr ""
|
564
586
|
|
@@ -679,6 +701,13 @@ msgstr ""
|
|
679
701
|
msgid "Icon Class"
|
680
702
|
msgstr ""
|
681
703
|
|
704
|
+
#. module: stock_barcodes
|
705
|
+
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__accumulate_read_quantity
|
706
|
+
msgid ""
|
707
|
+
"If checked quantity will be accumulated to the existing record instead of "
|
708
|
+
"overwrite it with the new quantity value"
|
709
|
+
msgstr ""
|
710
|
+
|
682
711
|
#. module: stock_barcodes
|
683
712
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__auto_lot
|
684
713
|
#: model:ir.model.fields,help:stock_barcodes.field_wiz_stock_barcodes_read__auto_lot
|
@@ -701,6 +730,13 @@ msgstr ""
|
|
701
730
|
msgid "If checked the picking detailed operations are displayed"
|
702
731
|
msgstr ""
|
703
732
|
|
733
|
+
#. module: stock_barcodes
|
734
|
+
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__keep_screen_values
|
735
|
+
#: model:ir.model.fields,help:stock_barcodes.field_wiz_stock_barcodes_read_picking__keep_screen_values
|
736
|
+
msgid ""
|
737
|
+
"If checked the wizard values are kept until the pending move is completed"
|
738
|
+
msgstr ""
|
739
|
+
|
704
740
|
#. module: stock_barcodes
|
705
741
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__fill_fields_from_lot
|
706
742
|
msgid ""
|
@@ -720,6 +756,12 @@ msgid ""
|
|
720
756
|
"negative stock"
|
721
757
|
msgstr ""
|
722
758
|
|
759
|
+
#. module: stock_barcodes
|
760
|
+
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__ignore_quant_location
|
761
|
+
msgid ""
|
762
|
+
"If it is checked, quant location will be ignored when reading lot/package"
|
763
|
+
msgstr ""
|
764
|
+
|
723
765
|
#. module: stock_barcodes
|
724
766
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_barcodes_option_group__is_manual_confirm
|
725
767
|
msgid "If it is marked, the movement must always be confirmed from a button"
|
@@ -730,11 +772,21 @@ msgstr ""
|
|
730
772
|
msgid "If locked keep result package"
|
731
773
|
msgstr ""
|
732
774
|
|
775
|
+
#. module: stock_barcodes
|
776
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__ignore_quant_location
|
777
|
+
msgid "Ignore Quant Location"
|
778
|
+
msgstr ""
|
779
|
+
|
733
780
|
#. module: stock_barcodes
|
734
781
|
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__ignore_filled_fields
|
735
782
|
msgid "Ignore filled fields"
|
736
783
|
msgstr ""
|
737
784
|
|
785
|
+
#. module: stock_barcodes
|
786
|
+
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_todo_kanban
|
787
|
+
msgid "Ignore rest"
|
788
|
+
msgstr ""
|
789
|
+
|
738
790
|
#. module: stock_barcodes
|
739
791
|
#: model:ir.model.fields.selection,name:stock_barcodes.selection__wiz_stock_barcodes_read_picking__picking_type_code__internal
|
740
792
|
msgid "Internal"
|
@@ -804,6 +856,12 @@ msgstr ""
|
|
804
856
|
msgid "Keep Result Package"
|
805
857
|
msgstr ""
|
806
858
|
|
859
|
+
#. module: stock_barcodes
|
860
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__keep_screen_values
|
861
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__keep_screen_values
|
862
|
+
msgid "Keep Screen Values"
|
863
|
+
msgstr ""
|
864
|
+
|
807
865
|
#. module: stock_barcodes
|
808
866
|
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_action__key_char_shortcut
|
809
867
|
msgid "Key Char Shortcut"
|
@@ -1230,6 +1288,13 @@ msgstr ""
|
|
1230
1288
|
msgid "Product"
|
1231
1289
|
msgstr ""
|
1232
1290
|
|
1291
|
+
#. module: stock_barcodes
|
1292
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read__total_product_uom_qty
|
1293
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__total_product_uom_qty
|
1294
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__total_product_uom_qty
|
1295
|
+
msgid "Product Demand"
|
1296
|
+
msgstr ""
|
1297
|
+
|
1233
1298
|
#. module: stock_barcodes
|
1234
1299
|
#: model:ir.model,name:stock_barcodes.model_stock_move_line
|
1235
1300
|
msgid "Product Moves (Stock Move Line)"
|
@@ -1249,6 +1314,13 @@ msgstr ""
|
|
1249
1314
|
msgid "Product Qty"
|
1250
1315
|
msgstr ""
|
1251
1316
|
|
1317
|
+
#. module: stock_barcodes
|
1318
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read__total_product_qty_done
|
1319
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__total_product_qty_done
|
1320
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__total_product_qty_done
|
1321
|
+
msgid "Product Qty. Done"
|
1322
|
+
msgstr ""
|
1323
|
+
|
1252
1324
|
#. module: stock_barcodes
|
1253
1325
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read__product_uom_id
|
1254
1326
|
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__product_uom_id
|
@@ -1300,6 +1372,11 @@ msgstr ""
|
|
1300
1372
|
msgid "Range"
|
1301
1373
|
msgstr ""
|
1302
1374
|
|
1375
|
+
#. module: stock_barcodes
|
1376
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_inventory__display_read_quant
|
1377
|
+
msgid "Read items"
|
1378
|
+
msgstr ""
|
1379
|
+
|
1303
1380
|
#. module: stock_barcodes
|
1304
1381
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_form
|
1305
1382
|
msgid "Remove last yours"
|
@@ -1445,6 +1522,11 @@ msgstr ""
|
|
1445
1522
|
msgid "Shows a list of movements to process"
|
1446
1523
|
msgstr ""
|
1447
1524
|
|
1525
|
+
#. module: stock_barcodes
|
1526
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_wiz_stock_barcodes_read_picking__picking_location_id
|
1527
|
+
msgid "Source Location"
|
1528
|
+
msgstr ""
|
1529
|
+
|
1448
1530
|
#. module: stock_barcodes
|
1449
1531
|
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__source_pending_moves
|
1450
1532
|
msgid "Source Pending Moves"
|
@@ -1496,6 +1578,12 @@ msgstr ""
|
|
1496
1578
|
msgid "The product type is not allowed"
|
1497
1579
|
msgstr ""
|
1498
1580
|
|
1581
|
+
#. module: stock_barcodes
|
1582
|
+
#: code:addons/stock_barcodes/wizard/stock_barcodes_read.py:0
|
1583
|
+
#, python-format
|
1584
|
+
msgid "The quantity is huge"
|
1585
|
+
msgstr ""
|
1586
|
+
|
1499
1587
|
#. module: stock_barcodes
|
1500
1588
|
#: model:ir.model.fields,help:stock_barcodes.field_stock_picking_type__new_picking_barcode_option_group_id
|
1501
1589
|
msgid ""
|
@@ -1551,6 +1639,11 @@ msgstr ""
|
|
1551
1639
|
msgid "Uom"
|
1552
1640
|
msgstr ""
|
1553
1641
|
|
1642
|
+
#. module: stock_barcodes
|
1643
|
+
#: model:ir.model.fields,field_description:stock_barcodes.field_stock_barcodes_option_group__use_location_dest_putaway
|
1644
|
+
msgid "Use location dest. putaway"
|
1645
|
+
msgstr ""
|
1646
|
+
|
1554
1647
|
#. module: stock_barcodes
|
1555
1648
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_read_picking_form
|
1556
1649
|
msgid "Validate"
|
@@ -1691,6 +1784,13 @@ msgid ""
|
|
1691
1784
|
"confirmed"
|
1692
1785
|
msgstr ""
|
1693
1786
|
|
1787
|
+
#. module: stock_barcodes
|
1788
|
+
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_todo_kanban
|
1789
|
+
msgid ""
|
1790
|
+
"You have not set any quantity to this operation and it will be removed from "
|
1791
|
+
"pending moves. Are you sure?"
|
1792
|
+
msgstr ""
|
1793
|
+
|
1694
1794
|
#. module: stock_barcodes
|
1695
1795
|
#: model_terms:ir.ui.view,arch_db:stock_barcodes.view_stock_barcodes_todo_kanban
|
1696
1796
|
msgid "\\u21E8"
|
@@ -62,6 +62,9 @@ class StockBarcodesOptionGroup(models.Model):
|
|
62
62
|
help="If checked, the fields in the interface will be filled from "
|
63
63
|
"the scanned lot"
|
64
64
|
)
|
65
|
+
ignore_quant_location = fields.Boolean(
|
66
|
+
help="If it is checked, quant location will be ignored when reading lot/package",
|
67
|
+
)
|
65
68
|
group_key_for_todo_records = fields.Char(
|
66
69
|
help="You can establish a list of fields that will act as a grouping "
|
67
70
|
"key to generate the movements to be process.\n"
|
@@ -81,6 +84,19 @@ class StockBarcodesOptionGroup(models.Model):
|
|
81
84
|
show_detailed_operations = fields.Boolean(
|
82
85
|
help="If checked the picking detailed operations are displayed",
|
83
86
|
)
|
87
|
+
keep_screen_values = fields.Boolean(
|
88
|
+
help="If checked the wizard values are kept until the pending move is completed",
|
89
|
+
)
|
90
|
+
accumulate_read_quantity = fields.Boolean(
|
91
|
+
help="If checked quantity will be accumulated to the existing record instead of "
|
92
|
+
"overwrite it with the new quantity value",
|
93
|
+
)
|
94
|
+
display_notification = fields.Boolean(
|
95
|
+
string="Display Odoo notifications",
|
96
|
+
)
|
97
|
+
use_location_dest_putaway = fields.Boolean(
|
98
|
+
string="Use location dest. putaway",
|
99
|
+
)
|
84
100
|
|
85
101
|
def get_option_value(self, field_name, attribute):
|
86
102
|
option = self.option_ids.filtered(lambda op: op.field_name == field_name)[:1]
|
@@ -23,14 +23,24 @@ class StockMoveLine(models.Model):
|
|
23
23
|
else:
|
24
24
|
line.barcode_scan_state = "pending"
|
25
25
|
|
26
|
+
def _barcodes_process_line_to_unlink(self):
|
27
|
+
self.qty_done = 0.0
|
28
|
+
|
26
29
|
def action_barcode_detailed_operation_unlink(self):
|
27
30
|
for sml in self:
|
28
31
|
if sml.product_uom_qty:
|
29
|
-
sml.
|
32
|
+
sml._barcodes_process_line_to_unlink()
|
30
33
|
else:
|
31
34
|
sml.unlink()
|
35
|
+
# HACK: To force refresh wizard values
|
32
36
|
wiz_barcode = self.env["wiz.stock.barcodes.read.picking"].browse(
|
33
37
|
self.env.context.get("wiz_barcode_id", False)
|
34
38
|
)
|
35
|
-
if wiz_barcode.option_group_id.
|
39
|
+
if wiz_barcode.option_group_id.barcode_guided_mode == "guided":
|
40
|
+
wiz_barcode.todo_line_id.line_ids = wiz_barcode.todo_line_id.line_ids
|
41
|
+
if not any(wiz_barcode.todo_line_id.line_ids.mapped("qty_done")):
|
42
|
+
wiz_barcode.fill_todo_records()
|
43
|
+
wiz_barcode.determine_todo_action()
|
44
|
+
else:
|
36
45
|
wiz_barcode.fill_todo_records()
|
46
|
+
wiz_barcode.todo_line_id.line_ids = wiz_barcode.todo_line_id.line_ids
|
@@ -55,12 +55,16 @@ class StockPickingType(models.Model):
|
|
55
55
|
return action
|
56
56
|
|
57
57
|
def action_barcode_new_picking(self):
|
58
|
-
picking =
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
58
|
+
picking = (
|
59
|
+
self.env["stock.picking"]
|
60
|
+
.with_context(default_immediate_transfer=True)
|
61
|
+
.create(
|
62
|
+
{
|
63
|
+
"picking_type_id": self.id,
|
64
|
+
"location_id": self.default_location_src_id.id,
|
65
|
+
"location_dest_id": self.default_location_dest_id.id,
|
66
|
+
}
|
67
|
+
)
|
64
68
|
)
|
65
69
|
option_group = self.new_picking_barcode_option_group_id
|
66
70
|
return picking.action_barcode_scan(option_group=option_group)
|
@@ -7,6 +7,25 @@ class StockQuant(models.Model):
|
|
7
7
|
_inherit = "stock.quant"
|
8
8
|
|
9
9
|
def action_barcode_inventory_quant_unlink(self):
|
10
|
+
self.with_context(inventory_mode=True).action_set_inventory_quantity_to_zero()
|
11
|
+
|
12
|
+
def _get_fields_to_edit(self):
|
13
|
+
return [
|
14
|
+
"location_id",
|
15
|
+
"product_id",
|
16
|
+
"product_uom_id",
|
17
|
+
"lot_id",
|
18
|
+
"package_id",
|
19
|
+
"product_qty",
|
20
|
+
]
|
21
|
+
|
22
|
+
def action_barcode_inventory_quant_edit(self):
|
23
|
+
wiz_barcode_id = self.env.context.get("wiz_barcode_id", False)
|
24
|
+
wiz_barcode = self.env["wiz.stock.barcodes.read.inventory"].browse(
|
25
|
+
wiz_barcode_id
|
26
|
+
)
|
10
27
|
for quant in self:
|
11
|
-
|
12
|
-
|
28
|
+
for fname in quant._fields:
|
29
|
+
if fname in self._get_fields_to_edit():
|
30
|
+
wiz_barcode[fname] = quant[fname]
|
31
|
+
wiz_barcode.product_qty = quant.inventory_quantity
|
@@ -1,4 +1,3 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
2
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
3
|
<head>
|
@@ -367,7 +366,7 @@ ul.auto-toc {
|
|
367
366
|
!! This file is generated by oca-gen-addon-readme !!
|
368
367
|
!! changes will be overwritten. !!
|
369
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
370
|
-
!! source digest: sha256:
|
369
|
+
!! source digest: sha256:c5625a58cedcafe2e8c00ccf9af27ed7bae315c53b5c2a8fb485e477addd895e
|
371
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
372
371
|
<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>
|
373
372
|
<p>This module provides a barcode reader interface for stock module.</p>
|
@@ -81,3 +81,20 @@
|
|
81
81
|
.oe_kanban_card_full_width {
|
82
82
|
width: 100% !important;
|
83
83
|
}
|
84
|
+
|
85
|
+
// Dropdown that is desactivated at lg width
|
86
|
+
@media (min-width: 992px) {
|
87
|
+
.d-lg-flex-no-dropdown {
|
88
|
+
position: relative !important;
|
89
|
+
display: flex !important;
|
90
|
+
border: none;
|
91
|
+
box-shadow: none;
|
92
|
+
bottom: auto !important;
|
93
|
+
transform: none !important;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
.dropdown-menu.d-lg-flex-no-dropdown {
|
97
|
+
.d-flex {
|
98
|
+
margin-bottom: 5px;
|
99
|
+
}
|
100
|
+
}
|
@@ -121,6 +121,16 @@ odoo.define("stock_barcodes.BasicController", function (require) {
|
|
121
121
|
} else if (message.sound === "ko") {
|
122
122
|
this.$sound_ko[0].play();
|
123
123
|
}
|
124
|
+
} else if (
|
125
|
+
notif_type ===
|
126
|
+
"stock_barcodes_notify-" + this.initialState.data.id
|
127
|
+
) {
|
128
|
+
this.displayNotification({
|
129
|
+
title: notif.payload.title,
|
130
|
+
message: notif.payload.message,
|
131
|
+
type: notif.payload.type,
|
132
|
+
sticky: true,
|
133
|
+
});
|
124
134
|
}
|
125
135
|
}
|
126
136
|
},
|
@@ -13,6 +13,10 @@
|
|
13
13
|
</group>
|
14
14
|
<group>
|
15
15
|
<field name="code" />
|
16
|
+
<field
|
17
|
+
name="display_notification"
|
18
|
+
widget="boolean_toggle"
|
19
|
+
/>
|
16
20
|
</group>
|
17
21
|
</group>
|
18
22
|
<group string="Behavior settings">
|
@@ -32,12 +36,16 @@
|
|
32
36
|
</group>
|
33
37
|
<group>
|
34
38
|
<field name="ignore_filled_fields" />
|
39
|
+
<field name="keep_screen_values" />
|
35
40
|
<field name="is_manual_confirm" />
|
36
41
|
<field name="is_manual_qty" />
|
42
|
+
<field name="accumulate_read_quantity" />
|
37
43
|
<field name="allow_negative_quant" />
|
38
44
|
<field name="fill_fields_from_lot" />
|
45
|
+
<field name="ignore_quant_location" />
|
39
46
|
<field name="auto_lot" />
|
40
47
|
<field name="create_lot" />
|
48
|
+
<field name="use_location_dest_putaway" />
|
41
49
|
</group>
|
42
50
|
</group>
|
43
51
|
<separator string="Steps to scan" />
|