Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3000 Visualizzazioni

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
Abbandona
Risposta migliore

Hello

1. it this field o2m or m2m

2. Did you upgrade module sir ?

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 24
3654
2
ott 24
1485
2
ott 23
4841
3
set 23
1921
0
mag 23
2062