跳至內容
選單
此問題已被標幟
1501 瀏覽次數

I am trying to get a report {'id': 4, 'name': 'Balance Sheet'} for a company_id. How do I get such a report. I only get the fields of the report, but cannot select the company:


This will show all report types:

models.execute_kw(db, uid, password, 'account.report', 'fields_get', [], {'attributes': ['string', 'help', 'type']})


And this the balance sheet:

models.execute_kw(db, uid, password, 'account.report', 'read', [4])


How do I get the actual report for company_id 10?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 24
1758
0
8月 24
1585
0
1月 24
2068
1
11月 23
1785
0
6月 23
2136