Commit Graph

45 Commits

Author SHA1 Message Date
Joël Grand-Guillaume
e54841b88b Merge pull request #41 from lepistone/reserve-owner
make stock_reserve and stock_reserve_sale owner_aware
2015-04-24 10:44:25 +02:00
Leonardo Pistone
67d88d0701 refactor tests, improve failures 2015-03-30 12:31:46 +02: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
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
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
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
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
Alexandre Fayolle
d59372733f fix flake8 warnings 2014-09-08 15:19:59 +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
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
b4fe3059d9 improve descriptor 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
4e382dd9a9 [IMP] description in __openerp__.py 2013-09-10 08:40:51 +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
6025d1e906 [ADD] security file 2013-09-05 14:56:56 +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