Improve performance: Skip QC creation at Split MO
by CLuedoo https://www.cluedoo.com/shop/lic-clu-set-mrp-0067-improve-performance-skip-qc-creation-at-split-mo-7176$ 150.00
ODOO'S FUNCTION
In Odoo, Quality Checks (QCs) are normally generated upon Manufacturing Order (MO) confirmation. However, a bug occurs when splitting an MO that is still in "Draft" status: Odoo generates QCs for all the newly created child MOs immediately. This unnecessary data generation creates a significant performance bottleneck and slows down the system.
CLUEDOO'S FUNCTION
CLuedoo intercepts the standard MO split function to bypass the premature creation of Quality Checks . By skipping this step during the split, the child MOs remain cleanly in draft status, and QCs are only generated upon MO confirmation. This restores the intended standard Odoo behavior and resolves the performance issue.
CONFIGURATION |
|
|
Go to Quality > Quality Control > Control Points Create a new QCP > Add the product and the operation this QCP applies to.
|
|
USAGE |
|
|
1. Create a
Manufacturing Order
> Fill in the
Product
, the
Quantity
, and make sure the
Operation Type
is the same as the one set up in the QCP.
|
|
|
2. Actions > Split There are 2 Split Options to choose from:
|
|
SPLIT MO IN DRAFT STATUSConfirm the MO if needed > Split > Choose the option and the Split # > Split |
|
|
The child MOs will be automatically created in
draft
status and linked to each other via the
Backorders
smart button.
|
|
|
The QCs of the child MO will only be created after it is confirmed. |
|
SKIP CREATE QCConfirm the MO if needed > Split > Choose the option and the Split # > Split |
|
|
The child MOs will be automatically created in confirmed status, without the QCs. |
|
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Quality (quality_control) • Inventory (stock) • Discuss (mail) |
| Lines of code | 116 |
| Technical Name |
cds_mrp_split |
| License | OPL-1 |
| Website | https://www.cluedoo.com/shop/lic-clu-set-mrp-0067-improve-performance-skip-qc-creation-at-split-mo-7176 |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module