summaryrefslogtreecommitdiff
path: root/addons/mrp/report/report_stock_forecasted.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mrp/report/report_stock_forecasted.xml')
-rw-r--r--addons/mrp/report/report_stock_forecasted.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/mrp/report/report_stock_forecasted.xml b/addons/mrp/report/report_stock_forecasted.xml
new file mode 100644
index 00000000..fb074afd
--- /dev/null
+++ b/addons/mrp/report/report_stock_forecasted.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <template id="mrp_report_product_product_replenishment" inherit_id="stock.report_product_product_replenishment">
+ <xpath expr="//tr[@name='draft_picking_in']" position="after">
+ <tr t-if="docs['draft_production_qty']['in']" name="draft_mo_in">
+ <td colspan="2">Production of Draft MO</td>
+ <td t-esc="docs['draft_production_qty']['in']" class="text-right"/>
+ <td t-esc="docs['uom']" groups="uom.group_uom"/>
+ </tr>
+ </xpath>
+ <xpath expr="//tr[@name='draft_picking_out']" position="after">
+ <tr t-if="docs['draft_production_qty']['out']" name="draft_mo_out">
+ <td colspan="2">Component of Draft MO</td>
+ <td t-esc="-docs['draft_production_qty']['out']" class="text-right"/>
+ <td t-esc="docs['uom']" groups="uom.group_uom"/>
+ </tr>
+ </xpath>
+ </template>
+</odoo>