Skip to content

Commit

Permalink
Merge pull request #1331 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/stock-logistics-warehouse (17.0)
  • Loading branch information
bt-admin authored Jan 22, 2024
2 parents 10ee56f + 40f2504 commit 6b2a1e8
Show file tree
Hide file tree
Showing 28 changed files with 1,578 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ TODO: add repo description.

[//]: # (addons)

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[scrap_reason_code](scrap_reason_code/) | 17.0.1.0.0 | [![bodedra](https://github.com/bodedra.png?size=30px)](https://github.com/bodedra) | Reason code for scrapping

[//]: # (end addons)

Expand Down
118 changes: 118 additions & 0 deletions scrap_reason_code/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
=================
Scrap Reason Code
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:212ac46e4a73990b785c1c5ee29563a2f98d597ba35277a372a1489e761f34aa
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/17.0/scrap_reason_code
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-scrap_reason_code
: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-warehouse&target_branch=17.0
:alt: Try me on Runboat

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

Adds a reason code for scrapping operations and an interface for the
user to create scrap codes

**Table of contents**

.. contents::
:local:

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

Go to Inventory > Configuration > Scrap Reason Codes

Create a required scrap reason code and provide scrap location.

Usage
=====

- Go to Inventory > Operations > Scrap
- Create a scarp order and select reason code.
- A scrap location will be readonly and auto fill based on selected
reason code.

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



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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/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-warehouse/issues/new?body=module:%20scrap_reason_code%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
-------

* Open Source Integrators

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

- Michael Allen <[email protected]>
- Bhavesh Odedra <[email protected]>
- Balaji Kannan <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Chandresh Thakkar <[email protected]>
- Hughes Damry <[email protected]>
- Lois Rilo <[email protected]>

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

The development of this module has been financially supported by:

- Open Source Integrators

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.

.. |maintainer-bodedra| image:: https://github.com/bodedra.png?size=40px
:target: https://github.com/bodedra
:alt: bodedra

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-bodedra|

This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/17.0/scrap_reason_code>`_ project on GitHub.

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

from . import models
20 changes: 20 additions & 0 deletions scrap_reason_code/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Scrap Reason Code",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"summary": "Reason code for scrapping",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"depends": ["stock"],
"data": [
"security/ir.model.access.csv",
"views/reason_code_view.xml",
"views/stock_scrap_views.xml",
"views/stock_move_views.xml",
],
"maintainers": ["bodedra"],
"installable": True,
}
128 changes: 128 additions & 0 deletions scrap_reason_code/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * scrap_reason_code
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-27 23:12+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: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__product_category_ids
msgid "Allowed Product Categories"
msgstr "Categorías de productos permitidos"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_stock_scrap__allowed_reason_code_ids
msgid "Allowed Reason Code"
msgstr "Código de motivo autorizado"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__name
msgid "Code"
msgstr "Código"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__create_date
msgid "Created on"
msgstr "Creado en"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__description
msgid "Description"
msgstr "Descripción"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__id
msgid "ID"
msgstr "Id."

#. module: scrap_reason_code
#: model:ir.model.fields,help:scrap_reason_code.field_scrap_reason_code__product_category_ids
msgid ""
"Indicate the cateogories of products that can use this reason code when "
"doing a scrap. If left empy, this reason code can be used with any product."
msgstr ""
"Indique las categorías de productos que pueden utilizar este código de "
"motivo al realizar un rechazo. Si se deja vacío, este código de motivo puede "
"utilizarse con cualquier producto."

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code____last_update
msgid "Last Modified on"
msgstr "Últ. modificación en"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__write_uid
msgid "Last Updated by"
msgstr "actualizado por última vez por"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__write_date
msgid "Last Updated on"
msgstr "Últ. actualización en"

#. module: scrap_reason_code
#: model:ir.model,name:scrap_reason_code.model_scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_stock_move__reason_code_id
#: model:ir.model.fields,field_description:scrap_reason_code.field_stock_scrap__reason_code_id
#: model_terms:ir.ui.view,arch_db:scrap_reason_code.stock_reason_code_form
#: model_terms:ir.ui.view,arch_db:scrap_reason_code.view_scrap_reason_code_form
msgid "Reason Code"
msgstr "Código del motivo"

#. module: scrap_reason_code
#: model:ir.model,name:scrap_reason_code.model_stock_scrap
msgid "Scrap"
msgstr "Desecho"

#. module: scrap_reason_code
#: model:ir.model.fields,field_description:scrap_reason_code.field_scrap_reason_code__location_id
#: model:ir.model.fields,field_description:scrap_reason_code.field_stock_scrap__scrap_location_id
msgid "Scrap Location"
msgstr "Ubicación de desecho"

#. module: scrap_reason_code
#: model:ir.actions.act_window,name:scrap_reason_code.open_view_scrap_reason_code_form
#: model:ir.ui.menu,name:scrap_reason_code.menu_view_scrap_reason_code_form
msgid "Scrap Reason Codes"
msgstr "Códigos de motivo de desecho"

#. module: scrap_reason_code
#: model:ir.model,name:scrap_reason_code.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de almacén"

#. module: scrap_reason_code
#. odoo-python
#: code:addons/scrap_reason_code/models/stock_scrap.py:0
#, python-format
msgid "The selected reason code is not allowed for this product category."
msgstr ""
"El código de motivo seleccionado no está permitido para esta categoría de "
"producto."

#~ msgid "Reason Codes"
#~ msgstr "Códigos de motivo"

#~ msgid "Reason code"
#~ msgstr "Código de motivo"
Loading

0 comments on commit 6b2a1e8

Please sign in to comment.