Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: KU Leuven - Link to Interview form Thesis research Dylan Kaekelbergh
Re: New module for uuid fields
AW: New module for uuid fields
byYes, for sure in most cases you will set the field to be readonly. Still using a native uuid type over a char type can have various benefits. I am certainly not an expert but you can refer to this stackoverflow post, why you would want to use a uuid field over a char field even if only for display reasons: https://stackoverflow.com/questions/32189129/performance-difference-between-uuid-char-and-varchar-in-postgresql-table
Von: Vincent Hatakeyama [mailto:notifications@odoo-community.org]
Gesendet: Mittwoch, 2. April 2025 11:58
An: Contributors
Betreff: Re: New module for uuid fields
Hi,
I’ve had the need to use an uuid column in the past. The column was not meant to be filled by users. The table was built manually and a Char field was used to display the content.
The code can be viewed at https://orus.io/xcg/odoo-modules/xbus_common/-/blob/branch/18.0/models/xbus_message.py?ref_type=heads#L94
I believe the server-tools repository is the place to put a module adding UUID fields.
Regards,
--
|
_______________________________________________
Mailing-List:
https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe:
https://odoo-community.org/groups?unsubscribe
Reference
-
New module for uuid fields
bymkoeck-
-
Re: New module for uuid fields
by "Vincent Hatakeyama" <vincent.hatakeyama@orbeet.io> - 02/04/2025 11:55:14 - 0 -
-
-