{ "info": { "author": "GRAP, LasLabs, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "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/10.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.\n\n\n", "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": "odoo10-addon-web-widget-float-formula", "package_url": "https://pypi.org/project/odoo10-addon-web-widget-float-formula/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-web-widget-float-formula/", "project_urls": { "Homepage": "http://www.grap.coop" }, "release_url": "https://pypi.org/project/odoo10-addon-web-widget-float-formula/10.0.1.0.0/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "", "summary": "Allow use of simple formulas in float fields", "version": "10.0.1.0.0" }, "last_serial": 3995582, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "c570bfe9e19fe69ec5de45cd26eb9dc6", "sha256": "a039a088869bd3efd8f5303fd31707a224f5c955b34316b1b6e24dad6261e807" }, "downloads": -1, "filename": "odoo10_addon_web_widget_float_formula-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c570bfe9e19fe69ec5de45cd26eb9dc6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15635, "upload_time": "2017-09-10T04:30:04", "url": "https://files.pythonhosted.org/packages/fc/0e/702e79c5fe8b2edf166a29b588e2e438fcda138425b58dbc6fea0a69747e/odoo10_addon_web_widget_float_formula-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "baf1bbd0144b0cc5d9206502ded77101", "sha256": "51711795d9b95295e28eb610c5c6cb371fcf081f8584667df98e1e5da3ebfa72" }, "downloads": -1, "filename": "odoo10_addon_web_widget_float_formula-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "baf1bbd0144b0cc5d9206502ded77101", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 16284, "upload_time": "2018-06-24T05:07:53", "url": "https://files.pythonhosted.org/packages/6d/df/4f9f478d76d5c39954ed9482e6d27ac82cdec129fb541d0c4e0aefe365fc/odoo10_addon_web_widget_float_formula-10.0.1.0.0.99.dev1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c570bfe9e19fe69ec5de45cd26eb9dc6", "sha256": "a039a088869bd3efd8f5303fd31707a224f5c955b34316b1b6e24dad6261e807" }, "downloads": -1, "filename": "odoo10_addon_web_widget_float_formula-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c570bfe9e19fe69ec5de45cd26eb9dc6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15635, "upload_time": "2017-09-10T04:30:04", "url": "https://files.pythonhosted.org/packages/fc/0e/702e79c5fe8b2edf166a29b588e2e438fcda138425b58dbc6fea0a69747e/odoo10_addon_web_widget_float_formula-10.0.1.0.0-py2-none-any.whl" } ] }