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

[18.0][MIG] quality_control_stock_oca: Migration to 18.0 #1389

Open
wants to merge 42 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
42 commits
Select commit Hold shift + click to select a range
3971774
[IMP] Total refactorization of quality control modules with new API, …
pedrobaeza Dec 10, 2014
187a69d
[FIX] Little changes in quality modules
oihane Dec 19, 2014
abfccd9
[FIX] quality_control_stock:
pedrobaeza Jan 5, 2015
0169025
[MOD] Trigger lines instead of test
oihane Feb 20, 2015
e1928c9
[IMP] Expand AUTHORS
pedrobaeza Mar 25, 2015
93bedef
[MOD] Smartbuttons all in one div
oihane Apr 1, 2015
0b91143
[IMP] quality_control_*: Make use of qty field
pedrobaeza Nov 14, 2015
df116ce
[IMP] quality_control_stock: if lot in reference, get its info
oihane May 11, 2016
6d100b3
[IMP] quality_control_stock, quality_control_mrp: set correct qty to …
agaldona Apr 11, 2017
b732155
[MIG] quality_control_stock: Migration to 10.0
SimoRubi Jun 27, 2018
0b3e3fb
[MIG] quality_control_stock: Migration to 11.0
NachoAlesLopez Sep 13, 2018
38d5104
[FIX] stock_picking_type: assure api.multi in write
MiquelRForgeFlow Nov 12, 2018
39e079f
[FIX] quality_control_stock: singleton error
MiquelRForgeFlow Nov 14, 2018
071bdb9
[quality_control_stock][FIX] the stock user should be able to
JordiBForgeFlow Dec 9, 2018
d5d600f
Translated using Weblate (German)
marylla Jan 22, 2019
d938dec
Translated using Weblate (Spanish)
mvrodriguez Mar 1, 2019
0bb61c6
[MIG] quality_control_stock: Migration to 12.0
NachoAlesLopez May 28, 2019
07b04f8
[IMP] quality_control_stock: use read_group
kos94ok-3D Aug 14, 2019
d680f23
[IMP] quality_control_stock: black, isort
ps-tubtim Mar 20, 2020
bf5cf2f
[MIG] quality_control_stock: Migration to 13.0
ps-tubtim Mar 23, 2020
d3619a1
[FIX] quality_control_stock_oca: Fixed inheritance and module renamed
CarlosRoca13 Feb 15, 2021
3da568e
[FIX] quality_control_stock_oca: Avoid singleton error
pedrobaeza Jul 21, 2021
d9f4a93
[MIG] quality_control_stock_oca: Migration to 14.0
enriquemartin Oct 4, 2021
6bbefac
[IMP] quality_control_stock_oca: sudo the process of creating the tes…
jonerikceberio Jan 18, 2022
615a6e9
fixed singleton error
badbole Apr 26, 2022
8d46e78
Translated using Weblate (Italian)
mymage Dec 18, 2022
00883f6
[MIG] quality_control_stock_oca: Migration to 15.0
dalonsod Feb 17, 2023
5647478
[IMP] quality_control_stock_oca: picking types - use display_name for…
dalonsod Sep 14, 2023
1ee4239
Translated using Weblate (Italian)
mymage Nov 2, 2023
d8b5125
[MIG] quality_control_stock_oca: Migration to 16.0
angelmoya Jun 7, 2023
c2c70a5
[MIG] quality_control_stock_oca: Migration to 16.0
victoralmau Feb 28, 2024
69f6fb0
[UPD] Update quality_control_stock_oca.pot
Mar 1, 2024
cb1ee4d
Update translation files
weblate Mar 1, 2024
38d0947
[IMP] quality_control_stock_oca: pre-commit auto fixes
peluko00 May 14, 2024
f3b4270
[MIG] quality_control_stock_oca: Migration to 17.0
peluko00 May 14, 2024
04e7082
[UPD] Update quality_control_stock_oca.pot
Jun 6, 2024
8de9f86
[BOT] post-merge updates
OCA-git-bot Jun 6, 2024
4d782a5
Update translation files
weblate Jun 6, 2024
77faa9d
Translated using Weblate (Italian)
mymage Aug 22, 2024
07f7191
Translated using Weblate (Italian)
mymage Oct 17, 2024
abede99
[MIG] quality_control_stock_oca: Migration to 18.0
peluko00 Nov 11, 2024
3792c04
[DON'T MERGE] test-requirements.txt
peluko00 Nov 11, 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
98 changes: 98 additions & 0 deletions quality_control_stock_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
=============================
Quality control - Stock (OCA)
=============================

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

.. |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/18.0/quality_control_stock_oca
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-18-0/manufacture-18-0-quality_control_stock_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=18.0
:alt: Try me on Runboat

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

This module defines triggers that creates inspections when stock moves
are done.

It also adds some shortcuts on picking and lots to these inspections.

**Table of contents**

.. contents::
:local:

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

- Put trigger in all languages.

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_stock_oca%0Aversion:%2018.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
-------

* Tecnativa
* AvanzOSC
* Agile Business Group

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

- Oihane Crucelaegui <[email protected]>
- Simone Rubino <[email protected]>
- Andrii Skrypka <[email protected]>
- Ignacio José Alés <[email protected]>
- Pimolnat Suntian <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Carlos Roca

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

- Antoni Marroig <[email protected]>

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/18.0/quality_control_stock_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
12 changes: 12 additions & 0 deletions quality_control_stock_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza
# Copyright 2018 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models


def post_init_hook(env):
# Create QC triggers
picking_type_ids = env["stock.picking.type"].sudo().search([])

Check warning on line 10 in quality_control_stock_oca/__init__.py

View check run for this annotation

Codecov / codecov/patch

quality_control_stock_oca/__init__.py#L10

Added line #L10 was not covered by tests
for picking_type_id in picking_type_ids:
picking_type_id.sudo()._create_qc_trigger()

Check warning on line 12 in quality_control_stock_oca/__init__.py

View check run for this annotation

Codecov / codecov/patch

quality_control_stock_oca/__init__.py#L12

Added line #L12 was not covered by tests
24 changes: 24 additions & 0 deletions quality_control_stock_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza
# Copyright 2014 Oihane Crucelaegui - AvanzOSC
# Copyright 2018 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Quality control - Stock (OCA)",
"version": "18.0.1.0.0",
"category": "Quality control",
"license": "AGPL-3",
"author": "Tecnativa, AvanzOSC, "
"Agile Business Group, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
"depends": ["quality_control_oca", "stock"],
"data": [
"views/qc_inspection_view.xml",
"views/stock_picking_view.xml",
"views/stock_production_lot_view.xml",
"views/qc_trigger_view.xml",
],
"post_init_hook": "post_init_hook",
"installable": True,
"auto_install": True,
}
153 changes: 153 additions & 0 deletions quality_control_stock_oca/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * quality_control_stock
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: manufacture (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-22 07:24+0000\n"
"PO-Revision-Date: 2021-02-22 08:29+0100\n"
"Last-Translator: Carlos <[email protected]>\n"
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-manufacture-8-0/"
"language/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_lot__created_inspections
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_picking__created_inspections
msgid "Created inspections"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_lot__done_inspections
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_picking__done_inspections
msgid "Done inspections"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_lot__qc_inspections_ids
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_picking__qc_inspections_ids
msgid "Inspections"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_lot__passed_inspections
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_picking__passed_inspections
msgid "Inspections OK"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_lot__failed_inspections
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_stock_picking__failed_inspections
msgid "Inspections failed"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,help:quality_control_stock_oca.field_stock_lot__qc_inspections_ids
msgid "Inspections related to this lot."
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,help:quality_control_stock_oca.field_stock_picking__qc_inspections_ids
msgid "Inspections related to this picking."
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_qc_inspection__lot_id
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_qc_inspection_line__lot_id
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.qc_inspection_line_search_stock_view
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.qc_inspection_search_view_picking
msgid "Lot"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_stock_lot
msgid "Lot/Serial"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_qc_inspection__picking_id
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_qc_inspection_line__picking_id
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.qc_inspection_line_search_stock_view
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.qc_inspection_search_view_picking
msgid "Picking"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_stock_picking_type
#: model:ir.model.fields,field_description:quality_control_stock_oca.field_qc_trigger__picking_type_id
msgid "Picking Type"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_qc_inspection
msgid "Quality control inspection"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_qc_inspection_line
msgid "Quality control inspection line"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_qc_trigger
msgid "Quality control trigger"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_lot_done
msgid "Quality inspection from lot done"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_lot_passed
msgid "Quality inspection from lot passed"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_picking_done
msgid "Quality inspection from picking done"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_picking_passed
msgid "Quality inspection from picking passed"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_lot
msgid "Quality inspections from lot"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_lot_failed
msgid "Quality inspections from lot failed"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_picking
msgid "Quality inspections from picking"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.actions.act_window,name:quality_control_stock_oca.action_qc_inspection_per_picking_failed
msgid "Quality inspections from picking failed"
msgstr ""

#. module: quality_control_stock_oca
#: model:ir.model,name:quality_control_stock_oca.model_stock_picking
msgid "Transfer"
msgstr ""

#. module: quality_control_stock_oca
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.stock_lot_qc_view
#: model_terms:ir.ui.view,arch_db:quality_control_stock_oca.stock_picking_qc_view
msgid "inspections"
msgstr ""
Loading
Loading