Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Odoo Hash Search Repository
by
dar
As an implementation detail, it is clear that hashing provides (global) contend addressability. But then you'd name it: content_adressability
I can understand that you want to express the generic functional concept.
I guess there is no ideal answer, but "hashing" seems really like an implementation detail craving for visibility.
What do we want to achieve: Ok, we want to achieve global content addressability to spare on any (necessarily suboptimal) routing mechanism, in order to achieve that, you implement a hashing mechanism.
Why not something around the conceptual goal of "global business document addressability". I guess "content" would be misleading, as I suppose you spare static content from the mechanism.
Would that be able to induce any alternative naming idea?
El jue., 21 mar. 2019, 1:12 p.m., Enric Tobella <etobella@creublanca.es> escribió:
That is what I said about the action Pedro.It was called has because the same record would generate the same QR and now it is computed on this way but it could be computed totally different. For example, on our production system it generates an extra string in order to decide which system must use it. Also, hash was an idea as it could be used in order to ensure unicity. So for example, I would write on the QR the hash of the JSON {model: XX, id:XX, action:XX} so it is smaller.Enric Tobella AlomarCentros Médicos Creu BlancaTel: 902 202 230Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
pueden contener información reservada y/o confidencial, destinada exclusivamente
para el uso del destinatario o la persona responsable de entregarlo al mismo,
estando su uso no autorizado prohibido legalmente.
Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
salvo ratificación escrita por ambas partes. En caso de su recepción por error,
rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
a su eliminación.From: "Pedro M. Baeza (Tecnativa)" <pedro.baeza@tecnativa.com>
To: "Contributors" <contributors@odoo-community.org>
Date: Thu, 21 Mar 2019 17:51:44 -0000
Subject: Re: Odoo Hash Search Repository
The same as you are providing for printing the QR 2 arguments (model and ID), you can provide the third one as well, so that's not a problem.And I agree with David that hash is misleading. I would call barcode_direct_link or similar.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
pueden contener información reservada y/o confidencial, destinada exclusivamente
para el uso del destinatario o la persona responsable de entregarlo al mismo,
estando su uso no autorizado prohibido legalmente.
Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
salvo ratificación escrita por ambas partes. En caso de su recepción por error,
rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
a su eliminación.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Odoo Hash Search Repository
byDIXMIT Consulting SLU, Enric Tobella Alomar-
Re: Odoo Hash Search Repository
byDIXMIT Consulting SLU, Enric Tobella Alomar -
Re: Odoo Hash Search Repository
byDIXMIT Consulting SLU, Enric Tobella Alomar -
Re: Odoo Hash Search Repository
byDIXMIT Consulting SLU, Enric Tobella Alomar -
Re: Odoo Hash Search Repository
byForgeFlow, S.L., Jordi Ballester Alomar