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

8.0 stock available immediately #4

Open
wants to merge 67 commits into
base: 8.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
9788016
the reservation should reserve a quant
lepistone Nov 26, 2014
d3c0f57
refactor: get rid of move_recs
lepistone Nov 26, 2014
86662aa
Merge pull request #22 from lepistone/reserve-quants
jgrandguillaume Nov 27, 2014
fd3af07
Separated Lint tests
yvaucher Dec 16, 2014
b11b7c3
Remove deprecated travis_run_pep8
yvaucher Dec 16, 2014
747b43d
Merge pull request #29 from yvaucher/8.0-separate-lint
guewen Dec 18, 2014
816ac2e
fix pep8 W503
gurneyalex Feb 16, 2015
a3d0e35
Merge pull request #34 from gurneyalex/8.0-fix_W503
pedrobaeza Feb 16, 2015
9eaca1d
[UPD] move out from unported to 8 for update
gfcapalbo Nov 18, 2014
446bcc7
[UPD] move out from unported to 8.0
gfcapalbo Feb 18, 2015
ebd2a85
Merge branch 'stock_available_immediately2' of github.com:Therp/stock…
gfcapalbo Feb 18, 2015
b91df99
[ADD] removed view
gfcapalbo Feb 18, 2015
f727011
[FLAKE8] plus small fix
gfcapalbo Feb 18, 2015
f803829
[FIX] Stock_reserve change revert
gfcapalbo Feb 25, 2015
820f8d4
Update product.xml
gfcapalbo Feb 25, 2015
3bde295
Update product.xml
gfcapalbo Feb 25, 2015
cb186fe
[ADD] stock_available
Feb 27, 2015
8504307
[IMP] stock_available* uses new API
Feb 27, 2015
13c845f
[ADD] stock_available_mrp
Nov 28, 2014
6cc05a8
[DEL] move stock_available_mrp to __unported__
Feb 27, 2015
bd3c969
[ADD] stock_available_sale
Nov 28, 2014
99575b0
[DEL] move stock_available_sale to __unported__
Feb 27, 2015
5265a9e
[REF] changes suggested by @guewen
Dec 5, 2014
7820f81
[IMP] READMEs and TODOs
Feb 26, 2015
1a2ed69
[REF] Fix W503 vs newest pep8 check
Feb 26, 2015
2270fd8
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
83a85c8
Merge branch '8.0' of https://github.com/OCA/stock-logistics-warehous…
Mar 2, 2015
c7d0f18
[IMP] respect product decimal precision
Mar 2, 2015
e2b9ccb
Merge pull request #1 from numerigraphe/8.0-stock_available_immediately2
gfcapalbo Mar 17, 2015
5e91d6e
fix #42: reserve location should be outside WH
lepistone Mar 17, 2015
0c32fe2
bump and migrate
lepistone Mar 20, 2015
1609f16
find XML id by module, name
lepistone Mar 24, 2015
30ec107
make stock_reserve owner-aware
lepistone Mar 17, 2015
fc34c3b
make stock_reserve_sale owner_aware
lepistone Mar 17, 2015
30848b2
use context when creating the wizard
lepistone Mar 17, 2015
4a4cb62
improve float assertions
lepistone Mar 17, 2015
fdb9a42
don't use travis container-based infrastructure
gurneyalex Mar 27, 2015
d84b940
Merge pull request #43 from lepistone/fix-reservation-location
gurneyalex Mar 30, 2015
7a4a650
fix crash: excepted singleton
lepistone Mar 20, 2015
8739885
fix reservation_count computation
lepistone Mar 30, 2015
3411e32
refactor: delegate to variants, use self.id
lepistone Mar 30, 2015
67d88d0
refactor tests, improve failures
lepistone Mar 30, 2015
a7272f4
Merge pull request #44 from lepistone/fix-expected-singleton
yvaucher Apr 1, 2015
242544d
Add partner_area_data and partner_area_management
Ehtaga Apr 21, 2015
9eb9a5f
Rename modules with stock_location instead of partner
Ehtaga Apr 22, 2015
e54841b
Merge pull request #41 from lepistone/reserve-owner
jgrandguillaume Apr 24, 2015
9a434c3
Add units of measure conversion
Ehtaga Apr 24, 2015
004976c
Update travis configuration
gurneyalex May 14, 2015
48dafb1
Add README.rst and remove description from __openerp__.py
Jun 1, 2015
cfcd5d7
Add README.rst and remove description from __openerp__.py
Jun 1, 2015
e8a3556
Merge pull request #53 from Doscaal/8.0-stock-reserve_readme
pedrobaeza Jun 2, 2015
b63cdbb
Merge pull request #54 from Doscaal/8.0-stock-location-ownership_readme
Jun 2, 2015
c4e2ed6
Add README.rst and remove description from __openerp__.py
Jun 1, 2015
8cf6f9e
Merge pull request #55 from Doscaal/8.0-stock-reserve-sale_readme
yvaucher Jun 2, 2015
5060d2f
Merge pull request #46 from savoirfairelinux/partner_area_management
pedrobaeza Jun 2, 2015
6c16913
[FIX] corrected calculation of immediately_usable_qty on product.prod…
gfcapalbo Mar 18, 2015
a77dca2
Merge Stock available immediately2
gurneyalex Jun 22, 2015
933b860
[ADD] tests
gfcapalbo Jun 22, 2015
baeea35
[Fix] Typo
gfcapalbo Jun 23, 2015
f81568c
[ADD} location calculations
gfcapalbo Jul 2, 2015
4143873
[FIX] typo
gfcapalbo Jul 2, 2015
d6dee6f
[DEL] removed references to product.py, not needed anymore, the quant
gfcapalbo Jul 2, 2015
c74aab4
[DEL] remove old tests, rewriting
gfcapalbo Jul 2, 2015
088f094
[FIX] searching on products, leaving full calculations
Jul 16, 2015
328d8f0
[ADD] tests
Jul 16, 2015
950f353
[FIX] Correct tests and functionality on stock_available.
Aug 20, 2015
2ef8d7c
[FIX] Updated some header lines of python files.
Dec 21, 2015
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
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Config file .travis.yml

addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow

language: python

python:
- "2.7"

env:
- VERSION="8.0" ODOO_REPO="odoo/odoo"
- VERSION="8.0" ODOO_REPO="OCA/OCB"
- VERSION="8.0" LINT_CHECK="1"
- VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"

virtualenv:
system_site_packages: true
Expand All @@ -20,7 +27,6 @@ install:
- git clone https://github.com/OCA/stock-logistics-barcode -b ${VERSION} $HOME/stock-logistics-barcode

script:
- travis_run_flake8
- travis_run_tests

after_success:
Expand Down
2 changes: 1 addition & 1 deletion __unported__/base_product_merge/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{
"name" : "Base Products Merge",
"version" : "1.0",
"author" : "Camptocamp",
"author" : "Camptocamp,Odoo Community Association (OCA)",
"category" : "Generic Modules/Base",
"description":"""
To merge 2 products, select them in the list view and execute the Action "Merge Products".
Expand Down
2 changes: 1 addition & 1 deletion __unported__/configurable_stock_level/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
##############################################################################
{'name' : 'name',
'version' : '0.1',
'author' : 'Camptocamp',
'author' : "Camptocamp,Odoo Community Association (OCA)",
'maintainer': 'Camptocamp',
'category': 'Warehouse',
'complexity': "normal", # easy, normal, expert
Expand Down
142 changes: 0 additions & 142 deletions __unported__/stock_available_immediately/product.py

This file was deleted.

41 changes: 0 additions & 41 deletions __unported__/stock_available_immediately/product_view.xml

This file was deleted.

48 changes: 48 additions & 0 deletions __unported__/stock_available_mrp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Consider the production potential is available to promise
=========================================================

This module takes the potential quantities available for Products in account in
the quantity available to promise, where the "Potential quantity" is the
quantity that can be manufactured with the components immediately at hand.

Known issues
============

The manufacturing delays are not taken into account : this module assumes that
if you have components in stock goods, you can manufacture finished goods
quickly enough.
To avoid overestimating, **only the first level** of Bill of Materials is
considered.

Roadmap
-------

* include all levels of BoM, using `bom_explode`. @gdgellatly gave an example
of how to do it here: https://github.com/OCA/stock-logistics-warehouse/pull/5#issuecomment-66902191
Ideally, we will want to take manufacturing delays into account: we can't
promiss goods to customers if they want them delivered earlier that we can
make them
* add an option (probably as a sub-module) to consider all raw materials as
available if they can be bought from the suppliers in time for the
manufacturing.

Credits
=======

Contributors
------------
* Loïc Bellier (Numérigraphe) <[email protected]>
* Lionel Sausin (Numérigraphe) <[email protected]>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://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 http://odoo-community.org.
21 changes: 21 additions & 0 deletions __unported__/stock_available_mrp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This module is copyright (C) 2014 Numérigraphe SARL. All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import product
35 changes: 35 additions & 0 deletions __unported__/stock_available_mrp/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This module is copyright (C) 2014 Numérigraphe SARL. All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
'name': 'Consider the production potential is available to promise',
'version': '2.0',
"author": u"Numérigraphe,Odoo Community Association (OCA)",
'category': 'Hidden',
'depends': ['stock_available', 'mrp'],
'data': [
'product_view.xml',
],
'test': [
'test/potential_qty.yml',
],
'license': 'AGPL-3',
'installable': False
}
34 changes: 34 additions & 0 deletions __unported__/stock_available_mrp/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * stock_available_mrp
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-07-30 19:29+0000\n"
"PO-Revision-Date: 2014-07-30 19:29+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_available_mrp
#: field:product.product,potential_qty:0
msgid "Potential"
msgstr "Potentiel"

#. module: stock_available_mrp
#: code:_description:0
#: model:ir.model,name:stock_available_mrp.model_product_product
#, python-format
msgid "Product"
msgstr "Article"

#. module: stock_available_mrp
#: help:product.product,potential_qty:0
msgid "Quantity of this Product that could be produced using the materials already at hand, following a single level of the Bills of Materials."
msgstr "Quantité de cet article que l'on pourrait produire en utilisant les produits déjà disponibles, en suivant un seul niveau de nomenclature."

Loading