Skip to content

Commit

Permalink
[FIX] stock: always show draft outs in forecasted report
Browse files Browse the repository at this point in the history
Fix a small logic bug which made it so draft outs would only show only
if there were also draft ins.

closes odoo#79037

Fixes: odoo#78872
Signed-off-by: Arnold Moyaux <arm@odoo.com>
  • Loading branch information
ticodoo committed Oct 27, 2021
1 parent 475e6b3 commit c764709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/stock/report/report_stock_forecasted.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<td t-esc="docs['uom']" groups="uom.group_uom"/>
</tr>
</thead>
<tbody t-if="docs['qty']['in']">
<tbody t-if="docs['qty']['in'] or docs['qty']['out']">
<tr t-if="docs['draft_picking_qty']['in']" name="draft_picking_in">
<td colspan="2">Incoming Draft Transfer</td>
<td t-esc="docs['draft_picking_qty']['in']" class="text-right" t-options='{"widget": "float", "decimal_precision": "Product Unit of Measure"}'/>
Expand Down

0 comments on commit c764709

Please sign in to comment.