Dear all,
Any idea on the issue that Create new DB hit error as following, but, other existing DB(s) can be used normally. Thanks.
Database creation error: relation "ir_model" does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Dear all,
Any idea on the issue that Create new DB hit error as following, but, other existing DB(s) can be used normally. Thanks.
Database creation error: relation "ir_model" does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^
I encountered the same error when trying to create a database from scratch, but not with already created databases. In my case I scrolled up in the logs and found a record that marked an error in the logs. The registry is in odoo/addons/base/data/res_country_data.xml I looked for the line that marked me in the logs, I commented on it and did the process of creating the DB again and it worked correctly.
I think you have a permission issue with odoo resources.
when you want to start odoo service, it uses addons from this path ".local/share/odoo/addons" so you must have the permission to read from this directory.
use these commands :
* I supposed that the ".local" hidden directory is located under home directory
1- cd ~
2- ls -la
3- sudo chown -R user_name:group_name .local
** Note: change user_name and group_name with the ones who owned your odoo and odoo conf file.
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
مايو 25
|
175 | ||
|
0
مايو 25
|
207 | ||
|
1
مايو 25
|
573 | ||
|
4
مايو 25
|
1866 | ||
|
2
مايو 25
|
2032 |
it's in all odoo15.0 now