Commit Graph
115 Commits
Author SHA1 Message Date
Cédric Krier 6a655d5a58 Limit move locations 'child_of' constraints to specific shipment states
In order to allow to move locations, the constraint must be limited to states
where the move can be still be modified.

issue6577
review35081002
2017-07-26 23:57:39 +02:00
Cédric Krier 265b8952ee Add missing button decorator to ShipmentInternal.ship
issue6582
review42441002
2017-06-27 12:36:18 +02:00
Cédric Krier fbdfb3ff39 Assign only move that requires assignation
issue6436
review32241002
2017-06-24 10:34:21 +02:00
Cédric Krier 2cab496862 Fix typo in ShipmentIn number label
issue6437
review30251002
2017-04-14 11:27:30 +02:00
Cédric Krier bcb3833f32 Remove Property fields
issue2349
review38271002
2017-04-01 00:38:23 +02:00
Cédric Krier 4393bf0e0a Add employee on shipments for some states
issue6183
review26031002
2017-02-01 21:41:00 +01:00
Cédric Krier ebc381300b Do not copy number on shipments
issue6203
review33001002
2017-01-25 23:41:54 +01:00
Cédric Krier 16792a3a12 Add request state on internal shipment
And refactor set_transit to allow to use it outside the waiting state.

issue6123
review30901002
2017-01-15 00:17:40 +01:00
Cédric Krier 1da91db6f9 Remove unused global variable 2017-01-14 00:13:46 +01:00
Cédric Krier 8280320f8f Manage same picking/storage and output location
Some organisation does wave picking so they do not need another assignation
step for the customer shipments.

issue6155
review27011003
2017-01-13 20:09:19 +01:00
Cédric Krier 09b756f0b0 Make outgoing moves readonly on packed and inventory on asssigned
We should forbid to create new moves on those states because they will make the
state inconsistent.

issue6156
review32931002
2017-01-13 20:06:42 +01:00
Luciano Rossi (lukio) 7dadf4415d Remove custom method 'product_name' from delivery note
issue5223
review31591002
2016-10-21 15:29:57 +02:00
Cédric Krier 1adc0fe9ad Use address_with_party for reports
issue2327
review31451002
2016-09-06 09:25:36 +02:00
Cédric Krier b7239a755f Prevent change warehouse if there are any inventory moves on all shipments
The inventory moves depends on the warehouse so changing the warehouse hide
existing inventory moves from the other warehouse.

issue5800
review26621002
2016-09-06 09:05:10 +02:00
Cédric Krier c7a4814d7b Round written quantity in ShipmentOut._sync_inventory_to_outgoing
Even with only subtraction, the result quantity may have rounding issue.

issue5754
review28591002
2016-08-01 21:01:12 +02:00
Sergi Almacellas Abellana ed4a54c644 Replace readonly groups by ir.model.button
issue5068
review28481002
2016-07-18 14:02:41 +02:00
Cédric Krier a6225e3fc6 Add lead time and transit location for internal shipments between warehouses
issue5587
review25331002
2016-06-21 10:36:30 +02:00
Cédric Krier 80aadf28ed Allow child location in Supplier Shipment Return moves
issue5623
review25181002
2016-06-14 16:17:48 +02:00
Cédric Krier e9fc141b35 Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:34:04 +02:00
Sergi Almacellas Abellana 0f70730417 Add supplier and delivery address on supplier shipment return
issue4035
review9461003
2016-03-17 15:22:51 +01:00
Nicolas Évrard 94b0ab55e6 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:39 +01:00
Cédric Krier 2e04a068ee Add Python3 support
issue3211
2016-02-26 00:04:09 +01:00
Guillem Barba e2f5b9f05f Optimize ShipmentOut._set_move_planned_date to call once Move.write
issue5156
review24631002
2015-12-13 15:13:10 +01:00
Nicolas Évrard 80af354330 Do not set to draft staging moves
issue5048
review23551002
2015-10-21 16:48:02 +02:00
Cédric Krier 8507f1660f Allow to use view location on staging and draft moves
issue4912
review24321002
2015-09-22 23:00:48 +02:00
Cédric Krier f6b10b766e Add picking location on warehouse
issue4911
review24281002
2015-09-14 10:17:04 +02:00
Guillem Barba 5ad1b76d16 Allow to change the destination of internal shipment's moves
issue4828
review18361002
2015-07-28 08:14:03 +02:00
Cédric Krier a2da70ea13 Use new PYSON syntax
issue2205
review16391002
2015-06-28 23:45:31 +02:00
Guillem Barba 1aee8ad936 Allow to modify internal shipment moves in waiting state
issue4827
review20301003
2015-06-27 23:25:25 +02:00
Cédric Krier aa65bf9f3f Don't create move with quantity of zero
when synchronise outgoing moves with inventory moves

issue4632
review13081002
2015-03-13 10:29:08 +01:00
David Harper 1375ef074e change Ok to OK
issue4290
review14081002
2015-03-10 18:37:44 +01:00
Cédric Krier fd92d8841c Synchronise outgoing move with inventory on assignation
We must try to create new moves as soon as possible to allow the check origin
warning to work correctly with committed id.

issue4082
review5971002
2015-02-14 18:42:49 +01:00
Nicolas Évrard 432de41ee2 Report API refactorization
review8831002
2015-01-20 18:49:56 +01:00
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