Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

In V11 CE, I have the Google Spreadsheet module installed and connected to my database.  The oe_browse function works fine and pulls data into the spreadsheet so I know the connection is fine and everything is configured properly.

However, when I use the oe_read_group function with the same arguments I get an error in the log.

When I use this formula:

=oe_browse("pos.order.line"; "display_name,qty,create_date";; "create_date desc";20)
...it works perfectly and returns the last 20 pos order lines as expected.

But when I use this formula:

=oe_read_group("pos.order.line"; "display_name,qty,create_date"; "product_id";; "create_date desc";20)
...I get an error in the spreadsheet and the error below in the log. 

  File "/home/odoo/odoo-server/odoo/osv/expression.py", line 190, in normalize_domain
    assert isinstance(domain, (list, tuple)), "Domains to normalize must have a 'domain' form: a list or tuple of domain components"
AssertionError: Domains to normalize must have a 'domain' form: a list or tuple of domain components

I'm following the syntax from the tutorial in the spreadsheet template as far as I can tell, so can anyone who is familiar with the Google Spreadsheet module provide some advice?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 22
14781
Google Spreadsheets Đã xử lý
1
thg 3 15
9932
1
thg 1 23
2711
0
thg 7 21
2434
2
thg 6 20
5319