تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4394 أدوات العرض

Hi, after adding new field in res_users table. can't upgrade and "internal server error" showing in V10.

الصورة الرمزية
إهمال
أفضل إجابة

Hi Dhivya,


In Odoo, if you add new fields in res_users, res_partner etc, you need to upgrade the module as soon as you restart the service. So you have can either restart the service from command line and also pass the your custom module as an argument to update it at the same time. In order to do this stop your odoo service and run the following command.


./odoo-bin -c /path/config_file_name -d database_name -u module_name

This will upgrade your module and you won't get the internal server error. Another way is to open the the custom module from the Apps menu. You can see the upgrade and uninstall button now. Now restart the service and when the service restart, upgrade the module and it will upgrade without any issues.
الصورة الرمزية
إهمال
أفضل إجابة


Hi,

    just try to upgrade the module through CLI.

 ./odoo-bin -d Database -u module_name -c location_of_conf -p port -r dbuser -w dbpasword


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 20
4150
0
مارس 15
2845
4
ديسمبر 23
39315
1
نوفمبر 24
2029
0
فبراير 24
1290