diff options
| author | Goffin Simon <sig@odoo.com> | 2018-03-01 14:58:20 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-03-01 18:45:55 +0100 |
| commit | c2e878e34c8e648099db34032e4a06807e80eb4d (patch) | |
| tree | 4ce13274bd1ae694a349299c18d102a65a919afe /addons | |
| parent | 5ad55264e4b6ae53fe2beb59d6adf46f168e93c9 (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock/report/report_deliveryslip.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml index 3d708d88024..60627d9f596 100644 --- a/addons/stock/report/report_deliveryslip.xml +++ b/addons/stock/report/report_deliveryslip.xml @@ -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"/> |
