Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3071 Widoki

Odoo Version: 10.0-20161123

I am requesting with the following code:

        List accountAnalyticLine = Arrays.asList((Object[]) objClient.execute("execute_kw",
                Arrays.asList(db, uid, password, "account.analytic.line", "search_read",
                        Arrays.asList(Arrays.asList(
                                )),
                        new HashMap() {{
                            put("fields", Arrays.asList("display_name", "project_id", "user_id"));
                        }}
                    )));


This lists me all the entrys with the correct display name. But the problem is when I want to view which project_id and user_id the account.analytic.line has, it returns something similiar to this:

Ljava.lang.Object;@73c6c3b2

I know that this always happens when the field is based on one2many, many2one or many2many.

How can I convert that into  real id(s)?




Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 24
2133
0
sie 22
2779
1
gru 19
12149
9
lis 16
15280
1
mar 15
18266