Odoo Warehouse Transfer the unit does not allow errors in the process of analysis and solutions

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.