Commit Graph

33 Commits

Author SHA1 Message Date
Miku Laitinen
05a6b29da0 Replaced for loop in release() with mapped() 2015-07-19 17:26:02 +03:00
Miku Laitinen
05d84e0428 Multiple reservations can now be released at once. This fixes issue #50. 2015-07-11 22:43:42 +03:00
Leonardo Pistone
3411e32f57 refactor: delegate to variants, use self.id 2015-03-30 12:31:05 +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
7a4a650a89 fix crash: excepted singleton 2015-03-30 11:24:21 +02: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
a4e888516a fix domain using list instead of string 2014-09-08 18:45:02 +02:00
Yannick Vaucher
5b9758bf01 fix button to open related move 2014-09-08 18:38:14 +02: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
ea8050059b fix typo in docstring 2014-09-08 16:54:54 +02:00
Alexandre Fayolle
d59372733f fix flake8 warnings 2014-09-08 15:19:59 +02:00
Yannick Vaucher
b664229bb9 fix default_get to ensure product_qty is not set 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
e648a372d9 improve action_view_reservations from product 2014-09-08 15:11:08 +02:00
Yannick Vaucher
d72c566b8d change type to stock.picking.type 2014-09-08 15:11:08 +02:00
Yannick Vaucher
d2f0e22bcc port onchanges 2014-09-08 15:11:08 +02:00
Yannick Vaucher
292fd2aa66 port models and method to api 8.0 2014-09-08 15:11:07 +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
Guewen Baconnier
9442412b8e [IMP] continued the stock_reserve_sale module 2013-09-06 16:47:55 +02:00
Guewen Baconnier
7c7d4a8bcd [FIX] the move should be assigned and not done: items are not physically moved and would appear in an inventory 2013-09-06 10:04:03 +02:00
Guewen Baconnier
551a5caee9 [ADD] started stock_reserve_sale to reserve lines of quotations 2013-09-05 17:35:11 +02:00
Guewen Baconnier
1dabde2236 [CHG] the location_id and location_dest_id are now only default values, onchange not needed as we never change the type. document the fields of a reservation 2013-09-05 16:02:09 +02:00
Guewen Baconnier
4a42f68324 [ADD] link on the form view to display or create the stock reservations 2013-09-05 15:48:29 +02:00
Guewen Baconnier
10f1e01aec [CHG] views refinements 2013-09-05 15:23:45 +02:00
Guewen Baconnier
b6109b27f3 [FIX] open the reservation move in form view 2013-09-05 15:12:48 +02:00
Guewen Baconnier
3f83830efc [ADD] button to open the reservation move 2013-09-05 15:09:14 +02:00
Guewen Baconnier
70455c4d17 [ADD] cron which lift the reservation with an passed validity date 2013-09-05 14:52:02 +02:00
Guewen Baconnier
e255e863ea [IMP] stock_reserve: views, keep the stock reservation after release 2013-09-05 14:07:33 +02:00
Guewen Baconnier
e8a2363ea9 [IMP] stock_reserve: add views, now able to reserve and release a move, added a default 'Reservation Stock' location 2013-09-05 14:07:06 +02:00
Guewen Baconnier
011c9c8ee9 [ADD] started a generic stock reservation module (stock_reserve), it will serve as a basis for the sale pre-book 2013-09-05 14:06:46 +02:00