Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4944 Vues

Hi,

 I have another problem after correcting the last one. here it is :

  File "C: \ odoo_9.0.latest \ odoo-9.0c-20170215 \ openerp \ tools \ translate.py", line 10, in <module>

     Import openerp.sql_db as sql_dbAttributeError: 'module' object has no attribute 'sql_db'

Avatar
Ignorer
Meilleure réponse

try 

from openerp import sql_db as sql_db

in version 10

from odoo import sql_db, SUPERUSER_ID
Avatar
Ignorer