https://stackoverflow.com/questions/67001462/how-to-access-custom-model-data-in-odoo-env-using-shell-command
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
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
فبراير 25
|
697 | ||
|
3
نوفمبر 24
|
29457 | ||
|
1
ديسمبر 21
|
2503 | ||
|
0
ديسمبر 21
|
2057 | ||
|
0
ديسمبر 18
|
3547 |