[web2py] Re: linked_tables not show using smartgrid

2014-02-06 Thread 黄祥
finally found the culprit : lazy_tables = True on db = DAL('sqlite://test.sqlite', pool_size = 30, check_reserved = ['all'], migrate = True, fake_migrate_all = False, lazy_tables = True) my question is why lazy_tables = True is affected the linked tables on the smartgrid? i found the solution ju

[web2py] Re: linked_tables not show using smartgrid

2014-02-06 Thread Tim Richardson
I'm guessing this is not a complete model since there is no supplier table defined (reference in purchase_header) For the point of making progress, perhaps you can temporarily remove that reference and make sure that you get the two-table smart grid working (there shouldn't be any need to specif

[web2py] Re: linked_tables not show using smartgrid

2014-02-06 Thread 黄祥
trying another tables using smartgrid and have the same result. trying to add the auth signature but have the same result. trying to create the apps from scratch (copy the models, controllers and views folders) but have the same result. *code* *controllers/report.py* def report_product(): product

[web2py] Re: linked_tables not show using smartgrid

2014-02-06 Thread 黄祥
release version 2.8.2 source 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

[web2py] Re: linked_tables not show using smartgrid

2014-02-06 Thread Tim Richardson
is this trunk or a release? -- 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 "w