Odoo Help

0

0
2 回答
0
Azzedine フランス
2017/02/09 8:40

Hi,

For example :

old :
    spam = fields.Char(string='SPAM')

new :

     beans = fields.Char(oldname='spam',string="SPAM")

"oldname" parameter refer to the previous name of this field, so that ORM can rename it automatically at migration.

0
Ron Arts オランダ
2015/04/26 13:14

I rename fields all the time. All that is needed is restarting Odoo, followed by an upgrade of the module that implements the field. Odoo will take care of the schema. 

質問する
Writer
タグ
Keep Informed
2 フォロワー
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.

Register
Odoo Training Center

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

Test it now