diff options
| author | Purnendu Singh (OpenERP) <psi@tinyerp.com> | 2012-06-11 18:17:02 +0530 |
|---|---|---|
| committer | Purnendu Singh (OpenERP) <psi@tinyerp.com> | 2012-06-11 18:17:02 +0530 |
| commit | 3daedd56c24e9a86d74dedb2b3b04f4d09e3bd32 (patch) | |
| tree | 88c4f24b3a32cb9afed3c25c32c43fb290e64ba8 /addons/document | |
| parent | 45af06ba68f6329281a5dadb4ed245d0157d8e52 (diff) | |
| parent | b2f173d4b2d3cb804111b801868d494eec19756c (diff) | |
[MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20120611124702-f45l1i7kqzjs7sua
Diffstat (limited to 'addons/document')
| -rw-r--r-- | addons/document/board_document_view.xml | 4 | ||||
| -rw-r--r-- | addons/document/document_view.xml | 111 | ||||
| -rw-r--r-- | addons/document/i18n/zh_CN.po | 4 | ||||
| -rw-r--r-- | addons/document/wizard/document_configuration_view.xml | 17 |
4 files changed, 64 insertions, 72 deletions
diff --git a/addons/document/board_document_view.xml b/addons/document/board_document_view.xml index acfcf4cb63a..635a74052e9 100644 --- a/addons/document/board_document_view.xml +++ b/addons/document/board_document_view.xml @@ -6,7 +6,7 @@ <field name="model">board.board</field> <field name="type">form</field> <field name="arch" type="xml"> - <form string="Document board" layout="manual"> + <form string="Document board" version="7.0"> <board style="2-1" > <column> <action string="New Files" @@ -54,7 +54,7 @@ <field name="model">board.board</field> <field name="type">form</field> <field name="arch" type="xml"> - <form string="Document board" layout="manual"> + <form string="Document board" layout="manual" version="7.0"> <board style="2-1"> <column> <action string="Wall of Shame" diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index f774dd2f3c9..e8ce8be4f2d 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -8,15 +8,14 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Storage Media"> - <group colspan="4" col="6"> - <field name="name" select="1" colspan="4"/> + <group col="4"> + <field name="name" colspan="4"/> <field name="type"/> - <newline/> <field name="user_id"/> <field name="online"/> <field name="readonly"/> </group> - <group colspan="2" attrs="{'invisible':[('type','in',['db', 'db64'])]}"> + <group attrs="{'invisible':[('type','in',['db', 'db64'])]}"> <field name="path"/> </group> </form> @@ -71,16 +70,19 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Directories" col="4"> - <field name="name" select="1" colspan="4"/> - <field name="parent_id"/> - <field name="storage_id" widget="selection" /> - <field name="user_id"/> - <field name="company_id" groups="base.group_multi_company" widget="selection"/> + <group col="4"> + <field name="name"/> + <field name="parent_id"/> + <field name="storage_id"/> + <field name="user_id"/> + <field name="company_id" groups="base.group_multi_company" widget="selection"/> + </group> <notebook colspan="4"> <page string="Definition"> - <separator string="Directory Type" colspan="4"/> - <field name="type"/> - <group colspan="4" col="4" attrs="{'invisible': [('type','!=','ressource')]}"> + <group string="Directory Type" colspan="4"> + <field name="type"/> + </group> + <group col="4" attrs="{'invisible': [('type','!=','ressource')]}"> <field name="ressource_type_id" on_change="onchange_content_id(ressource_type_id)" attrs="{'required': [('type','=','ressource')] }"/> <newline/> @@ -89,11 +91,11 @@ <newline/> <field name="domain" attrs="{'required': [('type','=','ressource')], 'readonly': [('type','=','static')]}"/> </group> - <group colspan="4" col="4"> + <group col="4"> <field name="ressource_parent_type_id"/> <field name="ressource_id" select="2" readonly="1"/> </group> - <group colspan="4" col="2" attrs="{'invisible': [('type','!=','ressource'),('ressource_parent_type_id','=',False)]}"> + <group col="2" attrs="{'invisible': [('type','!=','ressource'),('ressource_parent_type_id','=',False)]}"> <field name="resource_find_all"/> </group> @@ -102,14 +104,16 @@ <label colspan="4" string="For each entry here, virtual files will appear in this folder." /> <field name="content_ids" nolabel="1" colspan="4" > <form string="Contents"> - <field name="name"/> - <field name="sequence"/> - <field name="prefix"/> - <field name="suffix"/> - <field name="extension"/> - <field name="include_name"/> - <separator string="PDF Report" colspan="4"/> - <field name="report_id" domain="[('model_id','=',parent.ressource_type_id)]"/> + <group col="4"> + <field name="name"/> + <field name="sequence"/> + <field name="prefix"/> + <field name="suffix"/> + <field name="extension"/> + <field name="include_name"/> + <separator string="PDF Report" colspan="4"/> + <field name="report_id" domain="[('model_id','=',parent.ressource_type_id)]"/> + </group> </form> <tree string="Contents"> <field name="sequence" string="Seq."/> @@ -127,8 +131,10 @@ <field name="expr"/> </tree> <form string="Fields"> - <field name="field"/> - <field name="expr"/> + <group col="4"> + <field name="field"/> + <field name="expr"/> + </group> </form> </field> </page> @@ -233,53 +239,44 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Documents"> - <group colspan="4" col="6"> - <field name="name" select="1" colspan="4" /> + <group col="4"> + <field name="name"/> <field name="parent_id"/> - <newline/> <field name="user_id"/> <field name="company_id" groups="base.group_multi_company" widget="selection"/> </group> <notebook colspan="4"> <page string="Attachment"> - <group col="2" colspan="2"> - <separator string="Data" colspan="2"/> - <field name="type"/> - <newline /> - <group col="2" colspan="2" attrs="{'invisible':[('type','=','url')]}"> - <field name="datas" filename="datas_fname"/> - <field name="datas_fname" select="1"/> + <group> + <group string="Data"> + <field name="type"/> + <newline /> + <field name="datas" filename="datas_fname" attrs="{'invisible':[('type','=','url')]}"/> + <field name="datas_fname" attrs="{'invisible':[('type','=','url')]}"/> + <field name="url" widget="url" attrs="{'invisible':[('type','=','binary')]}"/> </group> - <group col="2" colspan="2" attrs="{'invisible':[('type','=','binary')]}"> - <field name="url" widget="url"/> + <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> - <group col="2" colspan="2"> - <field name="res_id" invisible="True"/> - <group col="2" colspan="2" attrs="{'invisible': [('res_id','=',0)]}"> - <separator string="Attached to" colspan="2"/> - <field name="res_model" readonly="True" invisible="True"/> - <field name="res_name" readonly="1"/> + <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> - <separator string="Related to" colspan="2"/> - <field name="partner_id"/> - </group> - <group col="2" colspan="2" groups="base.group_no_one"> - <separator string="Created" colspan="2"/> - <field name="create_uid" readonly="1"/> - <field name="create_date" readonly="1"/> - </group> - <group col="2" colspan="2" groups="base.group_no_one"> - <separator string="Modified" colspan="2"/> - <field name="write_uid" readonly="1"/> - <field name="write_date" readonly="1"/> </group> </page> <page string="Indexed Content - experimental" groups="base.group_no_one"> - <field name="index_content" colspan="4" nolabel="1"/> + <field name="index_content"/> </page> <page string="Notes"> - <field colspan="4" name="description" nolabel="1"/> + <field name="description"/> </page> </notebook> </form> diff --git a/addons/document/i18n/zh_CN.po b/addons/document/i18n/zh_CN.po index 1b0fc0f4ac9..52d2f2b7cff 100644 --- a/addons/document/i18n/zh_CN.po +++ b/addons/document/i18n/zh_CN.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-07 04:41+0000\n" -"X-Generator: Launchpad (build 15353)\n" +"X-Launchpad-Export-Date: 2012-06-08 04:40+0000\n" +"X-Generator: Launchpad (build 15376)\n" #. module: document #: field:document.directory,parent_id:0 diff --git a/addons/document/wizard/document_configuration_view.xml b/addons/document/wizard/document_configuration_view.xml index 90ff4501cc6..4f4c441b362 100644 --- a/addons/document/wizard/document_configuration_view.xml +++ b/addons/document/wizard/document_configuration_view.xml @@ -10,18 +10,13 @@ <form position="attributes"> <attribute name="string">Knowledge Application Configuration</attribute> </form> - <separator string="title" position="attributes"> - <attribute name="string">Configure Directories</attribute> - </separator> - <xpath expr="//label[@string='description']" position="attributes"> - <attribute name="string">OpenERP's Document Management System supports mapping virtual folders with documents. The virtual folder of a document can be used to manage the files attached to the document, or to print and download any report. This tool will create directories automatically according to modules installed.</attribute> - </xpath> - <xpath expr="//separator[@string="vsep"]" position="attributes"> - <attribute name="rowspan">12</attribute> - <attribute name="string"/> - </xpath> + <group string="res_config_contents" position="attributes"> + </group> <group string="res_config_contents" position="replace"> - <label align="0.0" string="When executing this wizard, it will configure your directories automatically according to modules installed."/> + <group string="Configure Directories"> + <label string="OpenERP's Document Management System supports mapping virtual folders with documents. The virtual folder of a document can be used to manage the files attached to the document, or to print and download any report. This tool will create directories automatically according to modules installed."/> + <label align="0.0" string="When executing this wizard, it will configure your directories automatically according to modules installed."/> + </group> </group> <xpath expr="//button[@name='action_skip']" position="replace"/> </data> |
