Browse Source

[IMP] update wizard's interface

pull/2/head
Ivan Yelizariev 10 years ago
parent
commit
51a08b4f58
  1. 20
      mail_move_message_views.xml

20
mail_move_message_views.xml

@ -21,22 +21,20 @@
<field name="message_moved_by_user_id"/> <field name="message_moved_by_user_id"/>
<button name="open_moved_by_message_id" string="Open message" type="object" class="oe_highlight"/> <button name="open_moved_by_message_id" string="Open message" type="object" class="oe_highlight"/>
</group> </group>
<group attrs="{'invisible':[('can_move', '=', False)]}">
<field name="parent_id" domain="[('parent_id','=', False)]" context="{'extended_name':1}" />
<field name="move_back" attrs="{'invisible':[('message_moved_by_user_id','=',False)]}"/>
<field name="model_id" class="oe_inline" />
<field name="res_id" class="oe_inline" />
<field name="record_url" class="oe_inline" widget="url"/>
<group attrs="{'invisible':[('can_move', '=', False)]}" col="4">
<field name="move_back" attrs="{'invisible':[('message_moved_by_user_id','=',False)]}" colspan="4"/>
<field name="parent_id" domain="[('parent_id','=', False)]" context="{'extended_name':1}" colspan="4"/>
<field name="model_id" colspan="2" />
<field name="res_id" colspan="2"/>
<field name="record_url" colspan="4" widget="url"/>
</group> </group>
<button name="move" string="Move" type="object" class="oe_highlight" attrs="{'invisible':[('can_move', '=', False)]}"/>
<button string="Cancel" class="" special="cancel" />
<separator string="Message"/> <separator string="Message"/>
<div style="height:200px;overflow-y:auto;">
<div>
<field name="message_id" invisible="1"/> <field name="message_id" invisible="1"/>
<field name="message_body"/> <field name="message_body"/>
</div> </div>
<footer>
<button name="move" string="Move" type="object" class="oe_highlight" attrs="{'invisible':[('can_move', '=', False)]}"/>
<button string="Cancel" class="" special="cancel" />
</footer>
</form> </form>
</field> </field>
</record> </record>

Loading…
Cancel
Save