Must
- [SQL] Use
NULL
value for empty foreign key with:UPDATE ir_ui_view SET model = null WHERE model = ''; UPDATE ir_action_act_window SET res_model = null WHERE res_model = ''; UPDATE ir_action_wizard SET model = null WHERE model = ''; UPDATE ir_action_report SET model = null WHERE model = ''; UPDATE ir_action_report SET module = null WHERE module = ''; UPDATE ir_translation SET module = null WHERE module = '';