Skip to content

Commit d9e53b9

Browse files
committed
purchase_req_line_desc: Fix view replacement
1 parent e2eab5c commit d9e53b9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

purchase_requisition_line_description/report/purchase_requisition_report.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
name="Purchase Requisition"
55
inherit_id="purchase_requisition.report_purchaserequisitions"
66
>
7-
<xpath expr="//t[@t-if='o.line_ids']/table//th[1]" position="replace">
7+
<xpath expr="//t[@t-if='o.line_ids']/table//th[1]" position="attributes">
8+
<attribute name="t-if">False</attribute>
9+
</xpath>
10+
<xpath expr="//t[@t-if='o.line_ids']/table//th[1]" position="after">
811
<th><strong>Product</strong></th>
912
<th><strong>Description</strong></th>
1013
</xpath>

0 commit comments

Comments
 (0)