Skip to content

Commit

Permalink
Merge PR OCA#636 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Apr 28, 2020
2 parents 87e491f + f22bef7 commit 6c44411
Show file tree
Hide file tree
Showing 13 changed files with 753 additions and 0 deletions.
89 changes: 89 additions & 0 deletions stock_picking_return_restricted_qty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
===================================
Stock Picking Return Restricted Qty
===================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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/12.0/stock_picking_return_restricted_qty
: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-12-0/stock-logistics-workflow-12-0-stock_picking_return_restricted_qty
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/154/12.0
:alt: Try me on Runbot

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

This module don't allows you to return more quantity of products than the
delivered.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

#. Create an outgoing, an internal or an incoming picking.
#. Include one or more products with enough stock.
#. Validate the picking.
#. Try to return more products than the delivered and see the warning.

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_picking_return_restricted_qty%0Aversion:%2012.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

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Carlos Roca

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/12.0/stock_picking_return_restricted_qty>`_ 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 stock_picking_return_restricted_qty/__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 wizard
14 changes: 14 additions & 0 deletions stock_picking_return_restricted_qty/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Picking Return Restricted Qty",
"summary": "This module don't allows you to return more products"
"than you had bought",
"version": "12.0.1.0.0",
'development_status': 'Alpha',
"license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow/",
"depends": ["stock"],
}
29 changes: 29 additions & 0 deletions stock_picking_return_restricted_qty/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_return_restricted_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 10:45+0000\n"
"PO-Revision-Date: 2020-03-09 11:54+0100\n"
"Language-Team: \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"
"Last-Translator: Carlos <carlos.roca@tecnativa.com>\n"
"Language: es\n"

#. module: stock_picking_return_restricted_qty
#: model:ir.model,name:stock_picking_return_restricted_qty.model_stock_return_picking
msgid "Return Picking"
msgstr "Albarán de devolución"

#. module: stock_picking_return_restricted_qty
#: code:addons/stock_picking_return_restricted_qty/wizard/stock_picking_return.py:0
#, python-format
msgid "Return more quantities than delivered is not allowed."
msgstr "No está permitido devolver más cantidades de las entregadas."
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_return_restricted_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 10:45+0000\n"
"PO-Revision-Date: 2020-03-09 10:45+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_picking_return_restricted_qty
#: model:ir.model,name:stock_picking_return_restricted_qty.model_stock_return_picking
msgid "Return Picking"
msgstr ""

#. module: stock_picking_return_restricted_qty
#: code:addons/stock_picking_return_restricted_qty/wizard/stock_picking_return.py:0
#, python-format
msgid "Return more quantities than delivered is not allowed."
msgstr ""
3 changes: 3 additions & 0 deletions stock_picking_return_restricted_qty/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Carlos Roca
2 changes: 2 additions & 0 deletions stock_picking_return_restricted_qty/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module don't allows you to return more quantity of products than the
delivered.
4 changes: 4 additions & 0 deletions stock_picking_return_restricted_qty/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#. Create an outgoing, an internal or an incoming picking.
#. Include one or more products with enough stock.
#. Validate the picking.
#. Try to return more products than the delivered and see the warning.

0 comments on commit 6c44411

Please sign in to comment.