Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3004 Vistas

I changed this
res_partner_employee_in_order_ids ("res.partner", "sale_order_line_ids") 
to this
res_partner_ids ("res.partner", "sale_order_line_ids") 


and now i suddenly get the psycopg2.errors.UndefinedColumn: with every relation with res partner

anybody knows how to fix it?

Avatar
Descartar
Mejor respuesta

Hello

1. it this field o2m or m2m

2. Did you upgrade module sir ?

Avatar
Descartar
Mejor respuesta

Hi,

To fix this, make sure the new field is added to the res.partner model. Then, upgrade the module to update the database schema.

You can upgrade the module from the terminal with this command:

odoo-bin -c /path/to/your/odoo.conf -d db_name -u module_name

Replace '/path/to/your/odoo.conf' with the path to your Odoo configuration file, 'db_name' with the name of your database, and 'module_name' with the name of the module you are upgrading.


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 24
3661
2
oct 24
1488
2
oct 23
4860
3
sept 23
1929
0
may 23
2066