Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
48b0097
[ADD] stock_available
Feb 27, 2015
e2297d0
[FIX] corrected calculation of immediately_usable_qty on product.prod…
gfcapalbo Mar 18, 2015
52ef965
[FIX] searching on products, leaving full calculations
Jul 16, 2015
a1768e9
[FIX] stock_available : update sublocations computation
Aug 5, 2015
4da81c6
Revert changes to computation of _immediately_usable_qty
Sep 8, 2015
d409b02
[9.0][PORT] Stock available
atchuthan Feb 10, 2016
43f6144
product_available improvements
gurneyalex Oct 26, 2015
024f943
[IMP] Decouple the quantity for templates and variants
Nov 6, 2015
44802bf
stock_available / stock_available_mrp : add possibility to choose whi…
Mar 4, 2016
6a13a1d
bom stock: small improvements and add test for field choice
Mar 16, 2016
53f41cd
[10.0][MIG] stock_available & stock_available_immediately (#219)
SodexisTeam Nov 25, 2016
cf57d60
[10.0]stock_available: improve computation performance
May 9, 2017
5301410
[MIG] stock_available_sale: Migration to 10.0
chienandalu Sep 4, 2017
19915e8
[FIX] stock_available: Some affectations
rousseldenis Nov 29, 2017
b2388d2
[ADD] Add search function for immediately_usable_qty computed field +…
acsonefho Feb 14, 2018
420516a
[MIG] stock_available: Migration to 11.0
kikopeiro Nov 14, 2017
022f47e
[FIX] Improve migration to 11.0
asaunier Apr 20, 2018
dbeec10
Added translation using Weblate (Arabic)
osoul-dev Jun 29, 2018
51d5332
[10.0][CHG]stock_available...: improve stock methods computation
Sep 3, 2018
58e978b
[ADD] Use same decorator on product.product as on product.template tr…
Feb 21, 2019
efc08cf
[MIG] stock_available: Migration to v12.0
sergio-teruel Jun 26, 2019
de0be4b
Translated using Weblate (Portuguese (Brazil))
Aug 30, 2019
53416d6
Make stock_available_mrp compatible with other modules like stock_ava…
florian-dacosta Jul 6, 2019
b865968
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 19, 2019
8ce666c
[Fix] use the same view id for differnt view using in product and pro…
digitalsatori Oct 16, 2019
b345314
stock_available 12.0.1.0.1
OCA-git-bot Oct 21, 2019
aa1f1e0
[IMP] stock_available: black, isort
ps-tubtim Dec 19, 2019
ece92cb
[MIG] stock_available: Migration to 13.0
ps-tubtim Jun 16, 2020
86d666a
[IMP] stock_available: black, isort, prettier
florian-dacosta Dec 24, 2020
c1274ed
[MIG] stock_available: Migration to 14.0
florian-dacosta Dec 24, 2020
feba7a9
stock_available 14.0.1.0.1
OCA-git-bot Feb 9, 2021
2034092
Add depends_context to quantity computed field
florian-dacosta Apr 22, 2021
bb0b3c7
stock_available 14.0.1.0.2
OCA-git-bot Apr 23, 2021
7863edd
[14.0] stock_available: improve search performance
Oct 1, 2021
99ed3ee
stock_available 14.0.1.0.3
OCA-git-bot Dec 5, 2021
96f0d3f
[IMP] stock_available: black, isort, prettier
JasminSForgeFlow Jan 21, 2022
ebb9187
[MIG] stock_available: Migration to 15.0
JasminSForgeFlow Jan 21, 2022
ea59a7e
Translated using Weblate (Catalan)
jabelchi Aug 17, 2022
3ed1d39
Translated using Weblate (French)
hailangvn Sep 8, 2022
b4dbce5
[MIG] stock_available: Migration to 16.0
marielejeune Sep 16, 2022
b3904e1
[FIX] stock_available: remove uneeded refresh
pierre-halleux Oct 7, 2022
efa3467
stock_available 16.0.1.0.1
OCA-git-bot Oct 25, 2022
5624059
Translated using Weblate (Spanish)
FranciscoFactorLibre Mar 28, 2023
530cf09
Translated using Weblate (Spanish)
imoralesc Mar 28, 2023
3fb0ab9
Translated using Weblate (French)
Aug 10, 2023
440fe7d
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
5aa80a9
[16.0][FIX] stock_available, fix installation issue
ChrisOForgeFlow Nov 16, 2023
c3d7e20
Translated using Weblate (Italian)
mymage Nov 24, 2023
5b98a4c
[IMP] stock_available: pre-commit auto fixes
bizzappdev Apr 25, 2024
db486d5
[MIG][17.0] stock_available:Migration to 17.0
bizzappdev Apr 25, 2024
a88b0c2
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
a0babcf
[IMP] stock_available: pre-commit auto fixes
LuisBrose Dec 5, 2024
d5e299d
[18.0][MIG] stock_available: Migration to 18.0
LuisBrose Dec 5, 2024
471a8fb
[UPD] Update stock_available.pot
May 12, 2025
50d6ab6
[BOT] post-merge updates
OCA-git-bot May 12, 2025
0c5d469
[IMP] stock_available: pre-commit auto fixes
kopeyev Dec 9, 2025
5df5140
[MIG] stock_available: Migration to 19.0
kopeyev Dec 9, 2025
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
123 changes: 123 additions & 0 deletions stock_available/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

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

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ee844f426f0d99e7c1cf7daf7fbb29456abdaf4da3df836b39a375591f14c46b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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--availability-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-availability/tree/19.0/stock_available
:alt: OCA/stock-logistics-availability
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-availability-19-0/stock-logistics-availability-19-0-stock_available
: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-availability&target_branch=19.0
:alt: Try me on Runboat

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

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.

**Table of contents**

.. contents::
:local:

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

By default, this module computes the stock available to promise as the
virtual stock. To take advantage of the additional features, you must
define on 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.

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

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

* Numérigraphe
* Sodexis

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

- `Numérigraphe <https://www.numerigraphe.com>`__:

- Lionel Sausin <ls@numerigraphe.com>

- `Sodexis <https://www.Sodexis.com>`__:

- Sodexis <sodexis@sodexis.com>

- `Factor Libre <https://www.factorlibre.com>`__:

- Kiko Peiro <francisco.peiro@factorlibre.com>

- `Tecnativa <https://www.tecnativa.com>`__:

- Sergio Teruel <sergio.teruel@tecnativa.com>

- `Ecosoft <http://ecosoft.co.th/>`__:

- Pimolnat Suntian <pimolnats@ecosoft.co.th>

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-availability <https://github.com/OCA/stock-logistics-availability/tree/19.0/stock_available>`_ 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_available/__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.html).

from . import models
19 changes: 19 additions & 0 deletions stock_available/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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": "19.0.1.0.0",
"author": "Numérigraphe, Sodexis, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-availability",
"development_status": "Production/Stable",
"category": "Warehouse",
"depends": ["stock"],
"license": "AGPL-3",
"data": [
"views/product_template_view.xml",
"views/product_product_view.xml",
],
"installable": True,
}
108 changes: 108 additions & 0 deletions stock_available/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_available
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-06-29 14:21+0000\n"
"Last-Translator: Osoul <baruni@osoul.ly>\n"
"Language-Team: none\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 3.0.1\n"

#. module: stock_available
#: model_terms:ir.ui.view,arch_db:stock_available.product_normal_form_view
#: model_terms: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\">المتوفر</span>"

#. module: stock_available
#: model_terms:ir.ui.view,arch_db:stock_available.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:stock_available.view_stock_available_form
msgid "<span class=\"o_stat_text\">Potential</span>"
msgstr "<span class=\"o_stat_text\">المتوقع</span>"

#. module: stock_available
#: model_terms: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,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_template
msgid "Product"
msgstr "المنتج"

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

#. 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.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_product_product__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 ""

#, fuzzy
#~ msgid "Config Settings"
#~ msgstr "الإعدادات"

#~ msgid "Exclude incoming goods"
#~ msgstr "تجاهل الكميات الواردة"

#~ msgid "Include the production potential"
#~ msgstr "احتسب المتوقع من التصنيع"

#~ msgid "Stock available to promise"
#~ msgstr "الكمية القابلة للبيع"

#~ msgid "based on"
#~ msgstr "مبني على"

#~ msgid "Exclude goods already in sale quotations"
#~ msgstr "تجاهل الكميات الموجودة في العروض المبدئية"

#~ msgid "Product Template"
#~ msgstr "قالب المنتج"
Loading
Loading