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

I added a new module on pycharm, found it working on odoo but tables didn't get created on postgres

الصورة الرمزية
إهمال

you question is too generic.  what's exactly is error?

and how do you know "it  working"? since the table doesnot created at all.

الكاتب

Actually i downloaded a new module and added it to pycharm, i updated the odoo apps, i found the module's interfaces on odoo but i can't find the module's tables on Postgres

Did you install the module after updating app list ? If you install the app and didn't throw any error the table will be created in your database.

أفضل إجابة

Hi,

Check you imported python files in __init__ of your new module , 

if you have  a  model  'hr.grade'  ,  a  new table named ' hr_grade ' will  be created in your database.


Thanks

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

Hi there,
The table in postgres should be automatically created when you install the app in odoo.
Otherwise may be you faced some error for other reasons.
Thanks.

الصورة الرمزية
إهمال