select * from res_portal; id | create_uid | create_date | write_date | write_uid | url | menu_action_id | group_id | parent_menu_id ----+------------+----------------------------+----------------------------+-----------+-----------------------------+----------------+----------+---------------- 2 | 1 | 2011-12-11 22:16:53.735274 | 2011-12-12 07:09:18.077708 | 1 | http://192.168.160.136:8169 | | 88 | 720
there is an entry in res_portal imho the sql statement must also check for parent_menu_id in res_portal, then it will not raise an error.
select * from res_portal; ------- ---+--- ------- ------- ------- ----+-- ------- ------- ------- -----+- ------- ---+--- ------- ------- ------- -----+- ------- ------- -+----- -----+- ------- ------- - 192.168. 160.136: 8169 | | 88 | 720
id | create_uid | create_date | write_date | write_uid | url | menu_action_id | group_id | parent_menu_id
----+--
2 | 1 | 2011-12-11 22:16:53.735274 | 2011-12-12 07:09:18.077708 | 1 | http://
there is an entry in res_portal
imho the sql statement must also check for parent_menu_id in res_portal, then it will not raise an error.