crm.lead Meetings not translatable

Bug #889056 reported by Alan Lord
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 1

Bug Description

OpenERP 6.0.3 on Ubuntu 10.04 server.

We are translating the CRM module in en_GB for one of our customers. We have changed the "Meetings" module to say "Activities".

We are able to translate all the strings we need except for the title of the View that is loaded when you click on the "Schedule Meeting" button in an opportunity form view.

The same Calendar View from the Sales->Meetings->Meetings menu works fine and is correctly translated to say Activities.

I suspect that the translation record for that button is missing completely but our efforts to add it have so far failed.

Related branches

Revision history for this message
Alan Lord (theopensourcerer) wrote :
affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Alan,

yes you are absolutely right, The problem is in the code crm_lead.py at line 451 where context is being created fresh and which misses the lang argument. If you update that context dict with the lang argument from the context dict you receive in this method you will get the translated value.

@jignesh: please change the project and the team as this is addons bug.

Regards,

Amit Parik (amit-parik)
affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: OpenERP's Framework R&D (openerp-dev-framework) → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
Revision history for this message
Alan Lord (theopensourcerer) wrote :

@Naresh,

Thanks for the confirmation, but in a clean 6.0.3 server tarball, addons/crm/crm_lead.py is only 413 lines long. And I searched for any references to "meetings" but couldn't find one. Am I looking in the wrong file?

Thanks

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Alan,

Sorry for the inconvenience caused the information I above refers to Trunk version. for the 6.0.3 you need to look at addons/crm/crm_opportunity.py @ line 198. for the context.

Regards,

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kuldeep Joshi(OpenERP) (kjo-openerp) wrote :

Hello, Thanks For Reporting.
It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-889056-kjo
revision-id: <email address hidden>
revno: 5737
 It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Alan Lord (theopensourcerer) wrote :

That's great.

Thanks for the quick turnaround.

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix has landed in trunk/6.1 at revision 5807 revid: <email address hidden>

Thanks for reporting!

Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.