[IMP] imrove event view and string for survey

bzr revid: rma@tinyerp.com-20140331071516-oy29mgwrqv3va1dq
This commit is contained in:
Randhir Mayatra rma-openerp
2014-03-31 12:45:16 +05:30
parent fdceb21f0e
commit 233b1a6eb8
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -65,6 +65,10 @@
<field name="state" widget="statusbar" statusbar_visible="draft,confirm,done"/>
</header>
<sheet>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<div class="oe_right oe_button_box" groups="base.group_user">
<button name="%(event.act_event_list_register_event)d"
type="action"
@@ -74,10 +78,6 @@
<field name="count_regitrations" widget="statinfo" string="Registrations"/>
</button>
</div>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<group name="main_field_group">
<group>
<field name="address_id" context="{'show_address': 1}" options='{"always_reload": True}'/>
+1 -1
View File
@@ -31,7 +31,7 @@
<button class="oe_inline oe_stat_button" name="test_survey" states="open,draft,close,cancel"
string="Test Survey" type="object" icon="fa-file-o" context="{'survey_id': active_id}"
attrs="{'invisible':[('id','=',0)]}"/>
<button class="oe_inline oe_stat_button" name="fill_survey" states="open" string="Answer Survey"
<button class="oe_inline oe_stat_button" name="fill_survey" states="open" string="Reply Survey"
type="object" icon="fa-star-half-o" context="{'survey_id': active_id}"
attrs="{'invisible':[('state','!=','open')]}"/>
<button class="oe_inline oe_stat_button" name="action_print_survey" states="open,draft,close,cancel"