Commit Graph

15 Commits

Author SHA1 Message Date
Dmytro Katyukha
43be843980 stock_reserve: port to 9.0 (#189) 2016-11-11 19:01:01 +01:00
Alexandre Fayolle
6d2aaa6ff6 force recomputation of stock.location hierachy
before running the tests. This fixes the failure experienced when running the
test in --init mode rather than --update mode.
2015-09-15 14:03:38 +02:00
Alexandre Fayolle
078d7416cd update travis config, setup transifex 2015-09-15 13:43:45 +02:00
Leonardo Pistone
67d88d0701 refactor tests, improve failures 2015-03-30 12:31:46 +02:00
Leonardo Pistone
8739885586 fix reservation_count computation
1. Make it float, because quantity is float.
2. Respect unit of measure (instead of adding apples and pears).
3. Do that for both product and template.
4. Test the above.
2015-03-30 12:23:58 +02: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
Alexandre Fayolle
f47528346f add test for expiration of reservations
fix a bug in the code to make the tests green
2014-09-08 17:00:24 +02:00
Alexandre Fayolle
8061ad3ada product_reserve: test orderpoint
test that reservations will trigger orderpoint procurements
2014-09-08 16:40:29 +02:00
Alexandre Fayolle
7e81c6c314 more stock_reserve tests
* check that multiple reservations are handled correctly
* check that various UOM are handled correctly
2014-09-08 15:36:29 +02:00
Alexandre Fayolle
25c434cd4c update test
don't use half the quantity so that the reserved qty is different from
available qty
2014-09-08 15:29:03 +02:00
Yannick Vaucher
1c131d9fab some products' fields moved in stock_accout. removing them to make the test pass as it isn't a dependancy. 2014-09-08 15:11:08 +02:00
Yannick Vaucher
2cec2e50ff replace product_qty by product_uom_qty 2014-09-08 15:11:08 +02:00
Yannick Vaucher
c6d897dadb reactivate module stock_reserve 2014-09-08 15:09:58 +02:00
Alexandre Fayolle
37dd9c5412 mark unported module as uninstallable 2014-07-01 15:09:45 +02:00
Guewen Baconnier
e8d81553a5 [ADD] test for the reservation 2013-09-09 12:08:51 +02:00