콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
1 회신
3021 화면

https://stackoverflow.com/questions/67001462/how-to-access-custom-model-data-in-odoo-env-using-shell-command

아바타
취소
베스트 답변

Hi,

Use the steps below to retrieve custom model data using a shell command in the Odoo environment (env):

Enter the Odoo installation directory at the command prompt or terminal.

If necessary, turn on the virtual environment.

Run./odoo-bin shell -d database_name> to launch the Odoo shell, replacing database_name> with the database's name.

Use Python commands in the Odoo shell to communicate with the environment and retrieve the data from the custom model using Odoo ORM techniques.

You can leave the Odoo shell by typing exit() or Ctrl+D.

Regards

아바타
취소
관련 게시물 답글 화면 활동
4
2월 25
720
3
11월 24
29521
1
12월 21
2546
0
12월 21
2090
0
12월 18
3569