Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6430 Lượt xem

I am getting error while clicking on product menu, and on the kanban view,

File "/opt/openerp/server/openerp/addons/stock/product.py", line 36, in _stock_move_count ], ['product_id'], ['product_id']) File "/opt/openerp/server/openerp/osv/orm.py", line 2717, in read_group cr.execute('SELECT min(%s.id) AS id, count(%s.id) AS %s_count' % (self._table, self._table, group_count) + (flist and ',') + flist + ' FROM ' + from_clause + where_clause + gb + (ob and ',') + ob + orderby_clause + limit_str + offset_str, where_clause_params) File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper return f(self, args, *kwargs) File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) ProgrammingError: column "stock_move__product_id.name_template" must appear in the GROUP BY clause or be used in an aggregate function

Any Idea why this is occurred?

can anyone help me on this.

Ảnh đại diện
Huỷ bỏ

Did you installed a custom module?

Câu trả lời hay nhất

Hello,

It's an error related to this view stock.product_kanban_stock_view

As long as OpenERP does not provide a fix, you can hide it by granting the access permission to this view to a group, no one is a member of.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The bug is fixed, see #1281762 on launchpad

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
395
2
thg 6 25
1817
0
thg 3 25
1687
0
thg 2 25
1326
3
thg 8 24
6048