Cédric Krier
1d6e99e7b7
Fix usage of context company
...
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.
issue3394
review1119002
2013-10-09 18:25:53 +02:00
Cédric Krier
7d7eb60f75
Fix typo search -> browse in reports
2013-09-22 18:16:40 +02:00
Nicolas Évrard
20cb5a0791
Replace reference copying by relate
...
review932002
2013-09-19 17:34:23 +02:00
Cédric Krier
4f833ee812
Migration to python-sql
...
review1001002
2013-09-06 22:34:48 +02:00
Cédric Krier
947a0f6e9d
Add shipment on Move form view
...
issue2399
review888002
2013-05-27 18:15:02 +02:00
Cédric Krier
4c5c56e618
Internal Shipment should be only between storage locations
...
review790003
2013-04-18 23:31:18 +02:00
Cédric Krier
0a66652db2
Sync planned date of supplier shipment only for later
...
When creating a supplier shipment in draft, we should not change the planned
date for an earlier because it is too optimistic if the shipment is not
directly received.
review797002
2013-04-17 17:28:43 +02:00
Cédric Krier
c7326c55fb
Use reference fields
...
Merge all shipment Many2One into shipment Reference
Add origin Reference on Stock Move
issue2642
review717002
2013-03-23 15:42:36 +01:00
Cédric Krier
a30e10bcec
Use instance in shipments
...
review708002
2013-03-12 10:35:12 +01:00
Albert Cervera i Areny
e1540c219a
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:56:01 +01:00
Cédric Krier
a81cd74495
Fix flake8
2013-02-24 16:18:17 +01:00
Albert Cervera i Areny
37b61a3e90
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
75bbef0077
Use Workflow for Stock Move
...
review600002
2012-12-27 21:53:07 +01:00
Cédric Krier
cc11e68148
Fix typo in previous changeset
2012-11-30 13:49:26 +01:00
Cédric Krier
e855fcc07b
Minimize write calls
...
review590008
2012-11-28 22:35:33 +01:00
Cédric Krier
c5f83d3810
Active Record
2012-09-24 22:18:17 +02:00
Cédric Krier
6c67edad4f
Merge all kind of buttons
...
review483002
2012-09-10 15:28:38 +02:00
Cédric Krier
0773bba147
Improve creation of inventory moves to write only once on shipment
...
review457002
2012-08-16 15:59:44 +02:00
Cédric Krier
e5a610ff4b
Add missing transition from cancel to draft for internal shipment
...
issue2675
review417001
2012-07-10 13:12:14 +02:00
Cédric Krier
d142d6e95d
Add missing transitions and fix writing state of move
2012-04-16 12:01:03 +02:00
Cédric Krier
728761a91d
Don't use write in migration to add company
...
write could generate error if some _constraint need some new field not yet
created.
issue2429
2012-04-15 00:08:15 +02:00
Cédric Krier
bd7f66d7db
Fix pep8 and pyflakes
2012-04-03 20:07:43 +02:00
Cédric Krier
47b51e197b
Allow only deleting cancelled workflowed models
...
review317001
2012-04-03 12:17:23 +02:00
Cédric Krier
3e0366f2b2
Allow cancel of shipment in every states except done
...
review316003
2012-04-02 11:39:56 +02:00
Cédric Krier
532dff8507
Remove button_draft entry from _rpc
2012-03-30 16:07:25 +02:00
Cédric Krier
12507642c0
Fix cancel of shipments
...
Don't set to cancel move that are in state done
issue2507
review311002
2012-03-30 14:32:46 +02:00
Nicolas Évrard
8c3b7af12b
Use warehouse_input in ShipmentOutReturn
...
review312002
2012-03-29 12:15:36 +02:00
Cédric Krier
3dda1e5ab0
Fix moves states for customer shipment
...
- outgoing moves should be editable in assigned
- inventory moves should be readonly in cancel
review310003
2012-03-28 18:00:35 +02:00
Cédric Krier
791735b65d
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:44:04 +02:00
Cédric Krier
26f9a7660e
Use domain for shipment moves instead of context
...
issue2255
review293001
2012-03-25 18:24:34 +02:00
Cédric Krier
622375010e
Simplify workflow engine
...
review256001
2012-03-25 00:18:19 +01:00
Mathias Behrle
6cbeee4fa3
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:08 +01:00
Sharoon Thomas
843643668e
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
2012-03-02 10:46:08 -05:00
Cédric Krier
82458c020e
New wizard design
2012-01-02 18:07:56 +01:00
Cédric Krier
80b33f272c
Update planned date only on draft move
...
issue2263
review172001
2011-11-14 17:56:34 +01:00
Nicolas Évrard
f6b35baa82
fix pyflake errors
...
review164008
2011-11-02 16:13:35 +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