跳至内容
菜单
此问题已终结
1 回复
1133 查看
最佳答案

Hello shadi almassri

It seems you have not imported _ from odoo.tools.translate. there must be some code which use this '_' for translation in your code.


from odoo.tools.translate import _

you can also use following 

from odoo import fields, models, _


please import above and have a look.

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

形象
丢弃