On 13 Jun 05:38, Paul Leverett wrote: > On Friday, June 13, 2014 12:06:03 PM UTC+1, Cédric Krier wrote: > > > > I guess you don't have the product in «Storage Zone» so when you try to > > assign Tryton search for product in the children location and find some > > in your «Cupboard 1B» location which then generate a move with the same > > from/to. To fix, the issue you should specify the right children > > location as «from». > > > > Thanks Cédric, I understand what you are saying but I don't think it > explains my current situation. > > A bit more detail: > I have produced 9 items in Production and they have "Done" Moves from > Production to Storage Zone. > 6 of these items will be consumed by other Productions in future and have > Draft Moves existing to reflect this. > I have successfully moved one item from Storage Zone to Cupboard 1B via > Internal Shipment (so I now have 1 item in Cupboard 1B and 8 items in > Storage Zone). > > When now try to ship one more from Storage Zone to Cupboard 1B I get the > error message and it will not create the move.
Ok, I think I find the problem. The assignation method when used with children, look for products in al children (included the parent) ordered by the default order of location. So if one children location comes first, they will be picked from there first. > I think maybe this is a bug? Is there any way I can specify "top level" of > Storage Zone (not including children Locations)? Not for now but there is a parameter for the assign_try method «with_childs» that could be used if we add a flag on internal shipment. I think it should be the solution, you could report an feature-request on the bugtracker. > Also, why does Production output create a Move only to Storage Zone and not > to "Default Location" defined in the Product? Because «default location» is part of a module which doesn't depend on «production» module and which is older than the production. So for now nobody has thinking about extending it to include the production. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpITuhoCwt02.pgp
Description: PGP signature
