Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
453afac
[ADD] started a generic stock reservation module (stock_reserve), it …
Sep 5, 2013
3de9037
mark unported module as uninstallable
gurneyalex Jul 1, 2014
cca8034
reactivate module stock_reserve
yvaucher Sep 1, 2014
ea9ec34
fix flake8 warnings
gurneyalex Sep 8, 2014
95845a6
update test
gurneyalex Sep 8, 2014
81261a6
fix button to open related move
yvaucher Sep 8, 2014
dcf7f54
the reservation should reserve a quant
lepistone Nov 26, 2014
7403f57
[UPD] move out from unported to 8 for update
gfcapalbo Nov 18, 2014
ab06409
[ADD] removed view
gfcapalbo Feb 18, 2015
f1e6acb
[FIX] Stock_reserve change revert
gfcapalbo Feb 25, 2015
2382f8d
Update product.xml
gfcapalbo Feb 25, 2015
69eb771
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
e2512f9
fix #42: reserve location should be outside WH
lepistone Mar 17, 2015
1a75b66
Added the translation template file and Finnish translations to stock…
mlaitinen Apr 23, 2015
5e394e5
show reservation location in tree and groupby
lepistone May 11, 2015
241c05f
Add README.rst and remove description from __openerp__.py
Jun 1, 2015
2460ef5
Multiple reservations can now be released at once. This fixes issue #50.
mlaitinen Apr 25, 2015
27c44f7
Replaced for loop in release() with mapped()
mlaitinen Jul 19, 2015
c82b7d9
Add Spanish translation of stock reserve modules
Jul 30, 2015
3783789
Change translation stock/existencias
Jul 30, 2015
0766fee
update travis config, setup transifex
gurneyalex Sep 15, 2015
56a1e81
force recomputation of stock.location hierachy
gurneyalex Sep 15, 2015
fcaa37b
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
22e131c
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
58cee17
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
c198904
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
2b44565
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
80177b2
stock_reserve: migration to 10.0
Jan 5, 2017
b264593
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
a5b138f
[IMP] stock_reserve: black, isort, prettier
CarlosRoca13 Jul 23, 2021
cdb2052
[MIG] stock_reserve: Migration to v13.0
CarlosRoca13 Jul 23, 2021
e33b94a
[UPD] README.rst
OCA-git-bot Jul 28, 2021
cf8d7fe
[FIX+IMP] Update dotfiles + switch to GH actions
pedrobaeza May 28, 2022
2362843
[IMP] stock_reserve: black, isort
flachica Sep 14, 2022
d881884
[MIG] stock_reserve 15.0:
flachica Sep 14, 2022
8e7ee35
stock_reserve 15.0.1.0.1
OCA-git-bot Nov 29, 2022
8a511bd
[FIX] stock_reserve: Avoid creation of pickings when confirming stock…
victoralmau Feb 15, 2023
59fffdd
stock_reserve 15.0.1.0.2
OCA-git-bot Feb 16, 2023
61a8f81
Translated using Weblate (Italian)
francesco-ooops Mar 7, 2023
01d0b9b
Translated using Weblate (Italian)
mymage Mar 23, 2023
882f836
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
12e89f7
[MIG] stock_reserve: Migration to 16.0
aliciagaarzo Apr 17, 2023
9a91fc1
Translated using Weblate (Italian)
mymage Jun 9, 2023
f0bebce
[FIX] stock_reserve: Set company_id empty from stock_location_reserva…
victoralmau Jun 28, 2023
9f12484
stock_reserve 16.0.1.1.0
OCA-git-bot Jun 29, 2023
9289d5d
Translated using Weblate (Italian)
francesco-ooops Jul 17, 2023
c6540e2
Translated using Weblate (Spanish)
Ivorra78 Jul 27, 2023
bfd624e
[16.0][IMP]stock_reserve: change parent from menu_action_stock_reserv…
Oct 16, 2023
c73ea19
[BOT] post-merge updates
OCA-git-bot Oct 16, 2023
313844a
Translated using Weblate (Italian)
mymage Nov 1, 2023
b178c48
Translated using Weblate (Spanish)
kikopeiro Nov 29, 2023
ed1beaf
Translated using Weblate (Italian)
mymage Nov 30, 2023
22394a0
[FIX] stock_reserve: Change web_ribbon text to title to make it trans…
victoralmau Jan 30, 2024
4671081
[IMP] stock_reserve: pre-commit auto fixes
chrisandrewmann Feb 7, 2024
efc2600
[MIG] stock_reserve: Migration to 17.0
chrisandrewmann Feb 7, 2024
26fd0af
Translated using Weblate (Italian)
mymage Mar 21, 2024
0bddc23
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
3777a27
[IMP] stock_reserve: pre-commit auto fixes
Mar 10, 2025
0026719
[MIG] stock_reserve: Migration to 18.0
Mar 10, 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
102 changes: 102 additions & 0 deletions stock_reserve/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
=================
Stock Reservation
=================

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

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

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

Allows to create stock reservations on products.

Each reservation can have a validity date, once passed, the reservation
is automatically lifted.

The reserved products are substracted from the virtual stock. It means
that if you reserved a quantity of products which bring the virtual
stock below the minimum, the orderpoint will be triggered and new
purchase orders will be generated. It also implies that the max may be
exceeded if the reservations are canceled.

If ownership of stock is active in the stock settings, you can specify
the owner on the reservation.

**Table of contents**

.. contents::
:local:

Usage
=====

To make a stock reservation:

1. Go to *Inventory > Products*.
2. Select or create one product with stock.
3. Click on *Stock Reservations* smart button.
4. Create one reservation.
5. Press the button *Reserve*.

You can release a reservation by clicking on the button *Release*

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

- Review multicompany. Take a look of
[this](https://github.com/OCA/stock-logistics-warehouse/pull/1346) PR

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

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

* Camptocamp

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-reservation <https://github.com/OCA/stock-logistics-reservation/tree/18.0/stock_reserve>`_ 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_reserve/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright 2013 Camptocamp SA - Guewen Baconnier
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import model
22 changes: 22 additions & 0 deletions stock_reserve/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2013 Camptocamp SA - Guewen Baconnier
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Stock Reservation",
"summary": "Stock reservations on products",
"version": "18.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"category": "Warehouse",
"license": "AGPL-3",
"complexity": "normal",
"website": "https://github.com/OCA/stock-logistics-reservation",
"depends": ["stock"],
"data": [
"view/stock_reserve.xml",
"view/product.xml",
"data/stock_data.xml",
"security/ir.model.access.csv",
"data/cron.xml",
],
"auto_install": False,
"installable": True,
}
25 changes: 25 additions & 0 deletions stock_reserve/data/cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record forcecreate="True" id="ir_cron_reserve_waiting_confirmed" model="ir.cron">
<field
name="name"
>Stock reservation: Assign waiting/confirmed reserve moves</field>
<field name="model_id" ref="model_stock_reservation" />
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="state">code</field>
<field name="code">model.assign_waiting_confirmed_reserve_moves()</field>
</record>
<record forcecreate="True" id="ir_cron_release_stock_reservation" model="ir.cron">
<field
name="name"
>Release the stock reservation having a passed validity date</field>
<field name="model_id" ref="model_stock_reservation" />
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="state">code</field>
<field name="code">model.release_validity_exceeded()</field>
</record>
</odoo>
8 changes: 8 additions & 0 deletions stock_reserve/data/stock_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="stock_location_reservation" model="stock.location">
<field name="name">Reservation Stock</field>
<field name="location_id" ref="stock.stock_location_locations" />
<field name="company_id" />
</record>
</odoo>
Loading