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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
6月 24
|
2240 | ||
|
1
4月 20
|
2831 | ||
|
1
6月 19
|
2662 | ||
|
1
7月 24
|
758 | ||
|
2
6月 22
|
3152 |