I am sorry, today I have found that this was my mistake. I have string values from SQLFORM - and compute evaluates properly.
But I have different FORM for bulk insert of many records, where in form.process().accepted I have integer values: compute in DAL is wrapper into try/except - and it fails for integer values. It is a little misleading, that db.table.insert(string_basefield=integer_value) will not fail and record is created, but compute function fails invisibly, so the computed_field remain None. But it was completly my mistake. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.