I am trying to write a server command when making a new project in the project module. I am trying to declare the env as 'documents.folder' but i am getting a keyError. I have installed the documents app. Can someone please help?
Diese Frage wurde gekennzeichnet
2822
Ansichten
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
0
Mai 26
|
11 | ||
|
|
0
Mai 26
|
1 | ||
|
|
0
Mai 26
|
5 | ||
|
|
0
Mai 26
|
7 | ||
|
|
0
Mai 26
|
1 |
i found the answer, the env was documents.document and not documents.folder. But thank you for trying to help. Another question though, is there any way to look into the api of odoo 18 to avoid mistakes like this where the structure is not clear?
Hi Bodi
can you please provide more context?
Screenshot, server command etc
This will help getting fast answer ;)