[FIX] stock: Delivery Order Issues
When printing the delivery slip of a stock.pick, the message: "All items couldn't be shipped, the remaining ones will be shipped as soon as they become available." must be displayed only if there is still a backorder to process for this picking. opw:1817573
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
</td>
|
||||
<td class="text-right" t-if="move_line.state == 'done'">
|
||||
<t t-if="move_line.ordered_qty != move_line.qty_done">
|
||||
<t t-set="backorder" t-value="True"/>
|
||||
<t t-set="backorder" t-value="o.search([('backorder_id', '=', o.id), ('state', 'not in', ['cancel', 'done'])])"/>
|
||||
</t>
|
||||
<span t-field="move_line.qty_done"/>
|
||||
<span t-field="move_line.product_uom_id"/>
|
||||
|
||||
Reference in New Issue
Block a user