Hi all.
We would like to inform you that the finalization work of the V7 alpha phase is in full swing.
Your help will soon be needed for testing, translation updates and documentation revisions.
Here are some V7 functionalities suggested from the community:
*
on_request server function: this function handles all app requests. With on_request, we solved custom login and registration forms where custom errors can be created (like "user, doesn't exist, wrong password, etc). Here is a demo project for custom long and registration.
Here is a project.
* OR condition is handled in set_where method which make filtering more flexible:
Examples
server-side:
cust.set_where({'firstname__contains': 'ni', 'orop': {'city': 'Paris', 'country': 'Germany'}})
cust.set_where(firstname__contains='ni', orop={'city': 'Paris', 'country': 'Germany'})
client-side:
task.customers.set_where({firstname__contains: 'ni', orop: {city: 'Paris', country: 'Germany'}})
generated where clause:
WHERE UPPER("DEMO_CUSTOMERS"."FIRSTNAME") LIKE \'%NI%\' AND ("DEMO_CUSTOMERS"."CITY" = ? OR "DEMO_CUSTOMERS"."COUNTRY" = ?) AND "DEMO_CUSTOMERS"."DELETED" = 0'
In set_where instead orop can be used any other string
* fields with image type now can be shown in reports:
- add the following line in the on_generate event handler loop.
photo = {'image': c.photo.file_path}
- in ods template, add variable %(photo)s and
anchor it to the cell
* calculated fields: now, we can add calculated fields to an item based on details. See video in attachment
* full mobile responsive design where developers can set form parameters for desktop, tablet and mobile device to control form behavior on these devices
and many more functionalities. You can see the Demo project in V7 design
here.
Regards
Danijel Kaurin