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

16.0 mig stock reserve sale #1788

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c4c8019
[ADD] started stock_reserve_sale to reserve lines of quotations
guewen Sep 5, 2013
a57767e
mark unported module as uninstallable
gurneyalex Jul 1, 2014
53e04de
reactivate module stock_reserve_sale
yvaucher Sep 10, 2014
052c480
lint
lepistone Sep 25, 2014
4e6edb2
fix pep8 W503
gurneyalex Feb 16, 2015
574e215
make stock_reserve_sale owner_aware
lepistone Mar 17, 2015
8250055
Added the translation template file and Finnish translations to stock…
mlaitinen Apr 23, 2015
3a55b66
Add README.rst and remove description from __openerp__.py
Jun 1, 2015
c85d76e
Multiple reservations can now be released at once. This fixes issue #50.
mlaitinen Apr 25, 2015
e8c2f8f
Add Spanish translation of stock reserve modules
Jul 30, 2015
8fc78f8
force recomputation of stock.location hierachy
gurneyalex Sep 15, 2015
f6da8ba
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
ec895a3
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
7c16b12
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
53dd4ce
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
8b2255e
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
d0d2841
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
5de10de
[IMP] stock_reserve_sale: black, isort, prettier
CarlosRoca13 Jul 26, 2021
ab70510
[MIG] stock_reserve_sale: Migration to v13.0
CarlosRoca13 Jul 27, 2021
e265f3e
[UPD] Update stock_reserve_sale.pot
oca-travis Aug 20, 2021
f1cfed8
[UPD] README.rst
OCA-git-bot Aug 20, 2021
3f99cce
[ADD] icon.png
OCA-git-bot Aug 20, 2021
7ce144b
[FIX+IMP] Update dotfiles + switch to GH actions
pedrobaeza May 28, 2022
45cd741
[IMP] stock_reserve_sale: Show Reserve Stock button in sent orders.
victoralmau Sep 22, 2022
11e6ca0
[IMP] stock_reserve_sale: pre-commit stuff
Jul 10, 2023
668f2c1
git commit -m "[MIG] stock_reserve_sale: Migration to 16.0"
Jul 11, 2023
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
1 change: 1 addition & 0 deletions setup/stock_reserve_sale/odoo/addons/stock_reserve_sale
6 changes: 6 additions & 0 deletions setup/stock_reserve_sale/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
114 changes: 114 additions & 0 deletions stock_reserve_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
===================
Stock Reserve Sales
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_reserve_sale
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_reserve_sale
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/153/13.0
:alt: Try me on Runbot

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

Allows to create stock reservations for quotation lines before the
confirmation of the quotation. The reservations might have a validity
date and in any case they are lifted when the quotation is canceled or
confirmed.

Reservations can be done only on "make to stock" and stockable products.

The reserved products are subtracted 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 you want to prevent sales orders to be confirmed when the stock is
insufficient at the order date, you may want to install the
`sale_exception_nostock` module.

Additionally, if the sale_owner_stock_sourcing module is installed, the owner
specified on the sale order line will be proposed as owner of the reservation.
If you try to make a reservation for an order whose lines have different, you
will get a message suggesting to reserve each line individually. There is no
module dependency: this modules is fully functional even without ownership
management.

**Table of contents**

.. contents::
:local:

Usage
=====

#. Create a new Sale Order
#. Add lines to the Order

Now you can reserve all the lines by clicking on *Reserve Stock* or you can reserve each
one by pressing on the lock icon at the lines.

Once they where reserved, you can release the reserves by clicking at *Cancell all*
button or by clicking the undo icon on the lines.

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 <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_reserve_sale%0Aversion:%2013.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

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

* Leonardo Pistone <leonardo.pistone@camptocamp.com>
* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>

* `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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_reserve_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions stock_reserve_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2013 Camptocamp SA - Guewen Baconnier
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import model
from . import wizard
20 changes: 20 additions & 0 deletions stock_reserve_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2013 Camptocamp SA - Guewen Baconnier
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Stock Reserve Sales",
"version": "16.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"category": "Warehouse",
"license": "AGPL-3",
"complexity": "normal",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"depends": ["sale_stock", "stock_reserve"],
"data": [
"wizard/sale_stock_reserve_view.xml",
"view/sale.xml",
"view/stock_reserve.xml",
"security/ir.model.access.csv",
],
"installable": True,
"auto_install": False,
}
Loading