Migration from 5.4 to 5.6

Must

  • [SQL] update project status based on previous state

     UPDATE project_work SET status = db_id FROM ir_model_data WHERE module = 'project' AND fs_id = 'work_open_status' AND state = 'opened';
     UPDATE project_work SET status = db_id FROM ir_model_data WHERE module = 'project' and fs_id = 'work_done_status' AND state = 'done';
    
  • [SQL] before update, the foreign key of shipment_party of sale amendment must be recreated

    ALTER TABLE sale_amendment_line DROP CONSTRAINT sale_amendment_line_shipment_party_fkey;
    
  • [XML] Editable attribute of xml files is now of boolean type.

    <tree editable="1">
    

Just to add:

For tree view with editable=“bottom” or editable=“top” are need to change to editable=“1”, else it will give compile error when update