[FIX] sale_stock: Customer Reference field in Delivery Slip report
- Confirm a Sale Order with a Customer Reference ('client_order_ref'
field) set;
- Validate the Delivery Order;
- Print the Delivery Slip report;
The display area of the Customer Reference field is not correct on
the printed pdf report
opw-2260756
closes odoo/odoo#51701
X-original-commit: 4f3a9a59394cac425e23b81b3fe811a592c6dae2
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="report_delivery_document_inherit_sale_stock" inherit_id="stock.report_delivery_document">
|
||||
<xpath expr="//h2" position="before">
|
||||
<xpath expr="//div[@name='div_sched_date']" position="after">
|
||||
<div class="row justify-content-end" t-if="o.sudo().sale_id.client_order_ref">
|
||||
<div class="col-4">
|
||||
<div class="col-auto">
|
||||
<strong>Customer Reference:</strong>
|
||||
<p t-field="o.sudo().sale_id.client_order_ref"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user