290e66de1dd431836909236aec5ec4d813884dc4
Steps: 1- Duplicate inventory operation - Delivery Order 2- Process new order with duplicate 3- Add products and try to save Issue: Traceback Cause: The ORM tries to insert a new record of stock.picking but triggers a constraint on unique(name, company_id). When creating a new transfer the name is computed from the sequence of the stock.picking.type but here when we duplicate a stock.picking.type it creates a new sequence which starts with id 1, if the there is already a transfer with uses it the constraints will be triggered. We just have to make the stock.picking.type which are duplicated use the same sequence Solution: Enable the copy of the sequence_id so that two ``stock.picking`` from duplicated operation types will never collide on their name. opw-3331835 closes odoo/odoo#124666 X-original-commit: 52219871e8d8357044763375f6f5318622e9894e Signed-off-by: Adrien Widart (awt) <awt@odoo.com>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%