Odoo Help

0

0
7 Answers
2
Avatar

Pawan Kumar Sharma India

--Pawan Kumar Sharma--
SunArc Technologies
8827
| 6 3 7
Gangashahar(Bikaner), India
--Pawan Kumar Sharma--


Pawan Kumar Sharma India
10/30/18, 7:59 AM

Hello @Wizardz,

This type error also faced many times. But install/unstall is not good approch. I have solve this problem first comment field in py field and update module. when it show me error for xml file then i uncomment my python file field and update module after server restart. This work for me. I think this will also helpful for you.

4 Comments
wizardz Switzerland
10/30/18, 8:08 AM

hm, ok, but is there not a way to update the module when I restart the server ? sudo service odoo restart -u module_name -d database ?

SunArc Technologies, Pawan Kumar Sharma India
10/30/18, 8:28 AM

Yes, you can also do like that.

wizardz Switzerland
10/30/18, 8:30 AM

Do you know the exact command for that?

SunArc Technologies, Pawan Kumar Sharma India
10/30/18, 8:34 AM

For ubuntu you can use:

./odoo-bin -u module_name

for window:

odoo.py -u module_name

1
Avatar

subbarao India

--subbarao--

1367
| 5 2 8
Chennai, India
--subbarao--


subbarao India
10/30/18, 11:46 PM

There is a direct solution for this.

if you add any new fields to the res_company, res_partner, res_users tables you have to follow the following steps.

1) add new fields

2) open your custom module from the apps list

3) restart server, do immediate upgrade of custom module

Note : Here the problem is if you add any new fields to the res_company, res_partner, res_users tables every request it will check. If you upgrade after restart without any request it will work.

Ask a Question
Writer
Keep Informed
1 follower(s)
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