Commit Graph
29 Commits
Author SHA1 Message Date
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 0a66c57b78 Update planned date only on draft move
issue2263
review172001
(transplanted from ed7222c4626deb3dcf5a3b2b807fa3aa35188760)
2011-11-14 17:56:34 +01:00
Cédric Krier 068feaa080 Fix migration that adds company to Shipments 2011-10-07 13:42:23 +02:00
Nicolas Évrard 34128ae360 Add company to Shipments
codereview74004
issue2078
2011-10-04 18:17:41 +02:00
Cédric Krier 9703a67226 Ensure coherence between planned date of shipments and moves
review121001
2011-09-29 12:03:58 +02:00
Nicolas Évrard fb5ad2fa18 Use function name in workflow instead of python code 2011-08-11 16:34:36 +02:00
Cédric Krier 183a3e7bbf Add test for depends 2011-08-04 16:57:42 +02:00
Cédric Krier 1550f7e394 uid and gid has been renamed into user and group 2011-07-26 12:53:11 +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 8eeb3c949f Change Pool into a Singleton 2011-07-03 13:19:14 +02:00
Cédric Krier 6ac812935e Fix 80 cols 2011-05-10 15:22:19 +02:00
Cédric Krier 0be5560468 Remove unused code 2011-05-10 15:20:33 +02:00
Cédric Krier 5872d1395d Missing currency and unit_price when creating inventory move on outgoing shipment 2011-05-10 15:19:22 +02:00
Cédric Krier 4673fa8438 Fix typo from Transaction migration for issue1744 thx to paul 2010-10-28 20:10:58 +02:00
Cédric Krier 2f1eb277ac Remove hard coded lock in assign_try of stock.shipment.in.return for issue1643 2010-08-21 12:28:49 +02:00
Cédric Krier cd62ea725f Update for new Transaction 2010-08-19 22:22:44 +02:00
Cédric Krier 027d5ad213 Add missing error message for issue1526 2010-04-18 19:36:42 +02:00
Cédric Krier 79af1dc9b4 Remove ids from on_change* calls 2010-03-18 18:15:51 +01:00
Cédric Krier 6c2908774a New interface for Function/Property fields 2010-03-11 16:54:32 +01:00
Bertrand Chenal 8c3c244c74 Use model singleton to define shipment sequences 2010-02-03 11:49:57 +01:00
Cédric Krier b0ffad195c Add default search value on inventory, move and shipments 2010-01-23 11:47:04 +01:00
Ian Wilson 0b1199e926 Hide force assign button from unauthorized for issue1377 2010-01-22 04:55:08 -08:00
Cédric Krier 8a26b11dd9 Use get_id of ir.model.data 2010-01-21 12:10:01 +01:00
Cédric Krier bfab410ce8 Use PySON 2010-01-20 11:04:28 +01:00
Cédric Krier 67c254956f Fix add action in set_*_moves functions for issue1379
The add value can be a list of ids or an id
2010-01-18 23:15:50 +01:00
Cédric Krier 9534006ce1 Set planned date on inventory moves of shipments for issue1259 2009-10-28 09:15:20 +01:00
Cédric Krier b8ab0d536e Fix CompanyReport import 2009-10-02 15:12:04 +02:00
Bertrand Chenal 11b58cb083 Use module_name in migration queries 2009-09-17 11:42:13 +02:00
Bertrand Chenal d4db6f5862 Migrate packing* objects and tables to shipment* 2009-09-16 14:51:54 +02:00