{ "info": { "author": "Tecnativa, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n\n=====================================\nWebsite Snippet Country Code Dropdown\n=====================================\n\nThis module adds a snippet with a dropdown and an input text field, is a base\nfor be inherited by others modules into an HTML form.\n\nThis can be inserted into form elements.\n\nUsage\n=====\n\nTo extend this template you need to inherit ``country_dropdown`` template and\nadd your personal code.\n\nThe template have three input text:\n\n#. ``no_country_field``: Field without code country.\n#. ``country_code_field``: Field with only country code (read only)\n#. ``complete_field``: Field with the previous two joined (hidden)\n\nThe name of the complete field is customizable when user insert the snippet\ninto a form element with the website editor.\n\nDevelopment\n===========\n\nYou can call the reusable Qweb template called\n``website_snippet_country_dropdown.country_dropdown`` in your views to add a\nsensible country-combined field, ideal for *VATs*.\n\nThe default country will be the first match among:\n\n#. Extract it from the ``default_country`` variable.\n#. Extract it from the first 2 letters of the ``default_value`` variable.\n#. The current user's country.\n#. The current website's company's country.\n#. The first country in the list.\n\nAll variables you can use to modify its behavior:\n\n* ``complete_field`` to give it a name. Usually it will match the field name.\n* ``default_value`` for the ``complete_field``.\n* ``countries`` as a ``res.country`` ORM recordset.\n* ``default_country`` as a ``res.country`` record.\n* ``no_country_placeholder``.\n\nYou can view an example in ``website_sale_checkout_country_vat`` in\nOCA/e-commerce.\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/186/9.0\n\nKnown issues / Roadmap\n======================\n\n* Add tests.\n* Flag images should be lazy-loaded to optimize loading.\n* Snippet drag and drop `seems to be blocked by Odoo for some unknown reason.\n `_.\n Given the main purpose of this module is to provide a reusable template for\n other modules to use, did not take the time to fix that use case.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smashing it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Sergio Teruel \n* Jairo Llopis \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://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 https://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.tecnativa.com", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-website-snippet-country-dropdown", "package_url": "https://pypi.org/project/odoo10-addon-website-snippet-country-dropdown/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odoo10-addon-website-snippet-country-dropdown/", "project_urls": { "Homepage": "http://www.tecnativa.com" }, "release_url": "https://pypi.org/project/odoo10-addon-website-snippet-country-dropdown/10.0.1.0.0/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "", "summary": "Allow to select country in a dropdown", "version": "10.0.1.0.0" }, "last_serial": 5284882, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "22d2731ee1901179f193a9d24adcbbe7", "sha256": "a9c72b14cc07997a862077c7cb252950219c3d5ee8145fa44e0afd9df7592aff" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "22d2731ee1901179f193a9d24adcbbe7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 27117, "upload_time": "2017-06-09T04:30:58", "url": "https://files.pythonhosted.org/packages/f4/56/2216fa68feeea838bb7625daa97e6b4dcbd6c9aa90ce2e467bfbb927f712/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "2f81efbfed09328bc2d6b345bc746e80", "sha256": "cb8467beac8986c75ba68305b81426afc651ebbff0ea4b99a0fadec8b86bcb9d" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "2f81efbfed09328bc2d6b345bc746e80", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 26928, "upload_time": "2017-06-11T04:34:42", "url": "https://files.pythonhosted.org/packages/44/a0/ab204eb3d154c9603855581cedb306a90cbc5d62e74190a11bc9365865c3/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev1-py2-none-any.whl" } ], "10.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "6afd42132e93679b328323c5760e1da3", "sha256": "398e17e0ebb69459c7c9d789802886e710d78394c6ff133f15c9ad86a1c6781f" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "6afd42132e93679b328323c5760e1da3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 27168, "upload_time": "2017-08-06T04:31:42", "url": "https://files.pythonhosted.org/packages/c1/47/6d1bec95173769e38c9bdd003e9be8698105fd6a9ea09667f1ad4f68fbd0/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev2-py2-none-any.whl" } ], "10.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "034669380f84ce4e12b0502b07130092", "sha256": "79229b54a3be1385184a40462f9aadda32c41bef78a034c6b7119a0ff1350796" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "034669380f84ce4e12b0502b07130092", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 28054, "upload_time": "2018-06-22T04:53:57", "url": "https://files.pythonhosted.org/packages/0e/7d/dfb33e88373d7b9f06772c7ce05ac6484e91541a066e886f6c9575ad36fe/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev3-py2-none-any.whl" } ], "10.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "0a7a3de37c9f5ca988730718c9f3fb42", "sha256": "16369e7bde17d2d90d324cbe46b41a89fa3c908be06f5a1d66bfa0958fb015cf" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "0a7a3de37c9f5ca988730718c9f3fb42", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 25457, "upload_time": "2019-05-18T05:08:55", "url": "https://files.pythonhosted.org/packages/ce/27/61725cc707c0f703e0e231911317e84a9845d594ac2e43951fd522e722c3/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0.99.dev4-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "22d2731ee1901179f193a9d24adcbbe7", "sha256": "a9c72b14cc07997a862077c7cb252950219c3d5ee8145fa44e0afd9df7592aff" }, "downloads": -1, "filename": "odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "22d2731ee1901179f193a9d24adcbbe7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 27117, "upload_time": "2017-06-09T04:30:58", "url": "https://files.pythonhosted.org/packages/f4/56/2216fa68feeea838bb7625daa97e6b4dcbd6c9aa90ce2e467bfbb927f712/odoo10_addon_website_snippet_country_dropdown-10.0.1.0.0-py2-none-any.whl" } ] }