Browse Source

[PORT][WIP] 'web_widget_float_formula' : recover last changes from 7.0 branch;

pull/182/head
Sylvain LE GAL 10 years ago
parent
commit
6977562d36
  1. 4
      web_widget_float_formula/__init__.py
  2. 17
      web_widget_float_formula/__openerp__.py

4
web_widget_float_formula/__init__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
################################################################################
###############################################################################
# See __openerp__.py file for Copyright and Licence Informations.
################################################################################
###############################################################################

17
web_widget_float_formula/__openerp__.py

@ -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': [],
}
Loading…
Cancel
Save