{ "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" ], "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.\n\n\n", "description_content_type": "", "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": "odoo9-addon-website-snippet-country-dropdown", "package_url": "https://pypi.org/project/odoo9-addon-website-snippet-country-dropdown/", "platform": "", "project_url": "https://pypi.org/project/odoo9-addon-website-snippet-country-dropdown/", "project_urls": { "Homepage": "http://www.tecnativa.com" }, "release_url": "https://pypi.org/project/odoo9-addon-website-snippet-country-dropdown/9.0.1.0.0.99.dev10/", "requires_dist": [ "odoo (<9.1a,>=9.0a)" ], "requires_python": "~=2.7", "summary": "Allow to select country in a dropdown", "version": "9.0.1.0.0.99.dev10" }, "last_serial": 3995566, "releases": { "9.0.1.0.0.99.dev10": [ { "comment_text": "", "digests": { "md5": "ffc3156be0459f33402ac86154d6312b", "sha256": "a4f034e26974e6cff065097dc7a8c67d2877e77be836edf9d675ca08ca8bcea6" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev10-py2-none-any.whl", "has_sig": false, "md5_digest": "ffc3156be0459f33402ac86154d6312b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 28304, "upload_time": "2018-06-24T05:07:31", "url": "https://files.pythonhosted.org/packages/46/49/adb980ace2080807fdeb7f79361593558b23bbf6e2d180b0b6620617bdbf/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev10-py2-none-any.whl" } ], "9.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "43dc26bcf26ab0659f68f4da349c6b21", "sha256": "561208c0233a954ea9c82b2d5e2d6ce8ad82e3858406fd518eedf5419a3432b7" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "43dc26bcf26ab0659f68f4da349c6b21", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 24611, "upload_time": "2017-04-11T21:06:50", "url": "https://files.pythonhosted.org/packages/6f/50/16ce0f4cae90a3e5fcc6f418024c0ef3d87c58d11a0258b6051b81d345b2/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev3-py2-none-any.whl" } ], "9.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "decc3c438030ce5f6d8f955d2b6a183d", "sha256": "a4ef4ed233b8d64abae98db52eb37c1d73cd3eb95c67bda7d97713cc600d2832" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "decc3c438030ce5f6d8f955d2b6a183d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 24744, "upload_time": "2017-04-11T21:06:53", "url": "https://files.pythonhosted.org/packages/61/81/70d03da9b423fb19e0b7c8ae52302f1f1c069bebf0b37f475889cddd4cf7/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev4-py2-none-any.whl" } ], "9.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "5de84470543d8732535f2c9e619d335b", "sha256": "29c91b236cdb292be7c9e4b9e83ded7e7449c05024db2b33dd1b41116fe6c2db" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "5de84470543d8732535f2c9e619d335b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 24943, "upload_time": "2017-04-11T21:06:57", "url": "https://files.pythonhosted.org/packages/30/d4/0aaa8ab4abedd3ac6de832d27f78be703efd0d21f2145316e3019e64bd55/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev5-py2-none-any.whl" } ], "9.0.1.0.0.99.dev6": [ { "comment_text": "", "digests": { "md5": "819d8ad48a97f69da5bd8cbf969203a8", "sha256": "d4ee4276eb56af4e9d85f1248092e37165aa6bb881f933b21a309a4e417de5a0" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev6-py2-none-any.whl", "has_sig": false, "md5_digest": "819d8ad48a97f69da5bd8cbf969203a8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 25969, "upload_time": "2017-04-11T21:07:00", "url": "https://files.pythonhosted.org/packages/ea/f3/d24070905adac5de701d24e48145fcba7dc515750f5e0202d9268fc0e202/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev6-py2-none-any.whl" } ], "9.0.1.0.0.99.dev7": [ { "comment_text": "", "digests": { "md5": "054c032b8cdfec26bd9f1ce363f2e032", "sha256": "e772fcf0a883c13db05cc682c9394ff5738859f5bbb3eea7eb610f6c4894b6aa" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "054c032b8cdfec26bd9f1ce363f2e032", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 25952, "upload_time": "2017-04-11T21:07:05", "url": "https://files.pythonhosted.org/packages/8c/b1/0a8eb5ac9ebdc623e263cc5891bf1874717071d4f6959521fec4dc819066/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev7-py2-none-any.whl" } ], "9.0.1.0.0.99.dev8": [ { "comment_text": "", "digests": { "md5": "b0ce8fe5ae2a269a7ead3ef1b2a797d4", "sha256": "53d57f78d9a9fe3b030e0ce8f039985914624078193d648f32f028836c4dab60" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev8-py2-none-any.whl", "has_sig": false, "md5_digest": "b0ce8fe5ae2a269a7ead3ef1b2a797d4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 26003, "upload_time": "2017-04-11T21:07:09", "url": "https://files.pythonhosted.org/packages/c8/0d/b5f2322007543dc4fd63cccd2f7e4f469b6f4df28e56a3776a0744ea3e85/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev8-py2-none-any.whl" } ], "9.0.1.0.0.99.dev9": [ { "comment_text": "", "digests": { "md5": "4405859fab7d5e2e65b4271b19f50def", "sha256": "74c09bb83fddbefc98f0a4dd96173374de4ed1ecc0c806c5ab8d10dc08605074" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev9-py2-none-any.whl", "has_sig": false, "md5_digest": "4405859fab7d5e2e65b4271b19f50def", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 27307, "upload_time": "2018-01-18T05:35:09", "url": "https://files.pythonhosted.org/packages/85/c5/7d322714be2874c6db143e462238cb06f379c0cd42bf49c98812426f8686/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev9-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffc3156be0459f33402ac86154d6312b", "sha256": "a4f034e26974e6cff065097dc7a8c67d2877e77be836edf9d675ca08ca8bcea6" }, "downloads": -1, "filename": "odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev10-py2-none-any.whl", "has_sig": false, "md5_digest": "ffc3156be0459f33402ac86154d6312b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 28304, "upload_time": "2018-06-24T05:07:31", "url": "https://files.pythonhosted.org/packages/46/49/adb980ace2080807fdeb7f79361593558b23bbf6e2d180b0b6620617bdbf/odoo9_addon_website_snippet_country_dropdown-9.0.1.0.0.99.dev10-py2-none-any.whl" } ] }