Browse Source

[REF] change description in the __openerp__.py file.

pull/4/head
Sylvain LE GAL 11 years ago
parent
commit
110eafa8a7
  1. 39
      web_widget_float_formula/__openerp__.py

39
web_widget_float_formula/__openerp__.py

@ -7,38 +7,38 @@
'version': '1.0', 'version': '1.0',
'category': 'web', 'category': 'web',
'description': """ 'description': """
Allow to write simple mathematic formules in Integer / Float fields
Allow to write simple mathematic formulas in Integer / Float fields
=================================================================== ===================================================================
Functionnalities :
Functionnalities:
------------------ ------------------
* Possibility to tip a text like "=45 + 4/3 - 5 * (2 +1)" ;
* if the formula is correct, The result will be computed and displayed ;
* if the formula is not correct, the initial text is displayed ;
* Possibility to tip a text like "=45 + 4/3 - 5 * (2 +1)";
* if the formula is correct, The result will be computed and displayed;
* if the formula is not correct, the initial text is displayed;
Documentations :
Documentations:
------------------ ------------------
* Video : http://www.youtube.com/watch?v=jQGdD34WYrA&hd=1
* Video: http://www.youtube.com/watch?v=jQGdD34WYrA&hd=1
Technical informations :
Technical informations:
------------------------ ------------------------
* 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[...]") ;
* avoid code injonction by regexpr test : "=alert('security')" is not valid ;
* 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[...]");
* avoid code injonction by regexpr test: "=alert('security')" is not valid;
Limits :
Limits:
-------- --------
* Only supports the four operators : "+" "-" "*" "/" and parenthesis ;
* Only supports the four operators: "+" "-" "*" "/" and parenthesis;
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 :
---------- ----------
* Sylvain LE GAL (https://twitter.com/legalsylvain);
* Sylvain LE GAL (https://twitter.com/legalsylvain);
* <informatique@grap.coop> for any help or question about this module. * <informatique@grap.coop> for any help or question about this module.
""", """,
'author': 'GRAP', 'author': 'GRAP',
@ -47,9 +47,8 @@ Contacts :
'depends': [ 'depends': [
'web', 'web',
], ],
'init_xml': [],
'update_xml': [],
'demo_xml': [],
'data': [],
'demo': [],
'js': [ 'js': [
'static/src/js/models.js', 'static/src/js/models.js',
], ],

Loading…
Cancel
Save