|
@ -1,7 +1,7 @@ |
|
|
# -*- encoding: utf-8 -*- |
|
|
# -*- encoding: utf-8 -*- |
|
|
################################################################################ |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
# See Copyright and Licence Informations undermentioned. |
|
|
# See Copyright and Licence Informations undermentioned. |
|
|
################################################################################ |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
{ |
|
|
{ |
|
|
'name': 'Web Widget - Formulas in Float fields', |
|
|
'name': 'Web Widget - Formulas in Float fields', |
|
|
'version': '1.0', |
|
|
'version': '1.0', |
|
@ -22,9 +22,11 @@ Documentations: |
|
|
|
|
|
|
|
|
Technical informations: |
|
|
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; |
|
|
* 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; |
|
|
* avoid code injonction by regexpr test: "=alert('security')" is not valid; |
|
|
|
|
|
|
|
|
Limits: |
|
|
Limits: |
|
@ -33,7 +35,8 @@ Limits: |
|
|
|
|
|
|
|
|
Copyright and Licence: |
|
|
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/) |
|
|
* Licence: AGPL-3 (http://www.gnu.org/licenses/) |
|
|
|
|
|
|
|
|
Contacts : |
|
|
Contacts : |
|
@ -46,7 +49,7 @@ Contacts : |
|
|
'license': 'AGPL-3', |
|
|
'license': 'AGPL-3', |
|
|
'depends': [ |
|
|
'depends': [ |
|
|
'web', |
|
|
'web', |
|
|
], |
|
|
|
|
|
|
|
|
], |
|
|
'data': [], |
|
|
'data': [], |
|
|
'demo': [], |
|
|
'demo': [], |
|
|
'js': [ |
|
|
'js': [ |
|
@ -57,7 +60,7 @@ Contacts : |
|
|
'images': [], |
|
|
'images': [], |
|
|
'post_load': '', |
|
|
'post_load': '', |
|
|
'application': False, |
|
|
'application': False, |
|
|
'installable': False, |
|
|
|
|
|
|
|
|
'installable': True, |
|
|
'auto_install': False, |
|
|
'auto_install': False, |
|
|
'images': [], |
|
|
'images': [], |
|
|
} |
|
|
} |