[FIX] account: show due date

The "Due Date" is invisible in the tree view because in most cases, the
`journal_type` is not in the context. Since it was shown all the time in
v8, we show as well.

opw-674815
This commit is contained in:
Nicolas Martinelli
2016-04-18 10:36:33 +02:00
parent db0def38cc
commit 6bf4dea058
+1 -1
View File
@@ -1099,7 +1099,7 @@
<field name="reconciled"/>
<field name="debit" sum="Total Debit"/>
<field name="credit" sum="Total Credit"/>
<field name="date_maturity" invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund']"/>
<field name="date_maturity"/>
<field name="amount_currency" readonly="True" invisible="not context.get('currency',False)"/>
<field name="currency_id" readonly="True" invisible="not context.get('currency',False)" />
<field name="company_currency_id" invisible="1"/>