Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][18.0] [mig] quality_control_oca: Migrated the module #1374

Open
wants to merge 106 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
5975c65
Modulos de calidad sin migrar
oihane Aug 22, 2014
7139f6a
quality_control * PEP8 * Travis * Size in field (deprecated)
pedrobaeza Sep 28, 2014
bd1ec52
no msg
alfredoavanzosc Oct 9, 2014
32f6625
quality_control: Some improvement
pedrobaeza Oct 14, 2014
d2a1a01
<quality_control> deleted constraint
oihane Oct 24, 2014
4579085
quality_control: Total refactorization with new API, README files, an…
pedrobaeza Dec 10, 2014
c9eae29
New module <quality_control_hr> closes #662 * Changes in access rules…
oihane Feb 13, 2015
afd1c25
quality_control * Fix wizard set test
pedrobaeza Mar 16, 2015
cc54ad7
changed default references of fields.Datetime.now() to fields.Datetim…
ejans Jul 16, 2015
6d7d597
Slovene translations added
sysadminmatmoz Aug 1, 2015
68b133c
quality_control: * Changed permissions
oihane Aug 12, 2015
0347265
quality_control_*: Make use of qty field
pedrobaeza Nov 14, 2015
6f4b01b
quality_control: deleting qc.inspection does not delete its lines fixed
oihane Apr 28, 2016
a0cbe4b
[IMP] quality_control: decimal precision configurable + approving ins…
Feb 8, 2017
f1eb06b
[9.0][MIG] quality_control
LoisRForgeFlow May 24, 2017
4c7c943
[FIX] quality_control: Several things:
Jun 7, 2017
b83f09e
[FIX] quality_control: Fix TypeError on new test category (#193)
zamberjo Nov 18, 2017
1bcdc2d
[9.0][FIX] quality_control: use odoo tag on views
LoisRForgeFlow Nov 21, 2017
330751f
[MIG] quality_control: Migration to 10.0
SimoRubi Nov 21, 2017
13404dc
[MIG] quality_control: Migration to 11.0
Aug 23, 2018
a3b3bbb
[11.0][FIX] quality_control: Fixed dashboard icon. (#304)
SalahAdDin Aug 30, 2018
05827fa
[10.0][FIX] quality_control: move quality control configuration menu …
LoisRForgeFlow Oct 8, 2018
d907f31
[FIX] quality_control: created new notebook page to avoid activate va…
oihane Dec 19, 2018
580c796
[IMP] quality_control: App drawer icon
pedrobaeza Feb 16, 2019
c83a915
[MIG] quality_control: Migration to 12.0
NachoAlesLopez May 10, 2019
9045a6a
[12.0][FIX] quality_control: add user admin to quality control manage…
LoisRForgeFlow Jul 11, 2019
8121a13
[UPD] Update module logo
Aug 8, 2019
1cf907a
Translated using Weblate (Portuguese)
pedrocs-exo Sep 12, 2019
5ae912f
[FIX] quality_control
NachoAlesLopez Oct 29, 2019
6b2b22c
Translated using Weblate (Croatian)
badbole Dec 4, 2019
43ba661
[IMP] quality_control: black, isort
ps-tubtim Mar 16, 2020
c78225a
[MIG] quality_control: Migration to 13.0 + renaming to quality_contro…
ps-tubtim Mar 17, 2020
1059d09
[UPD] Update quality_control_oca.pot
oca-travis Feb 13, 2021
df62bf5
[UPD] README.rst
OCA-git-bot Feb 13, 2021
41aacfa
[FIX] quality_control_oca: Missing README piece
pedrobaeza Feb 23, 2021
db5727e
[IMP] quality_control_oca: Added triggers on product.product views
CarlosRoca13 Mar 2, 2021
734b322
[UPD] Update quality_control_oca.pot
oca-travis Mar 2, 2021
a384e57
quality_control_oca 13.0.1.1.0
OCA-git-bot Mar 2, 2021
bfa35c6
Update translation files
oca-transbot Mar 2, 2021
761906b
[14.0][MIG] quality_control_oca
enriquemartin Mar 5, 2021
faa11a1
[UPD] Update quality_control_oca.pot
oca-travis Oct 4, 2021
d0e2f6c
[UPD] README.rst
OCA-git-bot Oct 4, 2021
e1bfb51
[FIX] quality_control_oca: inherit from mail tracking in qc_trigger_line
AaronHForgeFlow Oct 21, 2021
3534125
[UPD] Update quality_control_oca.pot
oca-travis Oct 26, 2021
94faaad
quality_control_oca 14.0.1.2.0
OCA-git-bot Oct 26, 2021
e056431
Update translation files
oca-transbot Oct 26, 2021
4d66576
[IMP] quality_control_oca: add chatter to quality tests
cubells Apr 22, 2022
8002b3e
[UPD] Update quality_control_oca.pot
oca-travis Apr 22, 2022
48136a6
[UPD] README.rst
OCA-git-bot Apr 22, 2022
1edda4a
quality_control_oca 14.0.1.3.0
OCA-git-bot Apr 22, 2022
45bec44
Update translation files
oca-transbot Apr 22, 2022
5f157fb
Translated using Weblate (Italian)
francesco-ooops May 18, 2022
68a57e3
[FIX] quality_control_oca: Protect product category view with group
pedrobaeza Sep 27, 2022
63723da
quality_control_oca 14.0.1.4.0
OCA-git-bot Sep 28, 2022
09a9492
[IMP] quality_control_oca: black, isort, prettier
mymage Dec 10, 2022
dc43481
[MIG] quality_control_oca: Migration to 15.0
mymage Dec 10, 2022
5f2d3bb
[UPD] Update quality_control_oca.pot
Dec 16, 2022
8f3024b
[UPD] README.rst
OCA-git-bot Dec 16, 2022
9afe7ad
Translated using Weblate (Italian)
mymage Dec 19, 2022
7d5b508
[MIG] quality_control_oca: Migration to 16.0
mymage Dec 26, 2022
c1de506
[UPD] Update quality_control_oca.pot
May 21, 2023
2ca2064
[UPD] README.rst
OCA-git-bot May 21, 2023
9275849
Update translation files
weblate May 21, 2023
865f650
Update translation files
weblate May 21, 2023
d303361
Translated using Weblate (Italian)
mymage May 22, 2023
8ff1be5
Translated using Weblate (Italian)
mymage May 31, 2023
c38e147
Translated using Weblate (Italian)
mymage Jun 7, 2023
7e413ad
Translated using Weblate (Italian)
mymage Jun 8, 2023
76fdde3
Translated using Weblate (Italian)
francesco-ooops Jun 9, 2023
c431e03
Translated using Weblate (Italian)
mymage Jun 14, 2023
028ad19
Translated using Weblate (Italian)
mymage Jun 15, 2023
f9451c3
Translated using Weblate (Italian)
mymage Jun 16, 2023
6269d39
Translated using Weblate (Italian)
mymage Jun 23, 2023
00a6c59
Translated using Weblate (Spanish)
Ivorra78 Jul 8, 2023
e31a3c2
Translated using Weblate (Italian)
mymage Jul 13, 2023
bd930bb
Translated using Weblate (Italian)
mymage Jul 24, 2023
8f38a62
[UPD] README.rst
OCA-git-bot Sep 3, 2023
bf9e9bb
[UPD] Update quality_control_oca.pot
Sep 3, 2023
1d62819
Translated using Weblate (Italian)
mymage Aug 22, 2023
79b350d
Update translation files
weblate Sep 3, 2023
f3319b3
Translated using Weblate (Italian)
mymage Sep 4, 2023
a65de19
Translated using Weblate (Spanish)
Ivorra78 Sep 5, 2023
3a2d835
Translated using Weblate (Italian)
francesco-ooops Sep 8, 2023
03f2485
Translated using Weblate (Italian)
mymage Sep 15, 2023
dc37028
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
924265f
[UPD] Update quality_control_oca.pot
Oct 27, 2023
1bd31bf
Update translation files
weblate Oct 28, 2023
8e52223
Translated using Weblate (Italian)
mymage Nov 8, 2023
bf6df08
Translated using Weblate (Italian)
mymage Nov 30, 2023
1f79a16
[FIX] quality_control_oca: XML-ID must be fully qualified
pedrobaeza Dec 20, 2023
5aaf698
[BOT] post-merge updates
OCA-git-bot Dec 20, 2023
21d3769
[MIG] quality_control_stock_oca: Migration to 16.0
angelmoya Jun 7, 2023
91c2c9f
[MIG] quality_control_stock_oca: Migration to 16.0
victoralmau Feb 28, 2024
11e1da1
[FIX] quality_control_oca add colspan attribute to show the inline tr…
uolaizola Apr 9, 2024
558b0b4
[BOT] post-merge updates
OCA-git-bot Apr 9, 2024
c1ef6bf
[IMP] quality_control_oca: pre-commit auto fixes
peluko00 May 14, 2024
8195eab
[MIG] quality_control_oca: Migration to 17.0
peluko00 May 14, 2024
c8fb12e
[UPD] Update quality_control_oca.pot
May 27, 2024
28e210d
[BOT] post-merge updates
OCA-git-bot May 27, 2024
7e4cddc
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
cda236e
[UPD] Update quality_control_oca.pot
Jul 16, 2024
6517f4d
Update translation files
weblate Jul 16, 2024
a1de63a
Translated using Weblate (German)
jans23 Sep 5, 2024
01fc106
[UPD] Update quality_control_oca.pot
Oct 16, 2024
a37abea
Update translation files
weblate Oct 16, 2024
9c76497
[Mig][18.0] quality_control_oca: Migrated the module
Trivedi-Vacha-SerpentCS Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions quality_control_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
===================
Quality Control OCA
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dec718549446c4f783e5b959ad2dd44383b3d30c45580f67b65aed9febc77d86
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fmanufacture-lightgray.png?logo=github
:target: https://github.com/OCA/manufacture/tree/17.0/quality_control_oca
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-quality_control_oca
: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/manufacture&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides a generic infrastructure for quality tests. The
idea is that it can be later reused for doing quality inspections on
production lots or any other area of the company.

**Table of contents**

.. contents::
:local:

Configuration
=============

- Question: The thing to be checked. We have two types of questions:
- Qualitative: The result is a description, color, yes, no...
- Quantitative: The result must be within a range.
- Possible values: The values chosen in qualitative questions.
- Test: The set of questions to be used in inspections.
- Once these values are set, we define the inspection.

We have a *generic* test that can be applied to any model: shipments,
invoices or product, or a *test related*, making it specific to a
particular product and that eg apply whenever food is sold or when
creating a batch.

Once these parameters are set, we can just pass the test. We create a
new inspection, selecting a relationship with the model (sale, stock
move...), and pressing "Select test" button to choose the test to pass.
Then, you must fill the lines depending on the chosen test.

The complete inspection workflow is:

Draft -> Confirmed -> Success

-> Failure (Pending approval) -> Approved

Known issues / Roadmap
======================

- Make translatable the trigger name.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/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/manufacture/issues/new?body=module:%20quality_control_oca%0Aversion:%2017.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
-------

* AvanzOSC
* Tecnativa

Contributors
------------

- Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
- Ana Juaristi <anajuaristi@avanzosc.es>
- Lois Rilo <lois.rilo@forgeflow.com>
- Simone Rubino <simone.rubino@agilebg.com>
- Juan Humanes <juan.humanes@guadaltech.es>
- Ignacio José Alés López <ignacio.ales@guadaltech.es>
- Pimolnat Suntian <pimolnats@ecosoft.co.th>
- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Carlos Roca

- `Trey Kilobytes de Soluciones SL <https://www.trey.es>`__:

- Vicent Cubells

- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

Other credits
-------------

- Originally based on the old
`nan_quality_control <https://github.com/NaN-tic/nan_quality_control>`__
modules from NaN·tic.

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/manufacture <https://github.com/OCA/manufacture/tree/17.0/quality_control_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions quality_control_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
32 changes: 32 additions & 0 deletions quality_control_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2010 NaN Projectes de Programari Lliure, S.L.
# Copyright 2014-2021 Tecnativa Pedro M. Baeza
# Copyright 2014 Oihane Crucelaegui - AvanzOSC
# Copyright 2017-2020 ForgeFlow S.L.
# Copyright 2017 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Quality Control OCA",
"version": "18.0.1.0.0",
"category": "Quality Control",
"license": "AGPL-3",
"summary": "Generic infrastructure for quality tests.",
"author": "AvanzOSC, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
"depends": ["product"],
"data": [
"data/quality_control_data.xml",
"security/quality_control_security.xml",
"security/ir.model.access.csv",
"wizard/qc_test_wizard_view.xml",
"views/qc_menus.xml",
"views/qc_inspection_view.xml",
"views/qc_test_category_view.xml",
"views/qc_test_view.xml",
"views/qc_trigger_view.xml",
"views/product_template_view.xml",
"views/product_category_view.xml",
],
"demo": ["demo/quality_control_demo.xml"],
"installable": True,
}
27 changes: 27 additions & 0 deletions quality_control_oca/data/quality_control_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2010 NaN Projectes de Programari Lliure, S.L.
Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza
Copyright 2014 Oihane Crucelaegui - AvanzOSC
Copyright 2017 ForgeFlow S.L.
Copyright 2017 Simone Rubino - Agile Business Group
Copyright 2021 Tecnativa - Carlos Roca
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="qc_test_template_category_generic" model="qc.test.category">
<field name="name">Generic</field>
</record>
<record id="qc_test_template_category_referenced" model="qc.test.category">
<field name="name">Referenced</field>
</record>
<record forcecreate="True" id="decimal_quality_control" model="decimal.precision">
<field name="name">Quality Control</field>
<field name="digits">5</field>
</record>
<record id="seq_qc_inspection" model="ir.sequence">
<field name="name">Quality inspection</field>
<field name="code">qc.inspection</field>
<field name="prefix">QC-</field>
<field name="padding">6</field>
<field name="company_id" eval="False" />
</record>
</odoo>
32 changes: 32 additions & 0 deletions quality_control_oca/demo/quality_control_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record model="qc.test" id="qc_test_1">
<field name="name">Generic Test (demo)</field>
<field name="type">generic</field>
<field name="active" eval="True" />
<field name="category" ref="qc_test_template_category_generic" />
</record>
<record model="qc.test.question" id="qc_test_question_1">
<field name="name">Overall quality</field>
<field name="test" ref="qc_test_1" />
<field name="type">qualitative</field>
</record>
<record model="qc.test.question.value" id="qc_test_question_value_1">
<field name="name">Good</field>
<field name="ok" eval="True" />
<field name="test_line" ref="qc_test_question_1" />
</record>
<record model="qc.test.question.value" id="qc_test_question_value_2">
<field name="name">Bad</field>
<field name="ok" eval="False" />
<field name="test_line" ref="qc_test_question_1" />
</record>
<record model="qc.test.question" id="qc_test_question_2">
<field name="name">Size</field>
<field name="test" ref="qc_test_1" />
<field name="type">quantitative</field>
<field name="min_value" eval="1.0" />
<field name="max_value" eval="10.0" />
<field name="uom_id" ref="uom.product_uom_unit" />
</record>
</odoo>
Loading
Loading