diff options
| author | Raphael Collet <rco@openerp.com> | 2015-07-06 17:01:33 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-07-06 17:01:33 +0200 |
| commit | b2176210d9f0749bbdcc9e8c4cd1476e8f2ebda9 (patch) | |
| tree | 39708e89570536de313e49487c0ebfe339fc370d /addons/document/document_view.xml | |
| parent | f03b3e18392088bf745065294734f190f5185f9d (diff) | |
| parent | 9bd60ca93510e410a0136b8b433f596330900593 (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/document_view.xml')
| -rw-r--r-- | addons/document/document_view.xml | 2 |
1 files changed, 1 insertions, 1 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'}"/> |
