Passed default type while creating document page category from document page

This commit is contained in:
dhr-odoo 2014-07-07 18:08:12 +05:30 committed by Martin Trigaux
parent faa0df809f
commit 0b947b26e1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
<h1><field name="name" placeholder="Name"/></h1> <h1><field name="name" placeholder="Name"/></h1>
<group class="oe_edit_only"> <group class="oe_edit_only">
<group> <group>
<field name="parent_id" on_change="onchange_parent_id(parent_id,content)" string="Category"/> <field name="parent_id" on_change="onchange_parent_id(parent_id,content)" string="Category" context="{'default_type':'category'}"/>
</group> </group>
<group> <group>
<field name="write_uid" groups="base.group_no_one"/> <field name="write_uid" groups="base.group_no_one"/>