Skip to Content
Menu
This question has been flagged

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?

Avatar
Discard
Related Posts Replies Views Activity
3
May 22
13234
1
Mar 15
8665
1
Jan 23
1471
0
Jul 21
1629
2
Jun 20
4345