Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
5645 Переглядів

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
14796
Google Spreadsheets Вирішено
1
бер. 15
9943
1
січ. 23
2727
0
лип. 21
2436
2
черв. 20
5328