summaryrefslogtreecommitdiff
path: root/addons/mrp/report/report_stock_forecasted.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/mrp/report/report_stock_forecasted.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
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>