Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1478 Visualizações

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?

Avatar
Cancelar
Autor

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 ;)

Publicações relacionadas Respostas Visualizações Atividade
4
jun. 25
1989
1
jun. 25
832
0
fev. 25
894
1
nov. 24
1732
1
nov. 24
1006