diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-07-09 01:50:42 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-07-09 01:50:42 +0300 |
| commit | 03865bc917b6fa7ee3e3964411722ccdc75b52c2 (patch) | |
| tree | c6404d648c1c0688a60cee1d321b30676ebad9de /addons/document/document_view.xml | |
| parent | eb96e0f256b9130f0f1b814be6415d6b35a46d23 (diff) | |
Document: Less dir, storage options, cleanup views.
The 'virtual' storage is now hidden. An extra 'db64' type, hidden, is
supported in the code, for v5-compatible databases (until we migrate
the db_datas column of them). The 'at_record' directory type is gone.
A module in extra-addons will permit the compatible behaviour, for those
experts.
bzr revid: p_christ@hol.gr-20100708225042-fp3zcwmw4zp3ee04
Diffstat (limited to 'addons/document/document_view.xml')
| -rw-r--r-- | addons/document/document_view.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index f342fb7cf56..4f72245ce40 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -16,7 +16,7 @@ <field name="online"/> <field name="readonly"/> </group> - <group colspan="2" attrs="{'invisible':[('type','=','db')]}"> + <group colspan="2" attrs="{'invisible':[('type','in',['db', 'db64'])]}"> <field name="path"/> </group> </form> @@ -85,15 +85,14 @@ <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 colspan="4" col="4" attrs="{'invisible': [('type','!=','at_record')]}"> + <group colspan="4" col="4" attrs=""> <field name="ressource_parent_type_id"/> <field name="ressource_id" select="2" readonly="1"/> </group> - <group colspan="4" col="4"> - <field name="domain" attrs="{'required': [('type','=','ressource')], 'readonly': [('type','=','static')]}"/> - </group> </page> <page string="Generated Files" groups="base.group_extended"> <label colspan="4" string="For each entry here, virtual files will appear in this folder." /> |
