forked from OCA/stock-logistics-workflow
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1390 from OCA/17.0
Syncing from upstream OCA/stock-logistics-workflow (17.0)
- Loading branch information
Showing
42 changed files
with
1,923 additions
and
6 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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,112 @@ | ||
=========================== | ||
Stock Scrap Tier Validation | ||
=========================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:b2b9ccb0fe2078758c41ee4ca14a3d4a8567ca329933577bcab05f14749811c2 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_scrap_tier_validation | ||
:alt: OCA/stock-logistics-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_scrap_tier_validation | ||
: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-workflow&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the functionality of Stock Scrap to support a tier | ||
validation process. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
This module depends on ``base_tier_validation``. You can find it at | ||
`OCA/server-ux <https://github.com/OCA/server-ux>`__ | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
1. Go to *Settings > Technical > Tier Validations > Tier Definition*. | ||
2. Create as many tiers as you want for Stock Scrap model. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
1. Create a Stock Scrap triggering at least one "Tier Definition". | ||
2. Click on *Request Validation* button. | ||
3. Under the tab *Reviews* have a look to pending reviews and their | ||
statuses. | ||
4. Once all reviews are validated click on *Validate*. | ||
|
||
Additional features: | ||
|
||
- You can filter the Stock Scrap requesting your review through the | ||
filter *Needs my Review*. | ||
- User with rights to confirm the Stock Scrap (validate all tiers that | ||
would be generated) can directly do the operation, this is, there is | ||
no need for her/him to request a validation. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/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-workflow/issues/new?body=module:%20stock_scrap_tier_validation%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 | ||
------- | ||
|
||
* Jarsa | ||
|
||
Contributors | ||
------------ | ||
|
||
- `Jarsa <https://www.jarsa.com>`__: | ||
|
||
- Alan Ramos | ||
|
||
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-workflow <https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_scrap_tier_validation>`_ 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,4 @@ | ||
# Copyright 2023 Jarsa | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
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,21 @@ | ||
# Copyright 2023 Jarsa | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Stock Scrap Tier Validation", | ||
"version": "17.0.1.0.0", | ||
"category": "Stock", | ||
"website": "https://github.com/OCA/stock-logistics-workflow", | ||
"author": "Jarsa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": [ | ||
"stock", | ||
"base_tier_validation", | ||
], | ||
"data": [ | ||
"data/mail_message_subtype_data.xml", | ||
"views/stock_scrap_view.xml", | ||
], | ||
} |
30 changes: 30 additions & 0 deletions
30
stock_scrap_tier_validation/data/mail_message_subtype_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,30 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record | ||
id="stock_scrap_tier_validation_requested" | ||
model="mail.message.subtype" | ||
forcecreate="1" | ||
> | ||
<field name="name">Tier Validation Requested</field> | ||
<field name="res_model">stock.scrap</field> | ||
<field name="internal">True</field> | ||
</record> | ||
<record | ||
id="stock_scrap_tier_validation_accepted" | ||
model="mail.message.subtype" | ||
forcecreate="1" | ||
> | ||
<field name="name">Tier Validation Accepted Notification</field> | ||
<field name="res_model">stock.scrap</field> | ||
<field name="internal">True</field> | ||
</record> | ||
<record | ||
id="stock_scrap_tier_validation_rejected" | ||
model="mail.message.subtype" | ||
forcecreate="1" | ||
> | ||
<field name="name">Tier Validation Rejected Notification</field> | ||
<field name="res_model">stock.scrap</field> | ||
<field name="internal">True</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,118 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_scrap_tier_validation | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-11-11 18:37+0000\n" | ||
"Last-Translator: Ivorra78 <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__can_review | ||
msgid "Can Review" | ||
msgstr "Puede Revisar" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__has_comment | ||
msgid "Has Comment" | ||
msgstr "Tiene Comentario" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model_terms:ir.ui.view,arch_db:stock_scrap_tier_validation.view_stock_scrap_filter | ||
msgid "My Scraps to review" | ||
msgstr "Mis Recortes para revisar" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__need_validation | ||
msgid "Need Validation" | ||
msgstr "Necesita Validación" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model_terms:ir.ui.view,arch_db:stock_scrap_tier_validation.view_stock_scrap_filter | ||
msgid "Needs my Review" | ||
msgstr "Necesita mi Revisión" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__next_review | ||
msgid "Next Review" | ||
msgstr "Siguiente Revisión" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__rejected | ||
msgid "Rejected" | ||
msgstr "Rechazado" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__rejected_message | ||
msgid "Rejected Message" | ||
msgstr "Mensaje Rechazado" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__reviewer_ids | ||
msgid "Reviewers" | ||
msgstr "Revisores" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model,name:stock_scrap_tier_validation.model_stock_scrap | ||
msgid "Scrap" | ||
msgstr "Desecho" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model_terms:ir.ui.view,arch_db:stock_scrap_tier_validation.view_stock_scrap_filter | ||
msgid "Scraps validated and ready to be confirmed" | ||
msgstr "Recortes validados y listos para ser confirmados" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model,name:stock_scrap_tier_validation.model_tier_definition | ||
msgid "Tier Definition" | ||
msgstr "Definición del nivel" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:mail.message.subtype,name:stock_scrap_tier_validation.stock_scrap_tier_validation_accepted | ||
msgid "Tier Validation Accepted Notification" | ||
msgstr "Notificación de Validación de Nivel Aceptada" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:mail.message.subtype,name:stock_scrap_tier_validation.stock_scrap_tier_validation_rejected | ||
msgid "Tier Validation Rejected Notification" | ||
msgstr "Validación de nivel Notificación rechazada" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:mail.message.subtype,name:stock_scrap_tier_validation.stock_scrap_tier_validation_requested | ||
msgid "Tier Validation Requested" | ||
msgstr "Validación de nivel solicitada" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__to_validate_message | ||
msgid "To Validate Message" | ||
msgstr "Para validar el mensaje" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__validated | ||
#: model_terms:ir.ui.view,arch_db:stock_scrap_tier_validation.view_stock_scrap_filter | ||
msgid "Validated" | ||
msgstr "Validado" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__validated_message | ||
msgid "Validated Message" | ||
msgstr "Mensaje Validado" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__validation_status | ||
msgid "Validation Status" | ||
msgstr "Estado de validación" | ||
|
||
#. module: stock_scrap_tier_validation | ||
#: model:ir.model.fields,field_description:stock_scrap_tier_validation.field_stock_scrap__review_ids | ||
msgid "Validations" | ||
msgstr "Validaciones" |
Oops, something went wrong.