[web2py] $.web2py.componet not work

2018-02-08 Thread Luis Sucuc
I have this code in my view {{=T('Convert to order')}} In the google chrome console In firefox

[web2py] date picker in modal not work

2018-02-09 Thread Luis Sucuc
I have a LOAD with a modal. But when using the input with class = "... date" the following happens. I tried to use

[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc
This does not work, I get the same result. :( El viernes, 9 de febrero de 2018, 9:54:48 (UTC-6), Leonel Câmara escribió: > > This is a css problem, the calendar is positioning absolutely relative to > the body instead of to where you placed the widget. Try a > style="position:relative;" on

[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc
The best solution will be to use another library. I tried it and it works correctly. ¡Thank you! El viernes, 9 de febrero de 2018, 10:42:50 (UTC-6), Leonel Câmara escribió: > > It's appending the calendar element to the body instead of the form-group, > you will probably have to fix the

[web2py] Re: $.web2py.componet not work

2018-02-09 Thread Luis Sucuc
My element had That was the problem. I think he was very stressed and tired to see something so obvious. El viernes, 9 de febrero de 2018, 5:23:01 (UTC-6), Leonel Câmara escribió: > > You don't have an html element with id="contain-to-order" when you are > running this code. > --

[web2py] How to use _onclick(quotation.id)

2018-02-13 Thread Luis Sucuc
I have the following code that is used to generate a table with fancygrid {{for quotation in quotations:}} ... amount:'{{=quotation.amount}}', convert: '{{if has_products(quotation.id):}}{{=BUTTON(T("Convert to order"), _class="fancy-grid-column-action-item btn-edit",

[web2py] Re: Decrypt password from auth_user

2018-04-06 Thread Luis Sucuc
ompared to what is > in the DB. > > > On Friday, April 6, 2018 at 9:33:37 AM UTC-7, Luis Sucuc wrote: >> >> >> How can I decrypt a password from the auth_user table? >> >> >> user = db(db.auth_user.id == user_id).select().first() >> print user.passwor

[web2py] Decrypt password from auth_user

2018-04-06 Thread Luis Sucuc
How can I decrypt a password from the auth_user table? user = db(db.auth_user.id == user_id).select().first() print user.password # --output-- # pbkdf2(1000,20,sha512)$8d7c80fb77386465$532cd8dd495f703337cf3c261a01801b3155f36c -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] How to download a copied file to the Upload folder

2018-10-29 Thread Luis Sucuc
Hello! The previous programmer copied files directly into the Uploads folder, I need to be able to download them now but using the following does not work. My view In administrator.py @cache.action() def download(): return response.download(request, db) The application is

[web2py] ImportError: No module named utils on websocket_messaging

2019-10-10 Thread Luis Sucuc
I am trying to use sockets as follows python gluon/contrib/websocket_messaging.py -k 123 -p but I receive the following error Traceback (most recent call last): File "gluon/contrib/websocket_messaging.py", line 96, in import gluon.utils ImportError: No module named utils