-
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[16.0][ADD] stock_barcodes_quality_control: This module allows you to…
… go to the control view from barcodes
- Loading branch information
1 parent
4373e82
commit 725be84
Showing
24 changed files
with
790 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/stock_barcodes_quality_control/odoo/addons/stock_barcodes_quality_control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../stock_barcodes_quality_control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
============================== | ||
Stock Barcodes Quality Control | ||
============================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:31dfa859c537bbed09bfda452b7400fa3a9d326b27808bf89349c053f1add48c | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--barcode-lightgray.png?logo=github | ||
:target: https://github.com/OCA/stock-logistics-barcode/tree/16.0/stock_barcodes_quality_control | ||
:alt: OCA/stock-logistics-barcode | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-stock_barcodes_quality_control | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-barcode&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows you to go to the quality control view from the barcode view of the receiving operations. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
Enable quality control | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Inventory > Configuration > Barcode options*. | ||
#. Select the barcode options for operations and check the *Show quality control* field. | ||
|
||
.. image:: https://raw.githubusercontent.com/stock_barcodes_quality_control/static/src/img/show_quality_control.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Show quality control | ||
|
||
#. Save. | ||
#. Go to *Barcodes*. | ||
#. Select the action for receptions and verify that it has the previously configured barcode options associated with it. | ||
#. When validating the reception, a wizard will be displayed so that you can decide whether to perform the quality controls at that time or continue the reception process. | ||
|
||
.. image:: https://raw.githubusercontent.com/stock_barcodes_quality_control/static/src/img/wizard_show_quality_control.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Wizard show quality control | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-barcode/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/stock-logistics-barcode/issues/new?body=module:%20stock_barcodes_quality_control%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Edilio Escalona Almira - Binhexteam | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Binhex Cloud <https://www.binhex.cloud/>`_: | ||
|
||
* Edilio Escalona Almira | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/stock-logistics-barcode <https://github.com/OCA/stock-logistics-barcode/tree/16.0/stock_barcodes_quality_control>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2025 Edilio Escalona Almira - Binhexteam | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Stock Barcodes Quality Control", | ||
"summary": """Allows quality control to be integrated with barcode scanning.""", | ||
"version": "16.0.1.0.0", | ||
"license": "AGPL-3", | ||
"author": "Edilio Escalona Almira - Binhexteam,Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/stock-logistics-barcode", | ||
"depends": ["stock_barcodes", "quality_control_oca"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/stock_barcodes_action_data.xml", | ||
"views/stock_barcodes_option_views.xml", | ||
"wizard/quality_control_validate_wizard_views.xml", | ||
"wizard/stock_barcodes_read_picking_views.xml", | ||
], | ||
"auto_install": True, | ||
} |
11 changes: 11 additions & 0 deletions
11
stock_barcodes_quality_control/data/stock_barcodes_action_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="stock_barcodes_action_inspection_ready" model="stock.barcodes.action"> | ||
<field name="name">Inspections ready</field> | ||
<field name="sequence">20</field> | ||
<field name="action_window_id" ref="quality_control_oca.action_qc_inspection" /> | ||
<field name="key_char_shortcut">1</field> | ||
<field name="context">{'search_default_state': 'ready'}</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import stock_barcodes_option |
14 changes: 14 additions & 0 deletions
14
stock_barcodes_quality_control/models/stock_barcodes_option.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright 2019 Sergio Teruel <sergio.teruel@tecnativa.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
from odoo import fields, models | ||
|
||
|
||
class StockBarcodesOptionGroup(models.Model): | ||
_inherit = "stock.barcodes.option.group" | ||
|
||
show_quality_control = fields.Boolean( | ||
default=False, | ||
help="Defines whether, when validating a pick from the barcode view, " | ||
"notification should be given of the existence of quality" | ||
" checks and whether they should be carried out at the time.", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* `Binhex Cloud <https://www.binhex.cloud/>`_: | ||
|
||
* Edilio Escalona Almira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This module allows you to go to the quality control view from the barcode view of the receiving operations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Enable quality control | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Inventory > Configuration > Barcode options*. | ||
#. Select the barcode options for operations and check the *Show quality control* field. | ||
|
||
.. image:: /stock_barcodes_quality_control/static/src/img/show_quality_control.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Show quality control | ||
|
||
#. Save. | ||
#. Go to *Barcodes*. | ||
#. Select the action for receptions and verify that it has the previously configured barcode options associated with it. | ||
#. When validating the reception, a wizard will be displayed so that you can decide whether to perform the quality controls at that time or continue the reception process. | ||
|
||
.. image:: /stock_barcodes_quality_control/static/src/img/wizard_show_quality_control.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Wizard show quality control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_quality_control_validate_wizard,access_quality_control_validate_wizard,model_quality_control_validate_wizard,base.group_user,1,1,1,1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.