33f8a21155c34ac097c1fc1f6b519eadfb78c14e
When having a shipper for a DO, if the user creates a backorder, the information won't be sent to him. To reproduce the issue: (Use demo data) 1. Create a sale order SO with 2 products 2. Add Shipping: UPS US 3. Confirm SO 4. In the associated picking, deliver one of the products and create a backorder 5. Process the backorder Error: In the chatter, there is a label for the first picking but there isn't any label for the backorder When confirming the sale order, the backorder is first created and then the initial picking is sent to UPS. As a result, considering the current body of `send_to_shipper`, the field `carrier_tracking_ref` of both the initial picking and the backorder is defined with the same value (i.e., the tracking number of the initial picking) Therefore, when processing the backorder: https://github.com/odoo/odoo/blob/f29da79ef64a8166e54544d1787912be5665076a/addons/delivery/models/stock_picking.py#L126-L129 `carrier_tracking_ref` is already defined, so `send_to_shipper` won't be called OPW-2678549 closes odoo/odoo#81599 X-original-commit: 89f9281b096e24583ff7780a1bb42f0c4b7b477e Related: odoo/enterprise#22980 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Adrien Widart <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%