diff options
| author | Olivier Dony <odo@openerp.com> | 2011-10-13 19:03:27 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-10-13 19:03:27 +0200 |
| commit | 3bffe65b2ca8bc50ece644e7947ad2bbd5c9341a (patch) | |
| tree | b307874680dbdce7b2f5109b7b696ea38e679e20 /addons/fetchmail/fetchmail_view.xml | |
| parent | a93ca01b5b1365f92e191e3c429ef655e751b455 (diff) | |
| parent | 8a7c61cb96a541a9aaca51ffe3ee903407b26360 (diff) | |
[MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20111013170327-9rvfdkbgj01hdgxb
Diffstat (limited to 'addons/fetchmail/fetchmail_view.xml')
| -rw-r--r-- | addons/fetchmail/fetchmail_view.xml | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/addons/fetchmail/fetchmail_view.xml b/addons/fetchmail/fetchmail_view.xml index 05f62f4b9fb..4cd182c0818 100644 --- a/addons/fetchmail/fetchmail_view.xml +++ b/addons/fetchmail/fetchmail_view.xml @@ -25,44 +25,47 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Incoming Mail Server"> - <group col="6" colspan="4"> - <field name="name" select="1" colspan="4"/> - <field name="type" select="1" on_change="onchange_server_type(type, is_ssl)"/> + <group colspan="4" col="6"> + <field name="name" select="1"/> + <field name="type" select="1" on_change="onchange_server_type(type, is_ssl, object_id)"/> <field name="date" select="1"/> </group> <notebook colspan="4"> <page string="Server & Login"> - <group col="4" colspan="2"> + <group col="4" colspan="2" attrs="{'invisible' : [('type', '=', 'local')]}"> <separator string="Server Information" colspan="2"/> - <field name="server" colspan="4"/> - <field name="port" /> + <field name="server" colspan="4" attrs="{'required' : [('type', '!=', 'local')]}" /> + <field name="port" required="1" attrs="{'required' : [('type', '!=', 'local')]}" /> <field name="is_ssl" select="1" on_change="onchange_server_type(type, is_ssl)"/> </group> - <group col="2" colspan="2"> + <group col="2" colspan="2" attrs="{'invisible' : [('type', '=', 'local')]}"> <separator string="Login Information" colspan="2"/> - <field name="user" /> - <field name="password" password="True" /> + <field name="user" attrs="{'required' : [('type', '!=', 'local')]}"/> + <field name="password" password="True" attrs="{'required' : [('type', '!=', 'local')]}"/> </group> <group col="2" colspan="2"> - <separator string="Automated Processing" colspan="2"/> - <field name="object_id"/> - <field name="action_id"/> + <separator string="Actions to Perform on Incoming Mails" colspan="2"/> + <field name="object_id" on_change="onchange_server_type(type, is_ssl, object_id)"/> + <field name="action_id" groups="base.group_extended"/> + </group> + <group attrs="{'invisible' : [('type', '!=', 'local')]}" colspan="4" col="4"> + <separator string="Configuration" colspan="4"/> + <field name="configuration" colspan="4"/> + <field name="script" colspan="4" widget="url"/> </group> - <separator string="Description" colspan="4"/> - <field name="note" colspan="4" nolabel="1"/> </page> - <page string="Advanced"> + <page string="Advanced" groups="base.group_extended"> <group colspan="2" col="2"> <separator string="Advanced options" colspan="2"/> - <field name="priority"/> + <field name="priority" groups="base.group_extended"/> <field name="attach"/> <field name="original"/> <field name="active" select="1"/> </group> </page> </notebook> - <group col="6" colspan="4"> - <field name="state" select="1"/> + <group colspan="4" col="6" attrs="{'invisible' : [('type', '=', 'local')]}"> + <field name="state"/> <button string="Reset Confirmation" type="object" name="set_draft" icon="gtk-convert" states="done"/> <button string="Test & Confirm" type="object" name="button_confirm_login" states="draft" icon="gtk-apply"/> <button string="Fetch Now" type="object" name="fetch_mail" states="done" icon="gtk-network"/> @@ -83,13 +86,6 @@ <filter string="SSL" icon="terp-camera_test" domain="[('is_ssl','=',True)]" help="If SSL required."/> <separator orientation="vertical"/> <field name="name"/> - <field name="object_id"/> - <newline/> - <group expand="0" string="Group By..." groups="base.group_extended"> - <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/> - <separator orientation="vertical"/> - <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/> - </group> </search> </field> </record> |
