İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4136 Görünümler

What is the max length of an external id for models ?

Avatar
Vazgeç
En İyi Yanıt

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.





Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 24
2673
1
Nis 20
3168
1
Haz 19
2948
1
Tem 24
1099
2
Haz 22
3569