[FIX] sale: hide amount_to_invoice in quotation list view
In the Quotations list view, it is possible to show "amount_to_invoice" field. However, this field is empty for quotations and therefore useless. It should be set as invisible for quotations. An inherited view was already taking care of it, but was using "invisible" attribute instead of "column_invisible" attribute. opw-3722037 closes odoo/odoo#158043 Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
This commit is contained in:
@@ -214,7 +214,7 @@
|
||||
<attribute name="optional">hide</attribute>
|
||||
</field>
|
||||
<field name="amount_to_invoice" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user