{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n========================\nFormulas in Float Fields\n========================\n\nThis module allows the use of simple math formulas in integer/float fields \n(e.g. \"=45 + 4/3 - 5 * (2 + 1)\").\n\n* Only supports parentheses, decimal points, thousands separators, and the \n operators \"+\", \"-\", \"*\", and \"/\"\n* Will use the decimal point and thousands separator characters associated \n with your language\n* If the formula is valid, the result will be computed and displayed, and the \n formula will be stored for editing\n* If the formula is not valid, it's retained in the field as text\n\n**Technical Details**\n\n* Overloads web.form_widgets.FieldFloat (so it works for fields.integer & \n fields.float)\n* Uses the eval() JS function to evaluate the formula\n* Does not do any rounding (this is handled elsewhere)\n* Avoids code injection by applying strict regex to formula prior to eval() \n (e.g. \"=alert('security')\" would not get evaluated)\n\nInstallation\n============\n\nTo install this module, simply follow the standard install process.\n\nConfiguration\n=============\n\nNo configuration is needed or possible.\n\nUsage\n=====\n\nInstall and enjoy. A short demo video can be found at \nhttp://www.youtube.com/watch?v=jQGdD34WYrA.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/162/9.0\n\nKnown Issues / Roadmap\n======================\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smash it by providing detailed and welcomed \nfeedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* Sylvain Le Gal (https://twitter.com/legalsylvain)\n* Oleg Bulkin \n\nMaintainer\n----------\n\n.. image:: http://odoo-community.org/logo.png \n :alt: Odoo Community Association\n :target: http://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose \nmission is to support the collaborative development of Odoo features and \npromote its widespread use.\n\nTo contribute to this module, please visit http://odoo-community.org.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.grap.coop", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo9-addon-web-widget-float-formula", "package_url": "https://pypi.org/project/odoo9-addon-web-widget-float-formula/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odoo9-addon-web-widget-float-formula/", "project_urls": { "Homepage": "http://www.grap.coop" }, "release_url": "https://pypi.org/project/odoo9-addon-web-widget-float-formula/9.0.1.0.0/", "requires_dist": [ "odoo (<9.1a,>=9.0a)" ], "requires_python": "", "summary": "Allow use of simple formulas in float fields", "version": "9.0.1.0.0" }, "last_serial": 3019400, "releases": { "9.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "677089e42dd5d156287365ecf4cc8a9d", "sha256": "a94dc0346fc5c815052bda064e071fc3cbb25ab308c3e3ae806bb617aa038c5b" }, "downloads": -1, "filename": "odoo9_addon_web_widget_float_formula-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "677089e42dd5d156287365ecf4cc8a9d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15309, "upload_time": "2017-04-11T20:55:24", "url": "https://files.pythonhosted.org/packages/c0/d0/1678200a1ae9db8da4dd5b4c63bdbe3c66c3331cdbc56ab7a15432940d39/odoo9_addon_web_widget_float_formula-9.0.1.0.0-py2-none-any.whl" } ], "9.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "3060bd7c31e311b2b32e753d45e074cb", "sha256": "ecd3f72d1e0b5311cc1d964e4f6dcfef6f452377f9d7c580964136613eb6a566" }, "downloads": -1, "filename": "odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "3060bd7c31e311b2b32e753d45e074cb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15486, "upload_time": "2017-04-11T20:55:27", "url": "https://files.pythonhosted.org/packages/73/8f/7b53731a06ac48b041e5fc876301fc6ce8a6e56efe1a631d0d0370573fb2/odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev1-py2-none-any.whl" } ], "9.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "4086be1e81b26dfe13403b20644247ee", "sha256": "d8ce3790376390b4ef3a3f5614228abc2dacddf34b1e289290f38dee2c9e8e00" }, "downloads": -1, "filename": "odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "4086be1e81b26dfe13403b20644247ee", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15481, "upload_time": "2017-04-11T20:55:32", "url": "https://files.pythonhosted.org/packages/e3/14/b665137a2df7104efa3929d2271472316972372b2273862f28d46f54deb7/odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev2-py2-none-any.whl" } ], "9.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "aa0c4f96c30e6b80f0b82b86a369a618", "sha256": "f02d715e6d84557fa380b1fab765224c28b03acb455045e166b8e9ed8819abfa" }, "downloads": -1, "filename": "odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "aa0c4f96c30e6b80f0b82b86a369a618", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15610, "upload_time": "2017-07-13T04:30:29", "url": "https://files.pythonhosted.org/packages/03/f5/a347edde728ef789164f2adc9360e579d3291c3ff88893ace696df747a81/odoo9_addon_web_widget_float_formula-9.0.1.0.0.99.dev3-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "677089e42dd5d156287365ecf4cc8a9d", "sha256": "a94dc0346fc5c815052bda064e071fc3cbb25ab308c3e3ae806bb617aa038c5b" }, "downloads": -1, "filename": "odoo9_addon_web_widget_float_formula-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "677089e42dd5d156287365ecf4cc8a9d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15309, "upload_time": "2017-04-11T20:55:24", "url": "https://files.pythonhosted.org/packages/c0/d0/1678200a1ae9db8da4dd5b4c63bdbe3c66c3331cdbc56ab7a15432940d39/odoo9_addon_web_widget_float_formula-9.0.1.0.0-py2-none-any.whl" } ] }