Le 23/09/2017 à 18:43, Cédric Krier a écrit :
On 2017-09-23 18:16, Richard PALO wrote:
As the title indicates, I'm interested to know if one can add/remove a
persistent
field (simple, non relational... like an integer) to an existing model with
proteus.
Tryton enforce data integrity so a client can not modify the data model.
Or is the only way by adding a custom module which then can be removed when
done.
This sounds wrong and I do not even know if it is possible to do it
because module has only access to subclasses of the Model.
I figured as much for the integrity bit, though I thought the question should
be asked to be sure.
Unfortunately I don't understand the second response, are you saying that
subclassing an
existing class and adding a persistent field is not possible? (e.g. an
additional integer
field on account.move.line) Activate to add, then deactivate to remove...
Or am I greatly misunderstanding something here?
--
Richard PALO
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/3b91f113-c9b9-2b8b-feb4-633aa1f3cf04%40free.fr.