What is the max length of an external id for models ?
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
Short Answer:
There is no limit.
Long Answer:
An External ID has two parts: module and name, separated by a period character during import.
Each part can have up to 10,485,760 characters.
The total length of an External ID is 20,971,520 characters - 10,485,760 each side of the "." in the middle.
An example of a "long" External ID in Odoo is:
account_reports.selection__account_financial_html_report_line__special_date_changer__to_beginning_of_period
You will run into a practical limit of working with External ID's in technology (user experience issues - editing/display) well before you run into physical limitations or performance issues.
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ść | |
---|---|---|---|---|
|
1
cze 24
|
2582 | ||
|
1
kwi 20
|
3122 | ||
|
1
cze 19
|
2891 | ||
|
1
lip 24
|
1016 | ||
|
2
cze 22
|
3460 |