I have created menu name is Train
sub menu
passenger
reservation
When click passenger menu that time below error is occured
Odoo Warning - Missing Record
Record does not exist or has been deleted.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In My case i used below code.
request.env.cr.commit() # as authenticate will use its own cursor we need to commit the current transaction
I solved error . (refresh a page that time error is cleared)