跳至內容
選單
此問題已被標幟
1 回覆
4940 瀏覽次數

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'

頭像
捨棄
最佳答案

try 

from openerp import sql_db as sql_db

in version 10

from odoo import sql_db, SUPERUSER_ID
頭像
捨棄