[FIX] website translation bug

Sometimes a node can't be translated using the website Translate
mode. The translation is added to the Application term list but
the id of the view is not correct.

This happen when a translatable node is a children of a inherited
node whose branding could not be kept. data-oe-source-id was left
over because it was not registered in MOVABLE_BRANDING
This commit is contained in:
Fabien Meghazi 2014-08-20 17:16:29 +02:00
parent 3cc9a844db
commit c0132100ce
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ from openerp.tools.translate import _
_logger = logging.getLogger(__name__)
MOVABLE_BRANDING = ['data-oe-model', 'data-oe-id', 'data-oe-field', 'data-oe-xpath']
MOVABLE_BRANDING = ['data-oe-model', 'data-oe-id', 'data-oe-field', 'data-oe-xpath', 'data-oe-source-id']
def keep_query(*args, **kw):
if not args and not kw: