Skip to content

Commit 866143f

Browse files
author
Laurent Stukkens (LTU)
committed
[FIX] sale_project: use correct filter in sale_project
sale_order_id filter was wrongly labelled and added in odoo#71232. This commit hides this filter and adds the one that should have been added. task-2685356 closes odoo#79420 Signed-off-by: Xavier <[email protected]>
1 parent ccead57 commit 866143f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

addons/sale_project/views/project_task_views.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@
9494
<field name="sale_order_id" string="Sale Order" filter_domain="['|', ('sale_order_id', 'ilike', self), ('sale_line_id', 'ilike', self)]"/>
9595
</xpath>
9696
<xpath expr="//search/group/filter[@name='customer']" position="after">
97-
<filter string="Sales Order Item" name="sale_order_id" context="{'group_by': 'sale_order_id'}"/>
97+
<!-- TODO: Remove me in master -->
98+
<filter string="Sales Order" name="sale_order_id" context="{'group_by': 'sale_order_id'}" invisible="1"/>
99+
<filter string="Sales Order Item" name="sale_line_id" context="{'group_by': 'sale_line_id'}"/>
98100
</xpath>
99101
</field>
100102
</record>

0 commit comments

Comments
 (0)