Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2712 Weergaven

I have seen some decorators that are used to save or write, and others work with change events of the forms...

Is there a way to execute a method on read call for a model?, i.e., when the model is called for read records, because I need to process the data before displaying it. 

My model is only a table, no views, no froms, but I call if from come another module as need


Avatar
Annuleer
Beste antwoord

Hi Jose:

There is no decorator for read. But, you can define a computed field that does the required pre-processing of the data and use the computed field in your custom module.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
nov. 24
29934
0
dec. 21
2270
0
apr. 15
4568
2
mrt. 15
10362
1
mrt. 15
3921