콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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?

아바타
취소
관련 게시물 답글 화면 활동
3
5월 22
14793
Google Spreadsheets 해결 완료
1
3월 15
9941
1
1월 23
2721
0
7월 21
2436
2
6월 20
5325