[IMP]knowledge : view are improved

bzr revid: hsa@tinyerp.com-20120626133623-5p17rdjrqaeim1o4
This commit is contained in:
Hardik 2012-06-26 19:06:23 +05:30
parent 5e764699c3
commit d2068b9bec
3 changed files with 39 additions and 39 deletions

View File

@ -241,45 +241,45 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Documents" version="7.0"> <form string="Documents" version="7.0">
<sheet> <sheet>
<group col="4"> <group>
<field name="name"/> <label for="name" string="Attachment Name"/>
<field name="parent_id"/> <h1>
<field name="user_id"/> <field name="name" />
<field name="company_id" groups="base.group_multi_company" widget="selection"/> </h1>
</group> </group>
<notebook colspan="4"> <group>
<page string="Attachment"> <label for="datas" string="File Content"/>
<h2>
<field name="datas" filename="datas_fname"/>
</h2>
</group>
<group>
<group> <group>
<group string="Data"> <field name="user_id"/>
<field name="type"/> <field name="parent_id"/>
<newline /> <field name="company_id" groups="base.group_multi_company" widget="selection"/>
<field name="datas" filename="datas_fname" attrs="{'invisible':[('type','=','url')]}"/> <field name="index_content"/>
<field name="datas_fname" attrs="{'invisible':[('type','=','url')]}"/>
<field name="url" widget="url" attrs="{'invisible':[('type','=','binary')]}"/>
</group>
<group>
<field name="res_id" invisible="True"/>
<field name="res_model" readonly="True" invisible="True" attrs="{'invisible': [('res_id','=',0)]}"/>
<field name="res_name" readonly="1" attrs="{'invisible': [('res_id','=',0)]}"/>
<separator string="Related to" colspan="2"/>
<field name="partner_id"/>
</group>
<group groups="base.group_no_one" string="Created">
<field name="create_uid" readonly="1"/>
<field name="create_date" readonly="1"/>
</group>
<group groups="base.group_no_one" string="Modified">
<field name="write_uid" readonly="1"/>
<field name="write_date" readonly="1"/>
</group>
</group> </group>
</page> <group>
<page string="Indexed Content - experimental" groups="base.group_no_one"> <field name="res_id" invisible="True"/>
<field name="index_content"/> <field name="res_model" readonly="True" invisible="True" attrs="{'invisible': [('res_id','=',0)]}"/>
</page> <field name="res_name" readonly="1" attrs="{'invisible': [('res_id','=',0)]}"/>
<page string="Notes"> <field name="partner_id"/>
<field name="description"/> </group>
</page> </group>
<notebook>
<page string="History">
<group>
<group groups="base.group_no_one" string="Created">
<field name="create_uid" readonly="1"/>
<field name="create_date" readonly="1"/>
</group>
<group groups="base.group_no_one" string="Modified">
<field name="write_uid" readonly="1"/>
<field name="write_date" readonly="1"/>
</group>
</group>
</page>
</notebook> </notebook>
</sheet> </sheet>
</form> </form>

View File

@ -9,9 +9,7 @@
<form string="Browse Document" version="7.0"> <form string="Browse Document" version="7.0">
<header> <header>
<button name="browse_ftp" string="_Browse" type="object" icon="gtk-ok"/> <button name="browse_ftp" string="_Browse" type="object" icon="gtk-ok"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
</header> </header>
<separator string="Browse Document"/>
<group> <group>
<field name="url" widget="url"/> <field name="url" widget="url"/>
</group> </group>

View File

@ -20,7 +20,9 @@
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<separator string="Configure FTP Server" /> <separator string="Configure FTP Server" />
<label string="Indicate the network address on which your OpenERP server should be reachable for end-users. This depends on your network topology and configuration, and will only affect the links displayed to the users. The format is HOST:PORT and the default host (localhost) is only suitable for access from the server machine itself.."/> <label string="Indicate the network address on which your OpenERP server should be reachable for end-users. This depends on your network topology and configuration, and will only affect the links displayed to the users. The format is HOST:PORT and the default host (localhost) is only suitable for access from the server machine itself.."/>
<field name="host"/> <group>
<field name="host"/>
</group>
</group> </group>
<xpath expr="//button[@name='action_skip']" position="replace"/> <xpath expr="//button[@name='action_skip']" position="replace"/>
</data> </data>