12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <openerp>
- <data>
- <record id="view_email_server_inbox_tree" model="ir.ui.view">
- <field name="name">fetchmail.server.inbox.list</field>
- <field name="model">fetchmail.server.inbox</field>
- <field name="arch" type="xml">
- <tree decoration-info="state == 'draft'" string="POP/IMAP Servers">
- <field name="source_id"/>
- <field name="name"/>
- <field name="user"/>
- <field name="date"/>
- <field name="state"/>
- </tree>
- </field>
- </record>
- <record id="view_email_server_inbox_form" model="ir.ui.view">
- <field name="name">fetchmail.server.inbox.form</field>
- <field name="model">fetchmail.server.inbox</field>
- <field name="arch" type="xml">
- <form string="Incoming Mail Server">
- <header attrs="{'invisible' : [('type', '=', 'local')]}">
- <button string="Test & Confirm" type="object" name="button_confirm_login" states="draft"/>
- <button string="Fetch Now" type="object" name="fetch_mail" states="done"/>
- <button string="Reset Confirmation" type="object" name="set_draft" states="done"/>
- <field name="state" widget="statusbar"/>
- </header>
- <sheet>
- <group col="4">
- <field name="name"/>
- <field name="source_id" required="True"/>
- <field name="type" invisible="1"/>
- </group>
- <group>
- <group string="Login Information">
- <field name="user" required="True"/>
- <field name="password" required="True" password="True"/>
- <field name="date"/>
- </group>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record id="view_email_server_inbox_search" model="ir.ui.view">
- <field name="name">fetchmail.server.inbox.search</field>
- <field name="model">fetchmail.server.inbox</field>
- <field name="arch" type="xml">
- <search string="Search Incoming Mail Servers">
- <field name="name" string="Incoming Mail Server"/>
- <filter string="IMAP" domain="[('type','=','imap')]" help="Server type IMAP."/>
- <filter string="POP" domain="[('type','=','pop')]" help="Server type POP."/>
- <separator/>
- <filter string="SSL" domain="[('is_ssl','=',True)]" help="If SSL required."/>
- </search>
- </field>
- </record>
- <record id="action_email_server_inbox_tree" model="ir.actions.act_window">
- <field name="name">Mail Servers</field>
- <field name="res_model">fetchmail.server.inbox</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="context">{}</field>
- <field name="view_id" ref="view_email_server_inbox_tree"/>
- <field name="search_view_id" ref="view_email_server_inbox_search"/>
- </record>
- <menuitem id="menu_setting" name="Settings" parent="menu_email_root"/>
- <menuitem
- parent="menu_setting"
- id="menu_action_fetchmail_server_tree"
- action="action_email_server_inbox_tree"
- name="Mail Servers"
- sequence="14"
- groups="base.group_user"
- />
- </data>
- </openerp>
|