|
|
@ -1,7 +1,7 @@ |
|
|
|
# -*- encoding: utf-8 -*- |
|
|
|
################################################################################ |
|
|
|
############################################################################### |
|
|
|
# See Copyright and Licence Informations undermentioned. |
|
|
|
################################################################################ |
|
|
|
############################################################################### |
|
|
|
{ |
|
|
|
'name': 'Web Widget - Formulas in Float fields', |
|
|
|
'version': '1.0', |
|
|
@ -22,9 +22,11 @@ Documentations: |
|
|
|
|
|
|
|
Technical informations: |
|
|
|
------------------------ |
|
|
|
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer & fields.float); |
|
|
|
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer & |
|
|
|
fields.float); |
|
|
|
* To compute, the module simply use the eval() javascript function; |
|
|
|
* Rounding computation is not done by this module (The module has the same behaviour if the user tips "=1/3" or if he tips "0.33[...]"); |
|
|
|
* Rounding computation is not done by this module (The module has the same |
|
|
|
behaviour if the user tips "=1/3" or if he tips "0.33[...]"); |
|
|
|
* avoid code injonction by regexpr test: "=alert('security')" is not valid; |
|
|
|
|
|
|
|
Limits: |
|
|
@ -33,7 +35,8 @@ Limits: |
|
|
|
|
|
|
|
Copyright and Licence: |
|
|
|
----------------------- |
|
|
|
* 2013, Groupement Régional Alimentaire de Proximité (http://www.grap.coop/) |
|
|
|
* 2013, Groupement Régional Alimentaire de Proximité |
|
|
|
(http://www.grap.coop/) |
|
|
|
* Licence: AGPL-3 (http://www.gnu.org/licenses/) |
|
|
|
|
|
|
|
Contacts : |
|
|
@ -46,7 +49,7 @@ Contacts : |
|
|
|
'license': 'AGPL-3', |
|
|
|
'depends': [ |
|
|
|
'web', |
|
|
|
], |
|
|
|
], |
|
|
|
'data': [], |
|
|
|
'demo': [], |
|
|
|
'js': [ |
|
|
@ -57,7 +60,7 @@ Contacts : |
|
|
|
'images': [], |
|
|
|
'post_load': '', |
|
|
|
'application': False, |
|
|
|
'installable': False, |
|
|
|
'installable': True, |
|
|
|
'auto_install': False, |
|
|
|
'images': [], |
|
|
|
} |