Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
by
InitOS GmbH, Frederik Kramer
Thanks Pedro, thanks Christian and Francesco for your comments, i think the first appearance of that magical "x_" was long before Odoo Studio even existed but i do definitely agree that backend UI changes done with Odoo Studio (or earlier through Developer Tools and Plain BE functions) should be avoided in any production grade DB. However, technically forbid to use that "methods" is not all too simple (if the customer pretends to have certain rights on his landscape) or comes from an origin where nobody even told them ;-) To me it seems (i.e. would be my conclusion) that Odoo S.A. always wanted to have that "x_" prefix and the community mostly ignored it (if i remember well, i have occassionaly seen app store modules that followed this 'requirement'). Now what bothers me most is that Odoo S.A. isn't consistent either on the matter and obviously never forced to comply (would have been easily possible). So probably we we better follow the "wisdom of the crowd" altogether and continue to ignore that "magic convention". Best Frederik Am 17.06.24 um 13:43 schrieb Pedro M. Baeza: > IMO, that prefix must only apply to fields created through UI / Odoo > Studio, not on community modules. And if you have to maintain that DB, > I advise you to forbid both Odoo Studio and manual field creation. > > Regards. > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe > -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
Reference
-
Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byInitOS GmbH, Frederik Kramer-
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byOpen Architects Consulting, Houssine BAKKALI -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
by "Graeme Gellatly" <graeme@moahub.nz> - 19/06/2024 08:03:18 - 0 -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
by "Graeme Gellatly" <graeme@moahub.nz> - 19/06/2024 07:57:41 - 0 -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byInitOS GmbH, Frederik Kramer -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
by "Graeme Gellatly" <graeme@moahub.nz> - 18/06/2024 23:29:34 - 0 -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
by "Graeme Gellatly" <graeme@moahub.nz> - 18/06/2024 23:19:23 - 0 -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byNICO SOLUTIONS - ENGINEERING & IT , Nils Coenen -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byInitOS GmbH, Frederik Kramer -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byOpenForce, Francesco Apruzzese -
Re: Please share your thoughts on the use of `x_` prefix for custom fields in Odoo
byIntero Technologies GmbH, C. Zoellner
-