From 6977562d36edc8d9320d2f4838df8a5aa677be61 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 17 Jul 2015 16:45:13 +0200 Subject: [PATCH] [PORT][WIP] 'web_widget_float_formula' : recover last changes from 7.0 branch; --- web_widget_float_formula/__init__.py | 4 ++-- web_widget_float_formula/__openerp__.py | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/web_widget_float_formula/__init__.py b/web_widget_float_formula/__init__.py index 97833ca3..41a41f91 100644 --- a/web_widget_float_formula/__init__.py +++ b/web_widget_float_formula/__init__.py @@ -1,4 +1,4 @@ # -*- encoding: utf-8 -*- -################################################################################ +############################################################################### # See __openerp__.py file for Copyright and Licence Informations. -################################################################################ +############################################################################### diff --git a/web_widget_float_formula/__openerp__.py b/web_widget_float_formula/__openerp__.py index 9f004bbd..ba90a4b5 100644 --- a/web_widget_float_formula/__openerp__.py +++ b/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': [], }