Commit Graph
82 Commits
Author SHA1 Message Date
Cédric Krier bb7b385146 Add 'staging' state to stock move
issue4362
review5811002
2015-01-02 15:40:11 +01:00
Cédric Krier 994bd8a103 Fix most flake8 errors
review8771002
2014-12-02 12:56:04 +01:00
Cédric Krier 35e5a4a7a9 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:54:45 +01:00
Cédric Krier 5b4b6b1558 New API for on_change
issue4203
review8581002
2014-10-29 20:40:25 +01:00
Cédric Krier 9e34108f15 Set planned_date by default to today for Incoming Shipment
issue4221
review12601002
2014-10-21 19:06:34 +02:00
Cédric Krier abc4bd5a96 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:58 +02:00
Sharoon Thomas e52c5723b6 Fix typo in transition state
issue4119
review11431002
2014-08-11 17:12:07 +05:30
Sergi Almacellas Abellana 6de834b6b8 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 19:00:19 +02:00
Cédric Krier 1b654c08ce Internal shipment from_location domain should be child_of
Since there is assignation on internal shipment the from_location could be any
children of main location.

issue3994
review13361002
2014-06-22 16:53:15 +02:00
Sergi Almacellas Abellana c0545376c4 Always succeed assignation from lost and found on internal shipments
review9401003
issue3590
2014-05-28 19:52:58 +02:00
Sergi Almacellas Abellana b5b67b4687 Remove Return Shipment out wizard as it must be managed by the sale wizard
issue3561
review5161002
2014-05-03 11:32:28 +02:00
Cédric Krier 6f20bb8e7e Refactorize synchronisation of moves in outgoing shipment
issue3842
review5011003
2014-04-12 23:45:35 +02:00
Sergi Almacellas Abellana 0fd9f7ebc7 Allow to define the effective date of shipments
issue3579
review2651002
2014-01-30 19:19:49 +01:00
Cédric Krier 634b9ab416 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:37 +01:00
Cédric Krier 0ba33d88a2 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:31 +01:00
Albert Cervera i Areny 4dc7a144e7 Remove dependencies on One2Many fields.
issue3555
review2341002
2013-12-18 01:11:19 +01:00
Cédric Krier 8da51a29d5 Missing test on address before using it
issue3531
review2021002
2013-12-12 13:50:05 +01:00
Sergi Almacellas Abellana debfe38735 re-allow internal shipment from/to lost and found locations
review2181002
issue3544
2013-12-11 17:36:24 +01:00
Cédric Krier 35a8bc1141 Allow partial assignation on Supplier Shipment Return
issue3492
review1681002
2013-11-25 12:27:06 +01:00
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