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

[11.0][MIG] stock_available: Migration to 11.0 #353

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
f7ba9bb
[ADD] stock_available
Feb 27, 2015
ef5e4aa
[IMP] stock_available* uses new API
Feb 27, 2015
ee639cc
[ADD] stock_available_mrp
Nov 28, 2014
21ebc90
[DEL] move stock_available_mrp to __unported__
Feb 27, 2015
20991df
[ADD] stock_available_sale
Nov 28, 2014
81c06b4
[DEL] move stock_available_sale to __unported__
Feb 27, 2015
f0aee60
[IMP] READMEs and TODOs
Feb 26, 2015
93dc440
[IMP] respect product decimal precision
Mar 2, 2015
2fb0786
[FIX] corrected calculation of immediately_usable_qty on product.prod…
gfcapalbo Mar 18, 2015
199cf67
[ADD} location calculations
gfcapalbo Jul 2, 2015
f16f31c
[FIX] typo
gfcapalbo Jul 2, 2015
13b14f9
[FIX] searching on products, leaving full calculations
Jul 16, 2015
a06c055
[ADD] Tests
Jul 16, 2015
cb0aafc
[FIX] stock_available : update sublocations computation
Aug 5, 2015
0e2761d
Revert changes to computation of _immediately_usable_qty
Sep 8, 2015
833899e
Remove loop and use correct decorator
Sep 8, 2015
b0e1db1
Restore the features of stock_available_immediately
Sep 9, 2015
5181701
Restore the qty avail. to promise on variant treeview
Sep 10, 2015
55d6861
PEP8
Sep 10, 2015
02ec4d6
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
31d49c4
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
9a3dd90
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
5ff8dcf
[FIX] stock_available: Fix manifest
pedrobaeza Oct 14, 2015
806c00f
[9.0][PORT] Stock available
atchuthan Feb 10, 2016
7e024c2
OCA Transbot updated translations from Transifex
oca-transbot Feb 28, 2016
150f14a
product_available improvements
gurneyalex Oct 26, 2015
b78106f
[IMP] Decouple the quantity for templates and variants
Nov 6, 2015
ffed2de
stock_available / stock_available_mrp : add possibility to choose whi…
Mar 4, 2016
6073c21
bom stock: small improvements and add test for field choice
Mar 16, 2016
2048c02
OCA Transbot updated translations from Transifex
oca-transbot Apr 24, 2016
9b01797
OCA Transbot updated translations from Transifex
oca-transbot May 1, 2016
f009a26
OCA Transbot updated translations from Transifex
oca-transbot Jun 12, 2016
d130706
OCA Transbot updated translations from Transifex
oca-transbot Jul 10, 2016
d6c49c8
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
f84b306
OCA Transbot updated translations from Transifex
oca-transbot Sep 4, 2016
2e9f2c2
OCA Transbot updated translations from Transifex
oca-transbot Sep 18, 2016
2baf27e
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
d285192
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
e59803b
[10.0][MIG] stock_available & stock_available_immediately (#219)
SodexisTeam Nov 25, 2016
87c520c
[10.0]stock_available: improve computation performance
May 9, 2017
d77b6b3
[CHG] improve code regarding code review
May 9, 2017
32fa629
OCA Transbot updated translations from Transifex
oca-transbot May 13, 2017
98f0047
[ADD] add test
May 31, 2017
9c7ea51
OCA Transbot updated translations from Transifex
oca-transbot Jun 3, 2017
9523a61
OCA Transbot updated translations from Transifex
oca-transbot Jun 24, 2017
9d03ff7
[MIG] stock_available_sale: Migration to 10.0
chienandalu Sep 4, 2017
be796b6
[MIG] stock_available: Migration to 11.0
kikopeiro Nov 14, 2017
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
76 changes: 76 additions & 0 deletions stock_available/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==========================
Stock available to promise
==========================

This module proposes several options to compute the quantity available to
promise for each product.
This quantity is based on the projected stock and, depending on the
configuration, it can account for various data such as sales quotations or
immediate production capacity.
In case of immediate production capacity, it is possible to configure on which
field the potential is computed, by default Quantity On Hand is used.
This can be configured in `Inventory` > `Configuration` > `Settings`.

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

By default, this module computes the stock available to promise as the virtual
stock.
To take advantage of the additional features, you must which information you
want to base the computation, by checking one or more boxes in the settings:
`Inventory` > `Configuration` > `Settings` > `Stock available to promise`.
In case of "Include the production potential", it is also possible to configure
which field of product to use to compute the production potential.

Usage
=====

This module adds a field named `Available for sale` on the Product form.
Various additional fields may be added, depending on which information you
chose to base the computation on.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/153/11.0

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 smashing it by providing a detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

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

* Lionel Sausin (Numérigraphe) <ls@numerigraphe.com>
* Sodexis <sodexis@sodexis.com>
* Factor Libre - Kiko Peiro <francisco.peiro@factorlibre.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
5 changes: 5 additions & 0 deletions stock_available/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2014 Numérigraphe
# Copyright 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
18 changes: 18 additions & 0 deletions stock_available/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2014 Numérigraphe
# Copyright 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
'name': 'Stock available to promise',
'version': '11.0.1.0.0',
"author": "Numérigraphe, Sodexis, Odoo Community Association (OCA)",
'category': 'Warehouse',
'depends': ['stock'],
'license': 'AGPL-3',
'data': [
'views/product_template_view.xml',
'views/product_product_view.xml',
'views/res_config_settings_views.xml',
],
'installable': True,
}
129 changes: 129 additions & 0 deletions stock_available/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_available
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-03 01:23+0000\n"
"PO-Revision-Date: 2017-06-03 01:23+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.product_normal_form_view
#: model:ir.ui.view,arch_db:stock_available.view_stock_available_form
msgid "<span class=\"o_stat_text\">Available</span>"
msgstr ""

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.product_normal_form_view
#: model:ir.ui.view,arch_db:stock_available.view_stock_available_form
msgid "<span class=\"o_stat_text\">Potential</span>"
msgstr ""

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.view_stock_available_kanban
msgid "Available to Promise:"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_product_product_immediately_usable_qty
#: model:ir.model.fields,field_description:stock_available.field_product_template_immediately_usable_qty
msgid "Available to promise"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_stock_config_settings_stock_available_mrp_based_on
msgid ""
"Choose the field of the product which will be used to compute potential.\n"
"If empty, Quantity On Hand is used.\n"
"Only the quantity fields have meaning for computing stock"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_stock_config_settings_module_stock_available_immediately
msgid "Exclude incoming goods"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_stock_config_settings_module_stock_available_mrp
msgid "Include the production potential"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_product_product_potential_qty
#: model:ir.model.fields,field_description:stock_available.field_product_template_potential_qty
msgid "Potential"
msgstr ""

#. module: stock_available
#: model:ir.model,name:stock_available.model_product_product
msgid "Product"
msgstr "Producte"

#. module: stock_available
#: model:ir.model,name:stock_available.model_product_template
msgid "Product Template"
msgstr "Plantilla del producte"

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_product_product_potential_qty
msgid ""
"Quantity of this Product that could be produced using the materials already "
"at hand."
msgstr ""

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_product_template_potential_qty
msgid ""
"Quantity of this Product that could be produced using the materials already "
"at hand. If the product has several variants, this will be the biggest "
"quantity that can be made for a any single variant."
msgstr ""

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.view_stock_configuration
msgid "Stock available to promise"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_product_product_immediately_usable_qty
#: model:ir.model.fields,help:stock_available.field_product_template_immediately_usable_qty
msgid ""
"Stock for this Product that can be safely proposed for sale to Customers.\n"
"The definition of this value can be configured to suit your needs"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_stock_config_settings_module_stock_available_mrp
msgid ""
"This will add the quantities of goods that can be immediately manufactured, to the quantities available to promise.\n"
"This installs the module stock_available_mrp.\n"
"If the module mrp is not installed, this will install it too"
msgstr ""

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_stock_config_settings_module_stock_available_immediately
msgid ""
"This will subtract incoming quantities from the quantities available to promise.\n"
"This installs the module stock_available_immediately."
msgstr ""

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_stock_config_settings_stock_available_mrp_based_on
msgid "based on"
msgstr ""

#. module: stock_available
#: model:ir.model,name:stock_available.model_stock_config_settings
msgid "stock.config.settings"
msgstr ""
76 changes: 76 additions & 0 deletions stock_available/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_available
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2016
msgid ""
msgstr ""
"Project-Id-Version: stock-logistics-warehouse (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 12:02+0000\n"
"PO-Revision-Date: 2016-04-22 09:17+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-stock-logistics-warehouse-9-0/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.product_normal_form_view
#: model:ir.ui.view,arch_db:stock_available.view_stock_available_form
msgid "<span class=\"o_stat_text\">Available</span>"
msgstr "<span class=\"o_stat_text\">Verfügbar</span>"

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.view_stock_available_kanban
msgid "Available to Promise:"
msgstr "Verfügbar für Zusage:"

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_product_product_immediately_usable_qty
#: model:ir.model.fields,field_description:stock_available.field_product_template_immediately_usable_qty
msgid "Available to promise"
msgstr "Verfügbar für Lieferversprechen"

#. module: stock_available
#: model:ir.model.fields,field_description:stock_available.field_stock_config_settings_module_stock_available_immediately
msgid "Exclude incoming goods"
msgstr "Warenzugänge ausschließen"

#. module: stock_available
#: model:ir.model,name:stock_available.model_product_product
msgid "Product"
msgstr "Produkt"

#. module: stock_available
#: model:ir.model,name:stock_available.model_product_template
msgid "Product Template"
msgstr "Produktvorlage"

#. module: stock_available
#: model:ir.ui.view,arch_db:stock_available.view_stock_configuration
msgid "Stock available to promise"
msgstr "Bestand für Lieferversprechen verfügbar"

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_product_product_immediately_usable_qty
#: model:ir.model.fields,help:stock_available.field_product_template_immediately_usable_qty
msgid ""
"Stock for this Product that can be safely proposed for sale to Customers.\n"
"The definition of this value can be configured to suit your needs"
msgstr "Bestand dieses Produkts, der sicher einem Kunden verkauft werden kann.\nDie Definition dieses Werts kann an Ihre Bedürfnisse angepasst werden"

#. module: stock_available
#: model:ir.model.fields,help:stock_available.field_stock_config_settings_module_stock_available_immediately
msgid ""
"This will subtract incoming quantities from the quantities available to promise.\n"
"This installs the module stock_available_immediately."
msgstr "Warenzugänge werden von dem für Lieferversprechen verfügbaren Bestand abgezogen.\nDas Modul stock_available_immediately wird installiert."

#. module: stock_available
#: model:ir.model,name:stock_available.model_stock_config_settings
msgid "stock.config.settings"
msgstr "stock.config.settings"
Loading