[IMP] base_external_referentials : improve debug mode, if openerp is start with --debug error or not catch anymore
[IMP] base_external_referentials : improve debug mode, if openerp is start with --debug error or not catch anymore

maljac/connector,Antiun/connector,guewen/connector,guewen/connector,hugosantosred/connector,js-landoo/connector,sylvain-garancher/connector,anybox/connector,BT-jmichaud/connector,maljac/connector,Endika/connector,acsone/connector,js-landoo/connector,BT-jmichaud/connector,zhaohuaw/connector,fevxie/connector,MindAndGo/connector,open-synergy/connector,mohamedhagag/connector,sylvain-garancher/connector,dvitme/connector,zhaohuaw/connector,brain-tec/connector,esousy/connector,BT-fgarbely/connector,fevxie/connector,Endika/connector,brain-tec/connector,dvitme/connector,BT-ojossen/connector,acsone/connector,BT-ojossen/connector,acsone/connector,mohamedhagag/connector,anybox/connector,gurneyalex/connector,MindAndGo/connector,esousy/connector,hugosantosred/connector,gurneyalex/connector,open-synergy/connector,Antiun/connector,BT-fgarbely/connector,brain-tec/connector