I have an SQLFORM.grid in a view to display a list of supplier contacts When I click "Add Record", I get the error below.
Traceback 1. 2. 3. 4. 5. 6. Traceback (most recent call last): File "E:\web2py\gluon\restricted.py", line 227, in restricted exec ccode in environment File "E:\web2py\applications\srm\views\supplier/view.html", line 75, in <module> AttributeError: 'NoneType' object has no attribute 'company_name' I don't understand why 'company_name' is causing an error because it is not a field in my supplier_contacts table, it is in my supplier table. -- 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.