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:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
4
lut 25
|
608 | ||
|
3
lis 24
|
29218 | ||
|
1
gru 21
|
2395 | ||
|
0
gru 21
|
1927 | ||
|
0
gru 18
|
3455 |