Commit Graph

184 Commits

Author SHA1 Message Date
Agathe Mollé
9a434c3954 Add units of measure conversion 2015-04-24 15:29:42 -04:00
Agathe Mollé
9eb9a5f90b Rename modules with stock_location instead of partner 2015-04-22 17:02:52 -04:00
Agathe Mollé
242544df1b Add partner_area_data and partner_area_management
This module was written to enter a location's area based on different units of measure
The information is dependant on the different locations entered
2015-04-21 17:10:24 -04:00
Yannick Vaucher
a7272f41ff Merge pull request #44 from lepistone/fix-expected-singleton
fix crash: excepted singleton
2015-04-01 11:14:41 +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
Alexandre Fayolle
d84b940349 Merge pull request #43 from lepistone/fix-reservation-location
fix #42: reserve location should be outside WH
2015-03-30 10:23:58 +02:00
Alexandre Fayolle
fdb9a420b7 don't use travis container-based infrastructure 2015-03-27 16:21:15 +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
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
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