[IMP] imrove event view and string for survey
bzr revid: rma@tinyerp.com-20140331071516-oy29mgwrqv3va1dq
This commit is contained in:
@@ -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}'/>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user