summaryrefslogtreecommitdiff
path: root/addons/document
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-07-06 17:01:33 +0200
committerRaphael Collet <rco@openerp.com>2015-07-06 17:01:33 +0200
commitb2176210d9f0749bbdcc9e8c4cd1476e8f2ebda9 (patch)
tree39708e89570536de313e49487c0ebfe339fc370d /addons/document
parentf03b3e18392088bf745065294734f190f5185f9d (diff)
parent9bd60ca93510e410a0136b8b433f596330900593 (diff)
Merge pull request #7202 from odoo-dev/master-i18n-rco
Make XML/HTML fields translatable like views Add support for translating fields not as a whole, but as a value containing terms to translate: - for such fields, the table `ir_translation` contains a set of (term, translation) for each record; - use this support for the `arch` field of views, and convert translations of type 'view' into those; - add "fuzzy" remapping of translations when English value of such a field is updated. Convert translation types 'field', 'help' into corresponding translated fields of `ir.model.fields`.
Diffstat (limited to 'addons/document')
-rw-r--r--addons/document/document_view.xml2
-rw-r--r--addons/document/wizard/document_configuration_view.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 7afaed118b7..8dafdc37be4 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -207,7 +207,7 @@
<field name="model">ir.attachment</field>
<field name="inherit_id" ref="base.view_attachment_search"/>
<field name="arch" type="xml">
- <filter string="Owner" position="replace">
+ <filter name="owner" position="replace">
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Directory" icon="terp-folder-green" domain="[]" context="{'group_by':'parent_id'}"/>
diff --git a/addons/document/wizard/document_configuration_view.xml b/addons/document/wizard/document_configuration_view.xml
index dad1a88052e..049c3a00974 100644
--- a/addons/document/wizard/document_configuration_view.xml
+++ b/addons/document/wizard/document_configuration_view.xml
@@ -10,7 +10,7 @@
<form position="attributes">
<attribute name="string">Knowledge Application Configuration</attribute>
</form>
- <group string="res_config_contents" position="replace">
+ <group name="res_config_contents" position="replace">
<separator string="Configure Directories"/>
<p>Odoo'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.</p>
<p>When executing this wizard, it will configure your directories automatically according to modules installed.</p>