<tree string="Document History">
<field name="create_date"/>
<field name="create_uid"/>
<tree string="Document History">
<field name="create_date"/>
<field name="create_uid"/>
- <field name="page_id"/>
+ <field name="post_id"/>
</tree>
</field>
</record>
</tree>
</field>
</record>
<field name="model">blog.post.history</field>
<field name="arch" type="xml">
<form string="Blog Post History" version="7.0">
<field name="model">blog.post.history</field>
<field name="arch" type="xml">
<form string="Blog Post History" version="7.0">
- <label for="page_id" class="oe_edit_only"/>
- <h1><field name="page_id" select="1" /></h1>
+ <label for="post_id" class="oe_edit_only"/>
+ <h1><field name="post_id" select="1" /></h1>
<label for="create_date" class="oe_edit_only"/>
<field name="create_date" readonly="1"/>
<label for="content" class="oe_edit_only"/>
<label for="create_date" class="oe_edit_only"/>
<field name="create_date" readonly="1"/>
<label for="content" class="oe_edit_only"/>
<menuitem id="menu_page_history" parent="menu_wiki" name="Pages history" action="action_history" sequence="30" groups="base.group_no_one"/>
<act_window
id="action_related_page_history"
<menuitem id="menu_page_history" parent="menu_wiki" name="Pages history" action="action_history" sequence="30" groups="base.group_no_one"/>
<act_window
id="action_related_page_history"
- context="{'search_default_page_id': [active_id], 'default_page_id': active_id}"
- domain="[('page_id','=',active_id)]"
+ context="{'search_default_post_id': [active_id], 'default_post_id': active_id}"
+ domain="[('post_id','=',active_id)]"
name="Page History"
res_model="blog.post.history"
src_model="blog.post"/>
name="Page History"
res_model="blog.post.history"
src_model="blog.post"/>