2013-02-04 13:47:31 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<menuitem id="live_support" name="Live Support" parent="mail.mail_feeds_main" groups="group_live_support"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_support_channels">
|
|
|
|
<field name="name">Support Channels</field>
|
|
|
|
<field name="res_model">live_support.channel</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
</record>
|
2013-02-04 15:36:12 +00:00
|
|
|
<menuitem name="Support Channels" parent="live_support" id="support_channels" action="action_support_channels" groups="group_live_support"/>
|
|
|
|
|
|
|
|
|
|
|
|
<record id="view_order_form" model="ir.ui.view">
|
|
|
|
<field name="name">support_channel.form</field>
|
|
|
|
<field name="model">live_support.channel</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Support Channels" version="7.0">
|
|
|
|
<sheet>
|
|
|
|
<h1>
|
|
|
|
<field name="name"/>
|
|
|
|
</h1>
|
2013-02-05 14:52:54 +00:00
|
|
|
<div style="margin-bottom: 12px">
|
|
|
|
<button type="object" name="join" string="Join" attrs='{"invisible": [["are_you_inside", "=", True]]}'/>
|
|
|
|
<button type="object" name="quit" string="Quit" attrs='{"invisible": [["are_you_inside", "=", False]]}'/>
|
|
|
|
</div>
|
|
|
|
<field name="are_you_inside" invisible="1"/>
|
|
|
|
<label for="user_ids" colspan="2"/>
|
|
|
|
<field name="user_ids" readonly="1" nolabel="1" colspan="2"/>
|
2013-02-04 15:36:12 +00:00
|
|
|
</sheet>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2013-02-04 13:47:31 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|