Skip to Content
Menu
This question has been flagged
1333 Views

I added following fields in my res.partner models:

x_studio_hospitality_manager=fields.Many2one('res.partner',string="Hospitality Manager")
facility_manager=fields.Many2one('res.partner',string="Facility Manager")
tenant_spoc=fields.Many2one('res.partner',string="Tenant Spoc")

nd my view is:

<field name="x_studio_hospitality_manager" string="Hospitality Manager" domain="[['x_studio_is_an_asset', '=', False]]" attrs="{'invisible': [['x_studio_is_an_asset','=',False]]}"/>
<field name="facility_manager"/>
<field name="tenant_spoc"/>


But getting following error:

psycopg2.ProgrammingError: column res_partner.facility_manager does not exist
LINE 1: ...tality_manager" as "x_studio_hospitality_manager","res_partn...


If anyone know how to solve it please let me know

Avatar
Discard

Did you upgrade the module after adding the field facility_manager ?

Author

In my local server it is working perfectly fine, but when I upload code in server site, it is giving error of "internal server error"

How to upgrade in server site?

Upgrade the corresponding module from terminal/ command line, see: https://www.youtube.com/watch?v=ErzOia_A21w