You can manipulate the field name, you can handle the insert/update by yourself instead of using _filter_fields(), to do so you can create cutstom fields with Field() or .clone() field (better)...
But the way you make it, if the resulting form satisfy you, you may consider changing FK name from table to table (not the best option if your db is used by other application or if you follow strong convention field name), but it would be the simpler way to fix that. You may check it you not include field that causing error with readble, writable = False and you copy/populate the "missing" FK field ID in a onvalidation function. How to solve this is a matter of choice... Would need to understand what you want to achieve to help more, "SuperObject" is abstract for me... Richard On Fri, Nov 4, 2016 at 12:54 PM, Alex Glaros <[email protected]> wrote: > just re-read documentation for factory which says: This only works when > the tables don't have field names in common. > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

