Remove Product Name translations

Asked by KAKA1.2

Hi,
When I update the product name, its show changed in the product details(front end), but no is not been updated in the table product_template name field in the db. From an analysis I was able to understand the changed value is been stored as translations and is not updated in table product_template. How can I updated these changes to product_template.
Please anyone find me a solution.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ravindra Mekhiya(OpenERP) (rme-openerp) said :
#1

Hello Satheesh,

I have checked the issue but it works as expected.

When you update the table product_product it also reflects on the table product_template.

Let me know if it's still problem at your end.

Thanks.

Revision history for this message
Nicolas Contin (nicolas-contin) said :
#2

If it can help others users who may have this problem....

The field 'name' in product_template is translatable so if the current user language is different from database default language, the value of 'name' is not modified but a record is created in ir_translation.

Revision history for this message
Numérigraphe (numerigraphe) said :
#3

Actually "it works as expected" means "this is by design". But You and I were expecting something else :)
I never miss an opportunity to say it's very annoying, mostly because the language in the database tables is hard-coded to be US English. I filed Bug #400256 to make this configurable but the maintainers are not terribly interested in this. I made good progress to fix it myself but it's still work in (slow) progress. Subscribe to this bug and press "It affects me" to be informed when it more progress is made.
In the meantime, if you're using v5 you can check out base_translation_copy in the extra addons: it will copy the translation of your choice to the tables. It should work in v6 and trunk but I didn't test that.
Lionel.

Can you help with this problem?

Provide an answer of your own, or ask KAKA1.2 for more information if necessary.

To post a message you must log in.