[web2py] Re: Parent - Child (multiple rows / grid) form development

2017-07-10 Thread Ramesh Meda
Dave, Thank you and appreciated. But, my question was about forms and not database. How could one develop a page that has one invoice row and multiple item rows... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - http

[web2py] Re: Parent - Child (multiple rows / grid) form development

2017-07-10 Thread Dave S
On Monday, July 10, 2017 at 12:56:58 PM UTC-7, Ramesh Meda wrote: > > What would be the best approach to develop Parent-Child forms in Web2Py > please... > > Case in point... lets say, simple invoice application (over simplified for > the sake of discussion) > Invoice Header (Parent), with inv

[web2py] web2py 2.15.1 is OUT

2017-07-10 Thread Massimo Di Pierro
It took a year. Thanks to everybody who contributed. There are a ton of bug fixes and speed improvements. I would encourage everybody who contributed to add a comment in this thread explaining the main features/improvements they have made. If anything does not work or was broken it is only faul

[web2py] Re: web2py 2.15.0b1

2017-07-10 Thread kato
Hi. I found a problem with python3. File ".../web2py/gluon/validators.py", line 455, in options items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)] File ".../web2py/gluon/validators.py", line 455, in items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)] TypeEr

[web2py] Parent - Child (multiple rows / grid) form development

2017-07-10 Thread Ramesh Meda
What would be the best approach to develop Parent-Child forms in Web2Py please... Case in point... lets say, simple invoice application (over simplified for the sake of discussion) Invoice Header (Parent), with invoice information and Invoice Items (Chid), with multiple line items (grid) Tha

Re: [web2py] Re: web2py 2.15.0b1

2017-07-10 Thread Richard Vézina
Sorry I was wrong... I miss read result I can't get slow result again... On Mon, Jul 10, 2017 at 12:45 PM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > Hello, > > Welcome is pretty slow 500+ ms compare to 32 ms for 2.14.6?? > > Richard > > On Mon, Jul 10, 2017 at 12:30 PM, Paolo Valleri

Re: [web2py] Re: web2py 2.15.0b1

2017-07-10 Thread Richard Vézina
Hello, Welcome is pretty slow 500+ ms compare to 32 ms for 2.14.6?? Richard On Mon, Jul 10, 2017 at 12:30 PM, Paolo Valleri wrote: > Massimo, regarding minification see https://github.com/web2py/ > web2py/pull/1658, hopefully it fixed the reported issue. > > > On Monday, July 10, 2017 at 10:28

[web2py] Re: web2py 2.15.0b1

2017-07-10 Thread Paolo Valleri
Massimo, regarding minification see https://github.com/web2py/web2py/pull/1658, hopefully it fixed the reported issue. On Monday, July 10, 2017 at 10:28:44 AM UTC+2, Massimo Di Pierro wrote: > > Thanks for reporting these issues. > > I think except for minification they have all been resolved. a

[web2py] Re: XMLHttpRequest error

2017-07-10 Thread Filipe Reis
WOW that was it... how did I miss that, and was right in front my eyes. Thanks and sorry :) -- 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

[web2py] Re: XMLHttpRequest error

2017-07-10 Thread Leonel Câmara
Note that this is wrong: {{URL('domain','client_domains', args=client.id, user_signature=True)}} You are missing an = before the URL. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/iss

[web2py] Re: XMLHttpRequest error

2017-07-10 Thread Filipe Reis
I had an inline script but not I took it away and still same error. This block I'm adding it to the template via tags. Like: {{block js}} {{end}} -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

[web2py] Re: XMLHttpRequest error

2017-07-10 Thread Leonel Câmara
Probably because the component you're loading has something like , something that makes jquery think you need some other resource for the loading to continue, so it loads that resource using a synchronous request in order to stop the loading of what you were originally trying to load until it f

[web2py] XMLHttpRequest error

2017-07-10 Thread Filipe Reis
Hi guys, Can you help me with this? My browser is giving me the following: [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. The wierdest part is that it's on the web2py.component but I already use others a

[web2py] Strange SQL behavior

2017-07-10 Thread Rudy
Hi there, Not sure if I missed something obvious or the code is behaving strangely. i have below simplified table, i have added 3 records with all voucher_id=1 and txn_source='INV', now I want to make a select statement as following, the 2 select() calls have different results (inv_paid_count=3

[web2py] Re: web2py 2.15.0b1

2017-07-10 Thread Massimo Di Pierro
Thanks for reporting these issues. I think except for minification they have all been resolved. and a new beta version is released. On Thursday, 6 July 2017 22:37:02 UTC-5, 黄祥 wrote: > > the error traceback about routes in application is fixed with > *applications/test/routes.py* > from *gluon.

[web2py] Re: Web2py Cron depreciado ?

2017-07-10 Thread Massimo Di Pierro
You can still use the system cron but we recommend the scheduler. The scheduler makes sure that two execution of the same task do not overlap. for example if a task is supposed to run every minute but the one running 3:21 has not finished by 3:22, we do not start it again until finished, to pre