Hello,
I used to do this in controller to override some of the model default
behavior on update...
form = crud.update(db.table)
db[request.args(0)].entered_by.update=auth.user and auth.user.id
db[request.args(0)].input_date.update=request.now
if accepts...:
response flash...
It stop working properly recently and not update the entered_by and
input_date field.
I just tried to move those lines into the model :
db.table.entered_by.update=auth.user and auth.user.id
db.table.input_date.update=request.now
Not working neither...
Thanks for helping
Richard