I had a problem when adding a field/there was a change in res_partner. then after upgrading an 'Internal Server Error' occurred. Does something have to be adjusted in the manifest or some other way?
res_partner_views.xml
Manifest.py
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I had a problem when adding a field/there was a change in res_partner. then after upgrading an 'Internal Server Error' occurred. Does something have to be adjusted in the manifest or some other way?
res_partner_views.xml
Manifest.py
Hi,
If you add any new field to the res.partner model, you need to upgrade the module from the terminal using the following command:
./odoo-bin -c test.conf -d db_name -u custom_module
Is this field also defined on you python file ?
Are you you upgrading the correct module ?
Sharing the log files would also be helpful
Hi,
If you're encountering an internal server error when loading an Odoo 15 XML view, there are a few key areas to check. First, ensure that the is_invoice field you're referencing in the attrs is actually defined and available in the model or view. If this field doesn’t exist, Odoo will fail to render the view. Second, confirm that the fields l10n_id_nik and l10n_id_tax_name are properly defined in the Python model (.py file). If these fields are missing, the view will throw an error at runtime. The syntax of your attrs dictionary looks correct, so that’s likely not the issue. To find the exact cause of the internal server error, check your Odoo logs using the command: tail -f /var/log/odoo/odoo-server.log.
This will show you the real-time error traceback, which usually points directly to the missing field, incorrect logic, or another issue. Once you address the specific error shown in the logs, your view should load without problems.
Hope it helps.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
May 25
|
179 | ||
|
0
Sep 24
|
694 | ||
|
1
Jun 24
|
1009 | ||
|
1
May 24
|
1135 | ||
|
3
May 24
|
1328 |