Skip to Content
Menu
This question has been flagged
1 Odpoveď
1774 Zobrazenia

Hi i am using odoo 15 CE and i have installed oca timesheet module, i had created department and out of that i had deleted 1 department and i am getting this error then
Missing Record

×

Record does not exist or has been deleted. (Record: hr.department(7,), User: 2)

how can i fix this using python or postgresql

Avatar
Zrušiť
Best Answer

Hi,

You can go to the database and then find the records where the colum_name of hr.department probably department_id and change all of those null or any corresponding value

The query will be something like this

Select * from you_model where your_model.department_id = 7

Replace your_model with the model where you are getting the error


Hope it helps


Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
máj 24
1124
0
nov 23
901
2
júl 23
4592
1
nov 22
2805
2
mar 15
5244