diff options
| author | Bharat Devnani (OpenERP) <bde@tinyerp.com> | 2012-06-14 10:33:15 +0530 |
|---|---|---|
| committer | Bharat Devnani (OpenERP) <bde@tinyerp.com> | 2012-06-14 10:33:15 +0530 |
| commit | 9e6a547d7f4b77d4d09513ffe24e182f968cc33b (patch) | |
| tree | b9db7ce95a0c9a2764899bba80c132570d9aa6ff /addons/document | |
| parent | 5b7287cbb8d3ad454e0c6a3bd3b86f7d4469f2cf (diff) | |
[REM] removed sheet tag from document.directory object becuase it is under configuration menu
bzr revid: bde@tinyerp.com-20120614050315-ijrooly2o2ghf5i0
Diffstat (limited to 'addons/document')
| -rw-r--r-- | addons/document/document_view.xml | 136 |
1 files changed, 67 insertions, 69 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index b2b844c0591..b644986828a 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -72,82 +72,80 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="Directories" col="4" version="7.0"> - <sheet layout="auto"> + <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"> + <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/> + <field name="resource_field" domain="[('model_id','=',ressource_type_id), ('ttype', 'in', ('char', 'selection', 'date', 'datetime'))]"/> + <field name="ressource_tree"/> + <newline/> + <field name="domain" attrs="{'required': [('type','=','ressource')], 'readonly': [('type','=','static')]}"/> + </group> <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"/> + <field name="ressource_parent_type_id"/> + <field name="ressource_id" select="2" readonly="1"/> </group> - <notebook colspan="4"> - <page string="Definition"> - <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/> - <field name="resource_field" domain="[('model_id','=',ressource_type_id), ('ttype', 'in', ('char', 'selection', 'date', 'datetime'))]"/> - <field name="ressource_tree"/> - <newline/> - <field name="domain" attrs="{'required': [('type','=','ressource')], 'readonly': [('type','=','static')]}"/> - </group> - <group col="4"> - <field name="ressource_parent_type_id"/> - <field name="ressource_id" select="2" readonly="1"/> - </group> - <group col="2" attrs="{'invisible': [('type','!=','ressource'),('ressource_parent_type_id','=',False)]}"> - <field name="resource_find_all"/> - </group> - - </page> - <page string="Generated Files" groups="base.group_no_one"> - <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"> - <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."/> + <group col="2" attrs="{'invisible': [('type','!=','ressource'),('ressource_parent_type_id','=',False)]}"> + <field name="resource_find_all"/> + </group> + + </page> + <page string="Generated Files" groups="base.group_no_one"> + <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"> + <group col="4"> <field name="name"/> + <field name="sequence"/> + <field name="prefix"/> <field name="suffix"/> <field name="extension"/> - </tree> - </field> - </page> - <page string="Dynamic context" groups="base.group_no_one"> - <label colspan="4" string="Define words in the context, for all child directories and files" /> - <field name="dctx_ids" nolabel="1" colspan="4"> - <tree string="Fields" editable="bottom"> + <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."/> + <field name="name"/> + <field name="suffix"/> + <field name="extension"/> + </tree> + </field> + </page> + <page string="Dynamic context" groups="base.group_no_one"> + <label colspan="4" string="Define words in the context, for all child directories and files" /> + <field name="dctx_ids" nolabel="1" colspan="4"> + <tree string="Fields" editable="bottom"> + <field name="field"/> + <field name="expr"/> + </tree> + <form string="Fields"> + <group col="4"> <field name="field"/> <field name="expr"/> - </tree> - <form string="Fields"> - <group col="4"> - <field name="field"/> - <field name="expr"/> - </group> - </form> - </field> - </page> - <page string="Security"> - <label colspan="4" string="Only members of these groups will have access to this directory and its files." /> - <label colspan="4" string="These groups, however, do NOT apply to children directories, which must define their own groups." /> - <field name="group_ids" colspan="4" nolabel="1"/> - </page> - </notebook> - </sheet> + </group> + </form> + </field> + </page> + <page string="Security"> + <label colspan="4" string="Only members of these groups will have access to this directory and its files." /> + <label colspan="4" string="These groups, however, do NOT apply to children directories, which must define their own groups." /> + <field name="group_ids" colspan="4" nolabel="1"/> + </page> + </notebook> </form> </field> </record> |
