Commit Graph

13 Commits

Author SHA1 Message Date
Carlos Roca
dc28c3e724 [MIG] stock_reserve: Migration to v13.0 2021-07-28 11:21:38 +02:00
Carlos Roca
2059562240 [IMP] stock_reserve: black, isort, prettier 2021-07-23 12:30:42 +02:00
Andrius Preimantas
1fb1cc8896 stock_reserve: migration to 10.0 2021-07-23 12:30:42 +02:00
Miku Laitinen
8f538556e7 Replaced for loop in release() with mapped() 2021-07-23 12:30:42 +02:00
Miku Laitinen
4af4228c0c Multiple reservations can now be released at once. This fixes issue #50. 2021-07-23 12:30:42 +02:00
Leonardo Pistone
2709038623 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.
2021-07-23 12:30:42 +02:00
Leonardo Pistone
9b39f70014 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.
2021-07-23 12:30:42 +02:00
Yannick Vaucher
3532e41935 fix button to open related move 2021-07-23 12:30:42 +02:00
Alexandre Fayolle
4454a39205 update test
don't use half the quantity so that the reserved qty is different from
available qty
2021-07-23 12:30:42 +02:00
Alexandre Fayolle
a7a4759359 fix flake8 warnings 2021-07-23 12:30:42 +02:00
Yannick Vaucher
a7084222e4 reactivate module stock_reserve 2021-07-23 12:30:42 +02:00
Alexandre Fayolle
5ddc776995 mark unported module as uninstallable 2021-07-23 12:30:42 +02:00
Guewen Baconnier
2d640a2f53 [ADD] started a generic stock reservation module (stock_reserve), it will serve as a basis for the sale pre-book 2021-07-23 12:30:42 +02:00