Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4452 Lượt xem

Hi all,

We are currently looking into the formula for getting values from lists directly into spreadsheets. What is the proper way to get a list of all existent List_Ids? 

Thanks,


Marcel

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Marcel,

List id's arent actual id's (if i understand your question correctly). They are an indicator of the place in the list that is shown.

Say you have a list with 3 records in the list view. then the first record, regardless of the database id, will be position 1. Therefore if you use the spreadsheet formula odoo.list(X,1,X) you will get record 1, and for odoo.list(x,2,x) you will get record 2. You can copy this formula down into the spreadsheet say 400 times.. the 400th formula will then be odoo.list(x,400,x).  If the actual list in the database has only 3 records only the first 3 formulas will show data, the rest will be empty.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
905
4
thg 3 25
3688
1
thg 12 24
1211
2
thg 12 24
1624
0
thg 6 24
1302