After migration to ver 11,i get error on Patient Appointment screen
InternalError: (1054, u"Unknown column ‘tabPatient Appointment.appointment’ in ‘where clause’")
After migration to ver 11,i get error on Patient Appointment screen
InternalError: (1054, u"Unknown column ‘tabPatient Appointment.appointment’ in ‘where clause’")
How do i fix these ?
Hi
Try 3 ways
#1 bench migrate
#2 find . -name “*.pyc” -exec rm -f {} ;
#3 use custom form to add “appointment” field.
isn’t there missing a backslash before the semicolon?
find . -name “*.pyc” -exec rm -f {} \;
This expression may be less problematic - either single or double quotes work
frappe@erpnext:~/frappe-bench/apps/frappe$ find . -name '*.pyc' | xargs rm -f
Tried but not working
Have you determined whether the column is in fact missing?