Commit Graph

297 Commits

Author SHA1 Message Date
Leonardo Pistone
30848b25ab use context when creating the wizard
Because the context is used in the default methods now.
2015-03-24 17:22:29 +01:00
Leonardo Pistone
fc34c3b24f make stock_reserve_sale owner_aware 2015-03-24 17:22:29 +01:00
Leonardo Pistone
30ec1073c0 make stock_reserve owner-aware 2015-03-24 17:22:27 +01:00
Leonardo Pistone
1609f164a9 find XML id by module, name 2015-03-24 17:03:44 +01:00
Leonardo Pistone
0c32fe267b bump and migrate 2015-03-20 12:01:27 +01:00
Leonardo Pistone
5e91d6e18e fix #42: reserve location should be outside WH
This has always been wrong on v8, but because of the very obscure
odoo/odoo#5797, this seemed to work every time we had single-step
reception.

Please note that this block of XML is noupdate, so for existing
installations you need to change the parent of the reservation location
to something outside your warehouses manually.

Incidentally, this makes the branch green independently of odoo/odoo#5797.
2015-03-17 17:42:58 +01:00
Giovanni Capalbo (Therp)
e2b9ccbf1e Merge pull request #1 from numerigraphe/8.0-stock_available_immediately2
Thank you @clonedagain  for your help.
2015-03-17 15:12:49 +01:00
Lionel Sausin
c7d0f18fcf [IMP] respect product decimal precision
https://github.com/odoo/odoo/issues/5512 and b3e5a940e3 makes it clear the standard intends to support decimal precision on the product form.
2015-03-02 18:05:16 +01:00
Lionel Sausin
83a85c8ed9 Merge branch '8.0' of https://github.com/OCA/stock-logistics-warehouse into 8.0-stock_available_immediately2
Conflicts:
	stock_available_immediately/__openerp__.py
2015-03-02 17:43:37 +01:00
Alexandre Fayolle
2270fd8816 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:28:35 +01:00
Lionel Sausin (Numérigraphe)
1a2ed69ab1 [REF] Fix W503 vs newest pep8 check
Cherry-picked from v7 at 853f5d4056

Conflicts:
	stock_available/product.py
2015-03-02 17:27:55 +01:00
Lionel Sausin (Numérigraphe)
7820f81a62 [IMP] READMEs and TODOs
Cherry-picked from v7 at 8add4bea7e

Conflicts:
	__unported__/stock_available_mrp/__openerp__.py
	stock_available/__openerp__.py
	stock_available_immediately/__openerp__.py
2015-03-02 17:27:55 +01:00
Lionel Sausin (Numérigraphe)
5265a9eeb2 [REF] changes suggested by @guewen
Set a keyword argument on the context to better respect the convention.
Allow the context to contain iterable types supported by the ORM.

Cherry-picked from v7 at 9ab7f78a7f

Conflicts:
	stock_available/product.py
	stock_available_immediately/product.py
2015-03-02 17:27:55 +01:00
Lionel Sausin
99575b0661 [DEL] move stock_available_sale to __unported__ 2015-03-02 17:27:55 +01:00
Lionel Sausin (Numérigraphe)
bd3c969bfc [ADD] stock_available_sale
Take sale quotations into account in the stock quantity available to promise
Cherry-picked from 497068f5f5

Conflicts:
	stock_available/res_config.py
2015-03-02 17:27:55 +01:00
Lionel Sausin
6cc05a8215 [DEL] move stock_available_mrp to __unported__ 2015-03-02 17:27:55 +01:00
Lionel Sausin (Numérigraphe)
13c845fae7 [ADD] stock_available_mrp
Module to take immediate manufaturing capability into account in the stock quantity available to promise.

Conflicts:
	stock_available/res_config.py
2015-03-02 17:27:55 +01:00
Lionel Sausin
8504307c7b [IMP] stock_available* uses new API 2015-03-02 17:27:55 +01:00
Lionel Sausin (Numérigraphe)
cb186fe179 [ADD] stock_available
Generic module to compute the stock quantity available to promise using several implementations.
stock_available_immediatly is changed to become the first optional implementation.
Cherry pick of commit 0b060f619f from the v7 branch
2015-03-02 17:27:55 +01:00
Giovanni Capalbo (Therp)
3bde29529d Update product.xml 2015-02-25 11:41:30 +01:00
Giovanni Capalbo (Therp)
820f8d4c0b Update product.xml 2015-02-25 11:35:18 +01:00
gfcapalbo
f8038294da [FIX] Stock_reserve change revert 2015-02-25 10:31:23 +01:00
gfcapalbo
f727011275 [FLAKE8] plus small fix 2015-02-18 16:29:31 +01:00
gfcapalbo
b91df99165 [ADD] removed view 2015-02-18 14:13:31 +01:00
gfcapalbo
ebd2a8549c Merge branch 'stock_available_immediately2' of github.com:Therp/stock-logistics-warehouse into stock_available_immediately2
Conflicts:
	stock_available_immediately/product.py
2015-02-18 14:06:38 +01:00
gfcapalbo
446bcc7e43 [UPD] move out from unported to 8.0
[UPG] Upgraded to version 8, fixed references to new 8.0  views and  moved fields that were in  product.product to product.template
[RFR] Removing useless code and renaming
2015-02-18 11:31:46 +01:00
gfcapalbo
9eaca1db83 [UPD] move out from unported to 8 for update
[UPG] Upgraded to version 8, fixed references to new 8.0  views and  moved fields that were in  product.product to product.template

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPG] stock available immediately, corrected the calculation method of
immediately_usable_qty to take in accountthe sign change in outgoing_qty
(from negative to positive) in version 8.

[FLAKE8]

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[UPD] move out from unported to 8 for update

[fix] remove duplicate view and correct view name

[UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.

[FIX] renaming of a class, comment removing, useless code.
2015-02-18 10:29:22 +01:00
Pedro M. Baeza
a3d0e35269 Merge pull request #34 from gurneyalex/8.0-fix_W503
fix pep8 W503
2015-02-16 11:22:33 +01:00
Alexandre Fayolle
816ac2ebfe fix pep8 W503 2015-02-16 10:38:27 +01:00
Guewen Baconnier
747b43d901 Merge pull request #29 from yvaucher/8.0-separate-lint
Separated Lint tests
2014-12-18 07:29:50 +01:00
Yannick Vaucher
b11b7c3a62 Remove deprecated travis_run_pep8 2014-12-16 16:02:40 +01:00
Yannick Vaucher
fd3af07ba7 Separated Lint tests 2014-12-16 11:19:08 +01:00
Joël Grand-Guillaume
86662aa188 Merge pull request #22 from lepistone/reserve-quants
fix: stock reserve should reserve quants
2014-11-27 10:10:55 +01:00
Leonardo Pistone
d3c0f57a5d refactor: get rid of move_recs 2014-11-26 15:45:03 +01:00
Leonardo Pistone
978801685e the reservation should reserve a quant
For weird reasons, force-assigning a move does not associate quants.
action_assign'ing the picking does, and is the same procedure that you
can do via the interface.
2014-11-26 15:41:04 +01:00
Yannick Vaucher
45b3f9801c Merge pull request #14 from yvaucher/8.0-stock_reserve_sale
8.0 port module stock_reserve_sale
2014-10-03 11:31:45 +02:00
Leonardo Pistone
0fba1c1c75 api.one -> api.multi + ensure_one 2014-09-26 11:07:51 +02:00
Leonardo Pistone
d70d4a5e60 assert -> ensure_one 2014-09-26 10:55:59 +02:00
Leonardo Pistone
736e1bcc8b lint 2014-09-26 10:55:59 +02:00
Yannick Vaucher
57921d44cf fix name formating. str.format is recommended for python 3 not for 2.6. setting base string as unicode didn't solve it 2014-09-26 10:55:59 +02:00
Yannick Vaucher
a7e7c796b2 fix yaml test by writing route_ids using python instead of record 2014-09-26 10:55:59 +02:00
Yannick Vaucher
3471e5013f fix unit of mesure on sale order in tests 2014-09-26 10:55:59 +02:00
Yannick Vaucher
a5f753c29e set test product 12 to MTO 2014-09-26 10:55:59 +02:00
Yannick Vaucher
dba8c0620e remove procure_method from sale.order.lines 2014-09-26 10:55:59 +02:00
Yannick Vaucher
632566ae35 change product_qty to product_uom_qty 2014-09-26 10:55:59 +02:00
Yannick Vaucher
e095f70519 port models and methods to api 8.0 2014-09-26 10:55:59 +02:00
Yannick Vaucher
04f475e699 reactivate module stock_reserve_sale 2014-09-26 10:55:59 +02:00
Leonardo Pistone
974953ee35 Merge pull request #8 from yvaucher/8.0-stock_reserve
8.0 port module stock_reserve
2014-09-11 15:11:57 +02:00
Pedro M. Baeza
93cd33af3e Merge pull request #13 from lepistone/8.0-enable-stock_location_ownership
[MIG] stock_location_ownership
2014-09-11 13:52:07 +02:00
Leonardo Pistone
594dda70cb enable stock_location_ownership again 2014-09-10 17:56:57 +02:00