Here are the sql queries which will be used for migration from previous version:
update project_work set work_state = db_id from ir_model_data where module = 'project' and fs_id = 'work_open_state' and state = 'opened';
update project_work set work_state = db_id from ir_model_data where module = 'project' and fs_id = 'work_done_state' and state = 'done';
Here are the updated migration queries to run on latest review patchset:
update project_work set status = db_id from ir_model_data where module = 'project' and fs_id = 'work_open_state' and state = 'opened';
update project_work set status = db_id from ir_model_data where module = 'project' and fs_id = 'work_done_state' and state = 'done';