summaryrefslogtreecommitdiff
path: root/addons/delivery/views/report_shipping.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/delivery/views/report_shipping.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/delivery/views/report_shipping.xml')
-rw-r--r--addons/delivery/views/report_shipping.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/delivery/views/report_shipping.xml b/addons/delivery/views/report_shipping.xml
new file mode 100644
index 00000000..2eb90476
--- /dev/null
+++ b/addons/delivery/views/report_shipping.xml
@@ -0,0 +1,16 @@
+<odoo>
+ <template id="report_shipping2" inherit_id="stock.report_picking">
+ <xpath expr="//div[@name='div_sched_date']" position="after">
+ <div t-if="o.picking_type_id.code == 'outgoing' and o.carrier_id" class="col-auto">
+ <strong>Carrier:</strong>
+ <p t-field="o.carrier_id"/>
+ </div>
+ <div t-if="o.weight" class="col-auto">
+ <strong>Weight:</strong>
+ <br/>
+ <span t-field="o.weight"/>
+ <span t-field="o.weight_uom_name"/>
+ </div>
+ </xpath>
+ </template>
+</odoo>