[FIX] account: fix account type of other income and asset filter

Account type of other income should be of type 'income' and not 'other'
Filter 'Assets' in chart of accounts view is not working correctly due to typo in the filter.
This commit is contained in:
Cedric Snauwaert
2018-09-28 13:34:37 +02:00
parent 060e312a4f
commit bc9e1f7ed0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
<record model="account.account.type" id="data_account_type_other_income">
<field name="name">Other Income</field>
<field name="type">other</field>
<field name="internal_group">asset</field>
<field name="internal_group">income</field>
</record>
<record model="account.account.type" id="data_account_type_revenue">
<field name="name">Income</field>
+1 -1
View File
@@ -139,7 +139,7 @@
<filter string="Receivable Accounts" name="receivableacc" domain="[('internal_type','=','receivable')]"/>
<filter string="Payable Accounts" name="payableacc" domain="[('internal_type','=','payable')]"/>
<filter string="Equity" name="equityacc" domain="[('internal_group','=', 'equity')]"/>
<filter string="Assets" name="assetsacc" domain="[('internal_group','=', 'assets')]"/>
<filter string="Assets" name="assetsacc" domain="[('internal_group','=', 'asset')]"/>
<filter string="Liability" name="liabilityacc" domain="[('internal_group','=', 'liability')]"/>
<filter string="Income" name="incomeacc" domain="[('internal_group','=', 'income')]"/>
<filter string="Expenses" name="expensesacc" domain="[('internal_group','=', 'expense')]"/>