hi,
just wanna report that sqlform.smartgrid not show linked_tables only the
archieves in web2py 2.7.4-stable_win.
let say i have buyer table and invoice header table that have reference
field to buyer table with record_versioning enable. when i use
sqlform.smartgrid for table buyer it just show the buyer archieve and not
show invoice header table.
the code i use for smartgrid is :
def report_buyer():
grid = SQLFORM.smartgrid(db.buyer, create=False, editable=False,
deletable=False, details=False)
return locals()
i even test for explicit it, but got the same result
def report_buyer():
grid = SQLFORM.smartgrid(db.buyer, linked_tables=['invoice_header',
'buyer_archive'], create=False, editable=False, deletable=False,
details=False)
return locals()
in previous version is show normally (the invoice header is showed in
linked_tables)
thanks and best regards,
stifan
--
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/groups/opt_out.