Discussion:
[tryton] Split moves on shipment in
Maxime Richez
2018-02-06 14:20:04 UTC
Permalink
Hi,

Is there a problem to split moves on shipments in ?

For example, we receive an order of 1000000 items packaged in 10 boxes... we would like to assign a lot number on each received box before internal shipment (we need to prepare lot creation (which is complex) before shipment in).
We saw in stock_split module code, this is not active for shipment in, is there any reason ?

Could we just add this code :

class ShipmentIn(_ShipmentSplit):

__metaclass__ = PoolMeta
__name__ = 'stock.shipment.out'

Thanks !
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/625f1402-a56e-4606-8fb0-4e5811329a85%40googlegroups.com.
Cédric Krier
2018-02-06 14:48:54 UTC
Permalink
Post by Maxime Richez
Hi,
Is there a problem to split moves on shipments in ?
For example, we receive an order of 1000000 items packaged in 10 boxes... we would like to assign a lot number on each received box before internal shipment (we need to prepare lot creation (which is complex) before shipment in).
We saw in stock_split module code, this is not active for shipment in, is there any reason ?
__metaclass__ = PoolMeta
__name__ = 'stock.shipment.out'
This is about splitting the shipments not the move in the shipment. And
we do not consider that user needs to split incoming shipments because
it is the user who fill them.

Normally, the split move button should be available.
--
Cédric Krier - B2CK SPRL
Email/Jabber: ***@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180206144854.GM7321%40kei.
Maxime Richez
2018-02-06 15:21:02 UTC
Permalink
Post by Cédric Krier
This is about splitting the shipments not the move in the shipment. And
we do not consider that user needs to split incoming shipments because
it is the user who fill them.
In our case, the split has to be done before the reception and changing quantity on the shipment create another shipment with the missing quantities when you click on receive. We prefer to split incoming moves while they are in 'draft' state, then giving each line a lot number and when we receive goods we validate the reception.
Post by Cédric Krier
Normally, the split move button should be available.
Indeed, i add the code and it's working. Thanks !
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/c9d36fa2-21f6-4442-abe1-def121384448%40googlegroups.com.
Loading...