Skip to content
Snippets Groups Projects
Commit 1cb32caa authored by Hansun (hale)'s avatar Hansun (hale)
Browse files

[FIX] website_crm_partner_assign: foolproof translation for partner lvl


To reproduce the issue:
1. Add French as a language to your profile
2. Install [CRM], [Resellers] on Apps
3. On [Settings]>[Website]
- set the language to French then SAVE
4. Go to [CRM]
- click [Configuration]>[Partner Level]
- click Gold
- click [Go to Website] at the top right corner
- adjective and subject order is not natural for French speakers

Desired behavior: Remove the word 'Partner' (show level only)

Impacted versions: 14.0 up to master

opw-3160102

closes odoo/odoo#113395

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 8b473eff
Branches
Tags
No related merge requests found
......@@ -73,7 +73,7 @@
<t t-foreach="partners" t-as="partner">
<t t-if="last_grade != partner.grade_id.id">
<h3 class="text-center mt-4">
<span t-field="partner.grade_id"/> Partners
<span t-field="partner.grade_id"/>
<t t-call="website.publish_management">
<t t-set="object" t-value="partner.grade_id"/>
<t t-set="publish_edit" t-value="True"/>
......@@ -158,7 +158,7 @@
<template id="grade_in_detail" inherit_id="website_partner.partner_detail">
<xpath expr="//*[@id='partner_name']" position="after">
<h3 class="col-lg-12 text-center text-muted" t-if="partner.grade_id and partner.grade_id.website_published">
<span t-field="partner.grade_id"/> Partner</h3>
<span t-field="partner.grade_id"/></h3>
</xpath>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment