Skip to content

Commit

Permalink
Merge pull request OCA#568 from vauxoo-dev/12.0-mig-stock_picking_bac…
Browse files Browse the repository at this point in the history
…korder_strategy

[MIG] stock_picking_backorder_strategy: Migration to 12.0
  • Loading branch information
moylop260 committed Sep 12, 2019
2 parents 9846466 + 78e5877 commit 2c90fa1
Show file tree
Hide file tree
Showing 80 changed files with 5,464 additions and 0 deletions.
131 changes: 131 additions & 0 deletions stock_picking_backorder_strategy/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
===============================
Picking backordering strategies
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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/11.0/stock_picking_backorder_strategy
: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-11-0/stock-logistics-workflow-11-0-stock_picking_backorder_strategy
: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/11.0
:alt: Try me on Runbot

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

In types of operation add a backorder strategy to be able to cancel created
backorder or to avoid to create a backorder.

Possible strategies are:

* Manual (Default): Let the backorder wizard to be launched as usual
* Create: Backorder is created if it exists some remaining quantities
* No Create: no backorder are created
* Cancel: backorder is cancelled

**Table of contents**

.. contents::
:local:

Usage
=====

To configure this module, you need to:

* Define backorder strategy on picking type (Warehouse > Configuration > Types of Operation)

Changelog
=========

11.0.1.0.0 (2018-12-06)
~~~~~~~~~~~~~~~~~~~~~~~

* [11.0][MIG] stock_picking_backorder_strategy
Migration to v11.0
Field pack_operation_ids removed in v11
Method do_new_transfer changed to button_validate

10.0.1.0.0 (2018-06-06)
~~~~~~~~~~~~~~~~~~~~~~~

* [10.0][MIG] stock_picking_backorder_strategy
Migration to v10.0
Added a default 'manual' strategy according to changed flow in pickings.
Let the normal process (backorder wizard) occurs

8.0.1.0.0 (2015-08-13)
~~~~~~~~~~~~~~~~~~~~~~~

* [ADD] add module stock_backorder_strategy
Define on stock_picking_type how to manage backorder.
create: default behavior
no_create: no backorder created
cancel: backorder is cancelled


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_backorder_strategy%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
~~~~~~~

* ACSONE SA/NV

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

* Laetitia Gangloff <laetitia.gangloff@acsone.eu>
* Denis Roussel <denis.roussel@acsone.eu>
* Mayank Gosai <mgosai@opensourceintegrators.com>
* Luis Escobar <lescobar@vauxoo.com>

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-rousseldenis| image:: https://github.com/rousseldenis.png?size=40px
:target: https://github.com/rousseldenis
:alt: rousseldenis
.. |maintainer-mgosai| image:: https://github.com/mgosai.png?size=40px
:target: https://github.com/mgosai
:alt: mgosai

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

|maintainer-rousseldenis| |maintainer-mgosai|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_picking_backorder_strategy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
25 changes: 25 additions & 0 deletions stock_picking_backorder_strategy/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Picking backordering strategies',
'version': '12.0.1.0.1',
'development_status': 'Production/Stable',
'author': """ACSONE SA/NV,
Odoo Community Association (OCA)""",
'maintainers': [
'rousseldenis',
'mgosai'
],
'category': 'Warehouse Management',
'website': 'https://github.com/OCA/stock-logistics-workflow',
'depends': [
'stock',
],
'data': [
'views/picking_type.xml',
],
'license': 'AGPL-3',
'installable': True,
'application': False,
}
72 changes: 72 additions & 0 deletions stock_picking_backorder_strategy/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_backorder_strategy
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: stock-logistics-workflow (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-13 22:02+0000\n"
"PO-Revision-Date: 2015-10-21 16:33+0000\n"
"Last-Translator: <>\n"
"Language-Team: Amharic (http://www.transifex.com/oca/OCA-stock-logistics-"
"workflow-8-0/language/am/)\n"
"Language: am\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"

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,field_description:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Backorder Strategy"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:13
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Cancel"
msgstr "Cancelar"

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Create"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,help:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Define what to do with backorder"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Manual"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:12
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "No create"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_picking_type
msgid "The operation type determines the picking view"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_picking
msgid "Transfer"
msgstr ""
72 changes: 72 additions & 0 deletions stock_picking_backorder_strategy/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_backorder_strategy
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: stock-logistics-workflow (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-18 01:44+0000\n"
"PO-Revision-Date: 2015-10-21 16:33+0000\n"
"Last-Translator: <>\n"
"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-stock-logistics-"
"workflow-8-0/language/bg/)\n"
"Language: bg\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"

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,field_description:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Backorder Strategy"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:13
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Cancel"
msgstr "Откажи"

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Create"
msgstr "Създай"

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,help:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Define what to do with backorder"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Manual"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:12
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "No create"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_picking_type
msgid "The operation type determines the picking view"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_picking
msgid "Transfer"
msgstr ""
73 changes: 73 additions & 0 deletions stock_picking_backorder_strategy/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_backorder_strategy
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: stock-logistics-workflow (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-18 01:44+0000\n"
"PO-Revision-Date: 2015-10-21 16:33+0000\n"
"Last-Translator: <>\n"
"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-stock-logistics-"
"workflow-8-0/language/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,field_description:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Backorder Strategy"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:13
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Cancel"
msgstr "Otkaži"

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Create"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model.fields,help:stock_picking_backorder_strategy.field_stock_picking_type__backorder_strategy
msgid "Define what to do with backorder"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:11
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "Manual"
msgstr ""

#. module: stock_picking_backorder_strategy
#: code:addons/stock_picking_backorder_strategy/models/stock_picking_type.py:12
#: selection:stock.picking.type,backorder_strategy:0
#, python-format
msgid "No create"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_picking_backorder_strategy
#: model:ir.model,name:stock_picking_backorder_strategy.model_stock_picking_type
msgid "The operation type determines the picking view"
msgstr ""

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

0 comments on commit 2c90fa1

Please sign in to comment.