Add type on domain of tree to set correct default value
This commit is contained in:
1 parent
a79ffb0df1
commit
1990505ff5
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_account_tree">
|
||||
<field name="name">Analytic Accounts</field>
|
||||
<field name="res_model">analytic_account.account</field>
|
||||
<field name="domain">[('parent', '=', None)]</field>
|
||||
<field name="domain">[('parent', '=', None), ('type', '=', 'root')]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_account_tree_view1">
|
||||
<field name="sequence" eval="10"/>
|
||||
|
||||
Reference in new issue
Block a user