Odoo Help


Override a column doesn't work

on 2/23/15, 11:05 AM 760 views


I'm trying to modify the "description" column. I want to convert it in "no translatable". I use the belower code but it doesn't work. Am I doing anything wrong? Is this the best way to do it? 

  class CustomProduct(orm.Model):

    _inherit = 'product.template'    

  _columns = {                      

        'description': fields.text('Description',translate=False, help="..."),




| 6 4 7
Lodz, Poland

On 2/23/15, 11:31 AM

You add in __openerp__.py

"depends" : ['product']

This code, in new api, works in my test system, (your code not works, may be orm issue?)

class CustomProduct(models.Model):
    _inherit = 'product.template'    

    description = fields.Text('Description',translate=False, help="...")


thanks for answering, but I already had that dependency

on 2/23/15, 11:45 AM

answer updated

on 2/23/15, 2:00 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/23/15, 11:05 AM
Seen: 760 times
Last updated: 3/16/15, 8:10 AM