summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-04-13 13:10:20 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-04-13 13:10:20 +0700
commiteba12015d465f1a0ed5f4806460352707f2961f7 (patch)
treea45678e41bc9de106c41291e99f9a68087a24e43
parentfe8f1c997224aa2c6cdd01e14562668d7cbffaf5 (diff)
custom report picking list
-rwxr-xr-xindoteknik_custom/__manifest__.py3
-rw-r--r--indoteknik_custom/report/report_picking.xml14
2 files changed, 16 insertions, 1 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index 6e67afe1..e2c6eedd 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -74,7 +74,8 @@
'report/report_banner_banner.xml',
'report/report_banner_banner2.xml',
'report/purchase_order.xml',
- 'report/report_invoice.xml'
+ 'report/report_invoice.xml',
+ 'report/report_picking.xml'
],
'demo': [],
'css': [],
diff --git a/indoteknik_custom/report/report_picking.xml b/indoteknik_custom/report/report_picking.xml
new file mode 100644
index 00000000..86cad03f
--- /dev/null
+++ b/indoteknik_custom/report/report_picking.xml
@@ -0,0 +1,14 @@
+<odoo>
+ <template id="report_picking_inherit" inherit_id="stock.report_picking">
+ <xpath expr="t/t/t/div/table/thead/tr/th[@name='th_from']" position="before">
+ <th name="th_from" align="left">
+ <strong>OnHand</strong>
+ </th>
+ </xpath>
+ <xpath expr="t/t/t/div/table/tbody/t/t/tr/td[2]" position="after">
+ <td>
+ <span t-field="ml.product_id.qty_available"/>
+ </td>
+ </xpath>
+ </template>
+</odoo>