[FIX] Blog views refering to incorrect old field name page_id changed to post_id

bzr revid: nhomar@gmail.com-20131129081335-b9ktgx7t9b5gyqhn
This commit is contained in:
Nhomar - Vauxoo 2013-11-29 03:43:35 -04:30
parent b6cb210865
commit 2617e3425e
1 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@
<tree string="Document History">
<field name="create_date"/>
<field name="create_uid"/>
<field name="page_id"/>
<field name="post_id"/>
</tree>
</field>
</record>
@ -132,8 +132,8 @@
<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"/>
@ -151,8 +151,8 @@
<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"/>