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/note/note_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/note/note_view.xml')
| -rw-r--r-- | addons/note/note_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml index 9a9f5057418..a6a6876d3f7 100644 --- a/addons/note/note_view.xml +++ b/addons/note/note_view.xml @@ -146,7 +146,7 @@ <field name="model">base.config.settings</field> <field name="inherit_id" ref="base_setup.view_general_configuration"/> <field name="arch" type="xml"> - <xpath expr="//label[@string='Authentication']/.." position="after"> + <xpath expr="//group[@name='authentication']" position="after"> <group> <label for="id" string="Notes"/> <div name="note"> |
