diff --git a/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml index 59cb779375e..1a52f68f1fc 100644 --- a/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml +++ b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml @@ -9,8 +9,8 @@ sum True - - + + [('state','!=','cancel'),('user_id','=',user.id),('type','=','out_invoice')] @@ -32,8 +32,8 @@ lower days - - + + [('user_id','=',user.id),('type', '=', 'lead')] @@ -44,8 +44,8 @@ lower days - - + + [('user_id','=',user.id)] @@ -56,7 +56,7 @@ count opportunities - + [('user_id','=',user.id),('type','=','opportunity')] @@ -66,7 +66,7 @@ count orders - + [('user_id','=',user.id),('state','not in',('draft', 'sent', 'cancel'))] @@ -76,7 +76,7 @@ count orders - + [('state','=','paid'),('user_id','=',user.id),('type','=','out_invoice')] @@ -85,8 +85,8 @@ count True - - + + [('state','=','paid'),('user_id','=',user.id),('type','=','out_invoice')] @@ -98,7 +98,7 @@ lower invoices - + [('state','!=','cancel'),('user_id','=',user.id),('type','=','out_refund')] @@ -108,8 +108,8 @@ higher True - - + + [('state','!=','cancel'),('user_id','=',user.id),('type','=','out_refund')] diff --git a/addons/stock_account/data/stock_account_data.xml b/addons/stock_account/data/stock_account_data.xml index d5f55811def..1a4a386eed6 100644 --- a/addons/stock_account/data/stock_account_data.xml +++ b/addons/stock_account/data/stock_account_data.xml @@ -3,26 +3,26 @@ Cost Method Property - + selection Valuation Property - + selection Cost Method Property - + standard selection Valuation Property - + manual_periodic selection diff --git a/addons/website_crm/data/website_crm_data.xml b/addons/website_crm/data/website_crm_data.xml index c4672a1a267..8467d40225b 100644 --- a/addons/website_crm/data/website_crm_data.xml +++ b/addons/website_crm/data/website_crm_data.xml @@ -2,7 +2,7 @@ - + True Create a lead diff --git a/addons/website_form_project/data/website_form_project_data.xml b/addons/website_form_project/data/website_form_project_data.xml index 1a9323e4ce3..0a8c45c9725 100644 --- a/addons/website_form_project/data/website_form_project_data.xml +++ b/addons/website_form_project/data/website_form_project_data.xml @@ -1,7 +1,7 @@ - + True Create a task diff --git a/addons/website_forum/data/badges_answer.xml b/addons/website_forum/data/badges_answer.xml index 9619d3af0fc..fcacd1820bb 100644 --- a/addons/website_forum/data/badges_answer.xml +++ b/addons/website_forum/data/badges_answer.xml @@ -19,7 +19,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 3)] True - + user.id @@ -54,7 +54,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 4)] True - + user.id @@ -89,7 +89,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 6)] True - + user.id @@ -124,7 +124,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 15)] True - + user.id @@ -161,7 +161,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 3), ('is_correct', '=', True)] True - + user.id @@ -196,7 +196,7 @@ higher [('parent_id', '!=', False), ('vote_count', '>=', 15), ('is_correct', '=', True)] True - + user.id @@ -232,7 +232,7 @@ higher [('self_reply', '=', True), ('vote_count', '>=', 4)] True - + user.id diff --git a/addons/website_forum/data/badges_moderation.xml b/addons/website_forum/data/badges_moderation.xml index 5b49701cb19..9901875305d 100644 --- a/addons/website_forum/data/badges_moderation.xml +++ b/addons/website_forum/data/badges_moderation.xml @@ -26,7 +26,7 @@ higher [('vote', '=', '-1')] True - + user.id @@ -62,7 +62,7 @@ higher [('vote_count', '>=', 3), ('active', '=', False)] True - + user.id @@ -98,7 +98,7 @@ higher True - + user.partner_id.id @@ -133,7 +133,7 @@ higher [('vote', '=', '1')] True - + user.id @@ -169,7 +169,7 @@ higher [('vote_count', '<=', -3), ('active', '=', False)] True - + user.id diff --git a/addons/website_forum/data/badges_participation.xml b/addons/website_forum/data/badges_participation.xml index 132b592b94e..5544d5163f3 100644 --- a/addons/website_forum/data/badges_participation.xml +++ b/addons/website_forum/data/badges_participation.xml @@ -22,7 +22,7 @@ ('partner_id.email', '!=', False) ] True - + user.id @@ -58,7 +58,7 @@ higher True - + user.partner_id.id @@ -93,7 +93,7 @@ True - + user.id @@ -152,7 +152,7 @@ higher [('posts_count', '>=', 15)] True - + user.id diff --git a/addons/website_forum/data/badges_question.xml b/addons/website_forum/data/badges_question.xml index d9b67e92cb6..de95e53d12c 100644 --- a/addons/website_forum/data/badges_question.xml +++ b/addons/website_forum/data/badges_question.xml @@ -19,7 +19,7 @@ [('parent_id', '=', False), ('views', '>=', 150)] higher True - + user.id @@ -55,7 +55,7 @@ [('parent_id', '=', False), ('views', '>=', 250)] higher True - + user.id @@ -90,7 +90,7 @@ [('parent_id', '=', False), ('views', '>=', 500)] higher True - + user.id @@ -127,7 +127,7 @@ [('parent_id', '=', False), ('favourite_count', '>=', 1)] higher True - + user.id @@ -162,7 +162,7 @@ [('parent_id', '=', False), ('favourite_count', '>=', 5)] higher True - + user.id @@ -197,7 +197,7 @@ [('parent_id', '=', False), ('favourite_count', '>=', 25)] higher True - + user.id @@ -234,7 +234,7 @@ [('parent_id', '=', False), ('vote_count', '>=', 1)] higher True - + user.id @@ -269,7 +269,7 @@ [('parent_id', '=', False), ('vote_count', '>=', 4)] higher True - + user.id @@ -304,7 +304,7 @@ [('parent_id', '=', False), ('vote_count', '>=', 6)] higher True - + user.id @@ -339,7 +339,7 @@ [('parent_id', '=', False), ('vote_count', '>=', 15)] higher True - + user.id @@ -375,7 +375,7 @@ [('parent_id', '=', False), ('has_validated_answer', '=', True)] higher True - + user.id diff --git a/addons/website_hr_recruitment/data/config_data.xml b/addons/website_hr_recruitment/data/config_data.xml index 56919da2e3c..3284b439a04 100644 --- a/addons/website_hr_recruitment/data/config_data.xml +++ b/addons/website_hr_recruitment/data/config_data.xml @@ -19,7 +19,7 @@ - + True Apply for a Job diff --git a/odoo/addons/base/models/ir_translation.py b/odoo/addons/base/models/ir_translation.py index b7c819c88a9..c073db3656c 100644 --- a/odoo/addons/base/models/ir_translation.py +++ b/odoo/addons/base/models/ir_translation.py @@ -74,14 +74,14 @@ class IrTranslationImport(object): params['type'] = 'model' params['name'] = 'ir.model.fields,field_description' params['imd_model'] = 'ir.model.fields' - params['imd_name'] = 'field_%s_%s' % (model.replace('.', '_'), field) + params['imd_name'] = 'field_%s__%s' % (model.replace('.', '_'), field) elif params['type'] == 'help': model, field = params['name'].split(',') params['type'] = 'model' params['name'] = 'ir.model.fields,help' params['imd_model'] = 'ir.model.fields' - params['imd_name'] = 'field_%s_%s' % (model.replace('.', '_'), field) + params['imd_name'] = 'field_%s__%s' % (model.replace('.', '_'), field) elif params['type'] == 'view': params['type'] = 'model'