Sharoon Thomas
4c26686ad8
Fix corruption of outgoing_moves in packed state of stock.shipment.out
...
The `move_obj.write` changes the value of `quantity` in the move, but the
removed_qty computation used `move.quantity` from the browse record. The
browse record gets the updated value and not the old value from
browse_record cache. This fix just moves the computation before the
move_obj.write and includes a scenario to confirm the behavior.
issue2426
review254001
(transplanted from eedeb7ba47b1363919364b40a07862ccf012db97)
2012-03-02 10:46:08 -05:00
Cédric Krier
51396d172f
Re-add rounding of quantities in products_by_location
...
Wrongly removed in changeset da0d4ec97240
issue2380
review222001
(transplanted from 07b42999efdbc394489424c58a1655637247a3a1)
2012-01-27 20:17:26 +01:00
Cédric Krier
9d32c76781
Fix Transaction.start to use keyword argument for context
...
(transplanted from 7f11df2d8906ac027c272b60fbb2a6ceee5f619f)
2011-11-28 14:46:29 +01:00
Cédric Krier
183a3e7bbf
Add test for depends
2011-08-04 16:57:42 +02:00
Cédric Krier
c4fc2a95ba
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:18:06 +02:00
Cédric Krier
c5a6a162f0
Add missing with_statement from __future__
2011-04-10 13:19:28 +02:00
Cédric Krier
82534cf54e
Improve stock quantity computation with internal_quantity and periods
2011-04-09 12:39:31 +02:00
Cédric Krier
b6aabc9321
Fix test_view for issue1651
2010-08-27 12:18:27 +02:00
Cédric Krier
d89c35dc10
Add test_suite in setup.py
2010-03-12 17:49:41 +01:00
Cédric Krier
ffa5a898a9
New unittest design
2010-03-04 14:13:04 +01:00
Cédric Krier
cc93deacc9
Guidelines
2009-08-28 16:24:08 +02:00
Cédric Krier
12ce03ded7
Add test views
...
Remove deprecated test by MPTT
2009-06-26 18:21:13 +02:00
Cédric Krier
007efc12ca
Fix unittest for new tests module
2009-01-28 12:37:30 +01:00
Cédric Krier
dd23f8affe
Add tests for big tree
2008-07-10 00:02:09 +02:00