Questions tagged as 'web2py'

1
answer

Problems with the reference fields in the tables

I have these tables: db.define_table('marcas_definiciones', Field('marca', 'string', label=T('Marca GG')), Field('razon_zocial_gg', 'reference razones_zociales_gg'), Field('ruc', 'string...
asked by 02.01.2016 / 17:25
1
answer

Problem with self-calculated fields in a table

I have this table: db.define_table('cotizaciones', Field('numero_ticket', 'reference tickets'), Field('numero_cotizacion', 'string'), Field('fecha_registro_cotizacion', 'date', default=now),...
asked by 28.01.2016 / 18:35
1
answer

How to make the fields in a table fill by default with values from another table?

This is my billing table db.define_table('facturacion', Field('numero_comprobante', 'string'), Field('numero_cotizacion', 'reference cotizaciones'), Field('cliente', 'reference clientes'),...
asked by 07.01.2016 / 22:04
2
answers

Compile Web2Py in .exe with CX_Freeze

Dear, I have a problem, I want to convert the app created in Web2Py in an .exe app, but when I run cx-freeze it tells me this error: Traceback (most recent call last): File "setup.py", line 10, in <module> from cx_Freeze import...
asked by 10.05.2017 / 15:09
0
answers

Problems with the subtables in an SQLFORM.smartgrid

Good morning, I have a problem ... I'm using a SQLFORM.smartgrid with subtables like this: def personal(): response.view = 'controll/default.html' form = SQLFORM.smartgrid(db.personal, linked_tables=[ 'visitas', 'presupuestos', ], csv=F...
asked by 20.01.2017 / 20:15
2
answers

How do I receive variables in Web2py?

I'm starting with this framework I need help to make a calculator but I need to know how to capture a variable     
asked by 28.09.2017 / 01:35