Cédric Krier
1babe42799
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier
46e3596d95
Set correct date on internal shipment moves
...
The outgoing move must have the planned start date and the incoming move must
have the start date.
issue8655
review254291002
2019-09-16 23:58:02 +02:00
Thierry Bruyere
40a403c77b
Add a global method to set default warehouse
...
issue8396
review277371003
2019-09-07 23:13:33 +02:00
Cédric Krier
2429ddadea
Improve moves synchronisation on shipments
...
By using the origin as synchronisation key, the code is simplified but also it
allows to follow when products are changed.
The same design is applied to the internal shipment which allows to synchronise
also the lots.
issue8363
review261811002
2019-08-18 19:22:43 +02:00
Cédric Krier
24238e92fb
Use only incoming or outgoing moves for origins
...
Since issue8253, other moves may have another stock move as origin which is
not interesting as shipment origins.
2019-07-09 15:29:12 +02:00
Cédric Krier
73e16504dc
Allow move as move's origin
...
issue8253
review269251028
2019-07-08 17:18:14 +02:00
Cédric Krier
a75b725636
Unify _get_inventory_move on shipment
...
Define them as instance method to provide more flexibility.
issue8255
review287251002
2019-04-11 18:54:55 +02:00
Cédric Krier
a67d1952a7
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
d5ac1e8337
Fix shipment report when locations are the same or transit location is used
...
The inventory moves is empty when the locations of the shipment are the same.
The other moves field must be used.
When a transit location is used for internal shipment, the moves field to use
depend of the state. If it is already shipped then the incoming moves is used
to know where to store products and if it is not yet shipped than the outgoing
moves is used to pick the products.
issue7881
review50641002
2018-12-17 23:08:09 +01:00
David Harper
93f3022413
Add help text
...
issue6401
review34861002
2018-12-04 12:25:45 +01:00
Cédric Krier
194cf8f97b
Use int and Decimal instead of lambda
...
issue7816
review74401002
2018-10-31 18:17:35 +01:00
Cédric Krier
1ce22ad7c1
Use tryton-back icon for draft transition on waiting shipment
2018-10-26 22:29:18 +02:00
Cédric Krier
f7414a8674
Replace self by cls in classmethod
...
issue7630
review74341002
2018-09-19 00:15:59 +02:00
Cédric Krier
a04143efc6
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Cédric Krier
04690f6a59
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
31f96f8c38
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
973dd92330
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
5061618d5b
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier
42595dcce0
Manage same input and storage location in customer return shipment
...
issue7401
review51261002
2018-05-10 20:19:23 +02:00
Cédric Krier
3ddac8bf77
Replace "Shipment Out" by "Customer Shipment"
...
issue7346
2018-04-14 18:02:56 +02:00
Sergi Almacellas Abellana
70cd9d81c2
Manage same input and storage location
...
In this case there is no need to create inventory moves
issue6892
review42801002
2018-03-24 12:01:58 +01:00
Cédric Krier
d7bc616a43
Always raise exception in table handler
...
issue7175
review40161002
2018-03-15 00:46:59 +01:00
Cédric Krier
a289e86cc9
Assign supplier return shipment using children when location is a view
...
But also allow external customization.
issue7158
review41111002
2018-03-15 00:30:15 +01:00
Sergi Almacellas Abellana
94e9d784fb
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:41:53 +01:00
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