[FIX] sale: display discount field

On the customer invoice lines if sale module is installed.
4977bced replaced 4 groups in account and only 3 xpath in sale.

Closes #15493
This commit is contained in:
Miku Laitinen
2017-02-14 16:42:13 +01:00
committed by Martin Trigaux
parent 7a03f9ce93
commit 6d9bf4e5f2
+3
View File
@@ -664,6 +664,9 @@
<xpath expr="//page/field[@name='invoice_line_ids']/tree/field[@name='product_id']" position="after">
<field name="layout_category_id" groups="sale.group_sale_layout"/>
</xpath>
<xpath expr="//field[@name='discount']" position="attributes">
<attribute name="groups">sale.group_discount_per_so_line</attribute>
</xpath>
</data>
</field>
</record>