In the process of Odoo warehouse allocation, sometimes you will encounter the wrong content:
The roundings of your Unit of Measures on the Move vs. On the product, do these operations or your is not transferring the picking at once.
The hint of this error is inexplicable, it looks as if the unit of a product set the wrong cause, but after some analysis, only found inside Shia. (Here I can not help but still have to spit a little bit.) Chinese translation team, what ' the round operation on the unit of measurement, the product X does not allow these operations or you do not immediately transfer these sorting ', the original English-language hints are vague enough, translation more people let people crash.
The parsing location of the code in the Action_done method of the stock.py file, in short, is that each move operation will have a hidden operation corresponding to it, and these operation contain products, quantities, Units are the ones that really need to be moved (a few transfer buttons of the pop-up window interface). Each operation will have one or more linked_move_operations_ids, which is the number of Move lists reserved for operation. The reason for this error is that for some reason the number of move_lines in picking is 0, and the number in operation is not synchronized to 0, resulting in operation move IDs more than Move_ Move IDs in the lines.
Find the reason, the solution is much simpler, find move_lines and operation in inconsistent with the operation, deleted on the OK.
According to reason, this should be regarded as a bug of Odoo, think the number of manual update lines, corresponding operation should be updated in time.
Odoo Warehouse Transfer the unit does not allow errors in the process of analysis and solutions