Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5609 มุมมอง

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?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 22
14772
Google Spreadsheets แก้ไขแล้ว
1
มี.ค. 15
9924
Odoo Google spreadsheet error แก้ไขแล้ว
1
ม.ค. 23
2705
0
ก.ค. 21
2431
2
มิ.ย. 20
5305