Chào A/C, em gặp lỗi trong Sales > Product Categories & attributes > Public Product Categories như sau:
+ Em kéo thả các mục category để sắp xếp theo thứ tự mong muốn, trình tự sequence của các mục có thay đổi nhưng khi em F5 load lại trang thì sự sắp xếp lại về lại như lúc ban đầu mặc dù trình tự sequence đã thay đổi.
+ Em nhấn nút create tạo một category mới thì báo lỗi:
File "/opt/odoo/80/openerp/models.py", line 4673, in _search
query = self._where_calc(cr, user, args, context=context)
File "/opt/odoo/80/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/80/openerp/models.py", line 4484, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/opt/odoo/80/openerp/osv/expression.py", line 662, in __init__
self.parse(cr, uid, context=context)
File "/opt/odoo/80/openerp/osv/expression.py", line 995, in parse
ids2 = to_ids(right, comodel, context)
File "/opt/odoo/80/openerp/osv/expression.py", line 726, in to_ids
return list(value)
TypeError: 'NewId' object is not iterable
Mong được A/C giúp đỡ. Em cảm ơn !