{ "info": { "author": "Tecnativa, IT-Projects LLC, 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 Multi Theme\n===================\n\nAllow the website admin to set a different theme for each website.\n\nThe *theme* might be not just a theme-module, but any set of themes and even\nparticular views from any module (e.g. view ``website.custom_footer`` from\n``website`` module). It also means, that *theme* is not just a styling, but\na content as well.\n\nHow it works\n============\n\nCore idea is as following\n\n* Find views created by *theme-module* and mark them as *multi-views* (``website.theme.asset``) additionally to one specified manually via XML (see `demo/themes.xml `_ as an example). The method `_convert_assets `_ is responsible for it.\n\n* Set ``active`` to ``False`` for *multi-views*. See method `_find_and_deactivate_views `_.\n\n* Apply *Multi-theme* (record in new model ``website.theme``) to the specific\n website. See method `_multi_theme_activate `_\n\n * Make some magic with technical views ``website.assets_frontend`` and ``website.layout``.\n\n * Duplicate *patterns* from `templates/patterns.xml `_\n * In ``layout_pattern`` replace ``{theme_view}`` placeholder to a duplicate\n of ``assets_pattern``\n * Corresponding duplicated *pattern* will be used as a new value for\n ``inherit_id`` field in duplicated *multi-views* that originally extend\n ``web.assets_frontend``, ``website.assets_frontend`` or\n ``website.layout``.\n\n * Duplicate *multi-views* of the *multi-theme* and its *dependencies* (other\n *multi-themes*). In duplicates, the field ``inherit_id`` is changed to other\n duplicated views or duplicated *patterns* when possible\n\nInstallation\n============\n\nTo make this module work, you need to either:\n\n* Install any of the officially supported themes:\n\n * theme_bootswatch\n\n* Install any of the unofficially supported themes (at your own risk):\n\n * theme_anelusia\n * theme_artists\n * theme_avantgarde\n * theme_beauty\n * theme_bewise\n * theme_bistro\n * theme_bookstore\n * theme_clean\n * theme_enark\n * theme_graphene\n * theme_kea\n * theme_loftspace\n * theme_mongolia\n * theme_nano\n * theme_notes\n * theme_odoo_experts\n * theme_orchid\n * theme_treehouse\n * theme_vehicle\n * theme_yes\n * theme_zap\n\nThemes in the above lists will become multiwebsite when installed along this\nmodule. **If they get installed after ``website_multi_theme``, update this\nmodule manually**, or it will not be notified of such change.\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Go to *Website Admin > Configuration > Settings* and choose or create\n a *Website*.\n#. Press *Advanced > Multiwebsite theme > Reload*.\n#. In *Advanced > Multiwebsite theme*, pick one of the available themes.\n\nOnce you save, any website that has no *Multiwebsite theme* selected will have,\nthe default plain Bootstrap theme, and those that do have one will get it.\n\nOf course, your Odoo instance must be reachable by all of the provided host\nnames, or nobody will ever see the effect. But that is most likely configured\nthrough your DNS provider and/or proxy, so it is not a matter of this addon.\n\nIf you want to test this behavior, think that ``localhost`` and ``127.0.0.1``\nare different host names.\n\nUsage\n=====\n\nTo use this module, you need to:\n\n#. Follow the configuration steps.\n#. Enter any of the websites you modified.\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/10.0\n\nDevelopment FAQ\n===============\n\nHow to develop a multiwebsite-ready theme?\n------------------------------------------\n\nCheck ``demo/themes.xml``. It includes a demo theme that will serve as a\ntemplate for you. This demo theme turns primary buttons green, so you can test\nif it is applied or not easily.\n\nHow to convert a single-website theme in a multi-website one?\n-------------------------------------------------------------\n\nCheck ``data/themes_bootswatch.xml``. You must do that. You can consider adding\nthe support directly in this addon, given it will just do nothing if the\nsingle-website theme addon is not installed (it acts as a soft dependency).\n\nHow to get multiwebsite-specific views updated?\n-----------------------------------------------\n\nThis addon is conservative by default, meaning that in production databases\nviews will not be updated if they already were created (except for the ones\ncopied from ``templates/patterns.xml``).\n\nTo force your website getting updated views for all views from a base theme\nthat has changed, you should disable the website multi theme (to make the\nengine remove all views) and then re-enable it again (to recreate them from\nscratch).\n\nThis does not happen in demo or development instances, where views arch is\nalways updated.\n\nKnown issues / Roadmap\n======================\n\n* Private themes support is not guaranteed.\n* There is no UI to remove websites. Do it through an odoo shell.\n* Theme picker should include some kind of thumbnail if possible.\n* If you install any of the supported themes after installing this addon, you\n will have to press *Reload* in the website config wizard to make it notice\n the change.\n* If you install any unsupported theme along with this addon, it would possibly\n become the base for all those supported, which can easily lead to weird\n situations and errors.\n* This addon will not work if your Odoo is not patched. Make sure it is updated\n before installing. It must include these commits:\n\n - https://github.com/odoo/odoo/commit/15bf41270d3abb607e7b623b59355594cad170cf\n - https://github.com/odoo/odoo/commit/7c6714d7fee4125f037ef194f9cff5235a6c5320\n - https://github.com/odoo/odoo/commit/48fe0a595308722a26afd5361432f24c610b4ba0\n\nCredits\n=======\n\nContributors\n------------\n\n* Rafael Blasco \n* Antonio Espinosa \n* Jairo Llopis \n* Ivan Yelizariev \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": "https://www.tecnativa.com", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-website-multi-theme", "package_url": "https://pypi.org/project/odoo10-addon-website-multi-theme/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-website-multi-theme/", "project_urls": { "Homepage": "https://www.tecnativa.com" }, "release_url": "https://pypi.org/project/odoo10-addon-website-multi-theme/10.0.1.4.0/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "~=2.7", "summary": "Support different theme per website", "version": "10.0.1.4.0" }, "last_serial": 5284867, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "6f3e96d35334054603d4f814d5e836d7", "sha256": "0cde186feef0c6a670de21e69b80b47f0df9e5ed583852c21a124318007aff62" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6f3e96d35334054603d4f814d5e836d7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 35218, "upload_time": "2017-08-29T04:30:38", "url": "https://files.pythonhosted.org/packages/0b/8b/3ea7a0c884de7ad528aebdc06f5eb97099f277e9baacaf7209f31c3b56fc/odoo10_addon_website_multi_theme-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "9343ee7c552aeb5e273a939a8df9a257", "sha256": "2392201463dbbc53d627cc8c38780505ed17c6bb72493dc4cf429cc6b41a67d0" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "9343ee7c552aeb5e273a939a8df9a257", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 35367, "upload_time": "2017-09-08T04:30:10", "url": "https://files.pythonhosted.org/packages/bb/bc/98f8050d4ea1f2701f00cfd50d8ce3bf4a95f3ced3cb50289dd95d862a08/odoo10_addon_website_multi_theme-10.0.1.0.0.99.dev1-py2-none-any.whl" } ], "10.0.1.0.1": [ { "comment_text": "", "digests": { "md5": "7ba262cdf87ccacd5540e0f9405beb0e", "sha256": "e7ceb8e98b4ed459319ba62ff5f504f570f4ce78cecf76858ea307008f8b7747" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "7ba262cdf87ccacd5540e0f9405beb0e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 35218, "upload_time": "2018-03-10T05:30:16", "url": "https://files.pythonhosted.org/packages/81/e5/17e28632a725c386e07aab973a0a557513e5b178443958b95212ffd7e80b/odoo10_addon_website_multi_theme-10.0.1.0.1-py2-none-any.whl" } ], "10.0.1.0.2": [ { "comment_text": "", "digests": { "md5": "bee60fa705d5a94b5cf1694f5b21cbfe", "sha256": "9529fcafcd6f63859ff994b37559baaa08fd40648c31d989b3ac36d2b2369ee4" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "bee60fa705d5a94b5cf1694f5b21cbfe", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 35399, "upload_time": "2018-03-15T05:30:22", "url": "https://files.pythonhosted.org/packages/84/2e/e879abc3db1b5b1ce6c9110ec14429f882ad02d98e056e27c7444647cb42/odoo10_addon_website_multi_theme-10.0.1.0.2-py2-none-any.whl" } ], "10.0.1.0.3": [ { "comment_text": "", "digests": { "md5": "d7f5850de61e5e474a6e204d1cbdc0b5", "sha256": "3fca0ea11e338fe3dc842f35bce3762a9d5236067fc5f5c1cf9cd7baaa505bbb" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d7f5850de61e5e474a6e204d1cbdc0b5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 36424, "upload_time": "2018-04-04T04:32:02", "url": "https://files.pythonhosted.org/packages/1b/b2/0a9776154d0aa29fe533d0f1c6d8f28de26d814f288bbf041c3a892c450e/odoo10_addon_website_multi_theme-10.0.1.0.3-py2-none-any.whl" } ], "10.0.1.0.4.99.dev1": [ { "comment_text": "", "digests": { "md5": "17e41cf23c7eb5e86fbc86aa3c385205", "sha256": "99c4defd499107c95a353a1710d024b5c2db48315658664e7077722c837e42f4" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.0.4.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "17e41cf23c7eb5e86fbc86aa3c385205", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 37700, "upload_time": "2018-04-04T04:32:03", "url": "https://files.pythonhosted.org/packages/b9/58/4930dc1d7ab0e5f160e27d1d3cd61468bf39bd7ba8b22875ebb1a07c7078/odoo10_addon_website_multi_theme-10.0.1.0.4.99.dev1-py2-none-any.whl" } ], "10.0.1.1.0": [ { "comment_text": "", "digests": { "md5": "e55f1b0a7fde3db4c3abfd39dd00e8b3", "sha256": "f9887bffe366bc996de0ec1880c945d81fa57f7610e4233824ce633d1381b8b1" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "e55f1b0a7fde3db4c3abfd39dd00e8b3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 38138, "upload_time": "2018-04-13T04:30:08", "url": "https://files.pythonhosted.org/packages/64/e6/3cf9349b10fb2bc0fa5a544e174c3bc709dc48338326ea404b46e4f23346/odoo10_addon_website_multi_theme-10.0.1.1.0-py2-none-any.whl" } ], "10.0.1.1.1": [ { "comment_text": "", "digests": { "md5": "3d2ae2efbaa8376d5b154d061887b7e9", "sha256": "82984edc51a52d0c0cc2082e86793c3266575924e3c8f6cef2add8714a28e678" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "3d2ae2efbaa8376d5b154d061887b7e9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 38164, "upload_time": "2018-04-20T04:30:26", "url": "https://files.pythonhosted.org/packages/f8/66/651929822e34fa6b1c31cb723b3718f191ea92cc9cd2c9a7f865cb46ad25/odoo10_addon_website_multi_theme-10.0.1.1.1-py2-none-any.whl" } ], "10.0.1.2.0": [ { "comment_text": "", "digests": { "md5": "c856fcfe0fde7226c2809b83153d9058", "sha256": "eb50f923f768f42d6b9554f093e2cfefe8a315a6883cd2b6bb469856718b231f" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c856fcfe0fde7226c2809b83153d9058", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 43259, "upload_time": "2018-04-24T04:45:54", "url": "https://files.pythonhosted.org/packages/4a/d9/f1288dae80a1597391b552275bf0e637abeb48b16700b6db13cd7cf30d07/odoo10_addon_website_multi_theme-10.0.1.2.0-py2-none-any.whl" } ], "10.0.1.3.0": [ { "comment_text": "", "digests": { "md5": "dc5025d72c70fa2409120ab4cb616644", "sha256": "e1841efc78c064516647f2405ba3af6c9e13450cc64f309b5e8793dd2b118b6a" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "dc5025d72c70fa2409120ab4cb616644", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 45817, "upload_time": "2018-04-29T04:45:52", "url": "https://files.pythonhosted.org/packages/fb/68/13e26ca0124ce461e272860f34825737cc65bd77e0c902237bbcd73633b0/odoo10_addon_website_multi_theme-10.0.1.3.0-py2-none-any.whl" } ], "10.0.1.3.2": [ { "comment_text": "", "digests": { "md5": "85a54f18b8a2b1a572bb791f87b4d692", "sha256": "2b4d11685995c409bdaec31c3c30b66a2adc4ace482b825ea11716f19a1956d9" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.3.2-py2-none-any.whl", "has_sig": false, "md5_digest": "85a54f18b8a2b1a572bb791f87b4d692", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61335, "upload_time": "2018-05-02T04:45:47", "url": "https://files.pythonhosted.org/packages/05/86/c1f11bb1b371b6b6f25cef6596bcec98301dc570030f957bb4e73818d613/odoo10_addon_website_multi_theme-10.0.1.3.2-py2-none-any.whl" } ], "10.0.1.3.3.99.dev1": [ { "comment_text": "", "digests": { "md5": "d9d51c7da9b560844bb9a2fc493c0868", "sha256": "8e615f2988953b251955625f9a1c65796583766a4189c3e9ca91e889fa4ab058" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.3.3.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "d9d51c7da9b560844bb9a2fc493c0868", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61516, "upload_time": "2018-05-04T04:46:28", "url": "https://files.pythonhosted.org/packages/29/79/ba7a3f130f942675e821ce0bf6019bfb45e676f852bc325c7a071e5015da/odoo10_addon_website_multi_theme-10.0.1.3.3.99.dev1-py2-none-any.whl" } ], "10.0.1.3.3.99.dev2": [ { "comment_text": "", "digests": { "md5": "cff7e7be6d1de9d2604cb3d3b58f52f5", "sha256": "99b0bd14ce8eb47f2d1451ef9e09c15c15e8924d80a4abcc89a5d0987654db52" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.3.3.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "cff7e7be6d1de9d2604cb3d3b58f52f5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61531, "upload_time": "2018-05-09T04:46:14", "url": "https://files.pythonhosted.org/packages/b8/d6/833693d9664394b6c0960859a15b9582e109b53241b18ca50eb6e18f364b/odoo10_addon_website_multi_theme-10.0.1.3.3.99.dev2-py2-none-any.whl" } ], "10.0.1.4.0": [ { "comment_text": "", "digests": { "md5": "fbc079ae147beb6c3d3522959b1ebfaa", "sha256": "b1bce2b4b59e45c9f344d492a16ba4ec7eb89d4305488fc10fd53c6e116a1034" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.4.0-py2-none-any.whl", "has_sig": false, "md5_digest": "fbc079ae147beb6c3d3522959b1ebfaa", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61434, "upload_time": "2018-05-16T04:47:14", "url": "https://files.pythonhosted.org/packages/fc/d4/fa5f4ee1aa7a8b6bb71f988627bfd7bcae3e72c03d5fa033822b67143bbe/odoo10_addon_website_multi_theme-10.0.1.4.0-py2-none-any.whl" } ], "10.0.1.4.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "17da32799b8780822b125e0f0ba42974", "sha256": "e3a71ee560d691b7ea0107d05934370268aa644f8c3e04f834e6635ecd3fa94a" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "17da32799b8780822b125e0f0ba42974", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 65649, "upload_time": "2018-06-22T04:51:46", "url": "https://files.pythonhosted.org/packages/bf/6a/3f0344ef9d1cfad87d84265d909bebbd5f0e01b00444a58151e267a70c8f/odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev1-py2-none-any.whl" } ], "10.0.1.4.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "0987c46e79c967843e60fa615fca0310", "sha256": "1eab72445ecd11cbc09b8967a055bae5b5fe01515a3a90976edaad45b41eff93" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "0987c46e79c967843e60fa615fca0310", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 65733, "upload_time": "2018-06-26T04:49:13", "url": "https://files.pythonhosted.org/packages/75/3e/89b1c3336c6d1b6c166f313da748a5c4e1aa4bd7c863f4fb2aa351780a3b/odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev2-py2-none-any.whl" } ], "10.0.1.4.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "f215255e827f93559720ed52a64e9455", "sha256": "ec049e9439d99c096b0f6862824578f909685cc0b52959525ccf5ac5d1152550" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "f215255e827f93559720ed52a64e9455", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61853, "upload_time": "2019-05-18T05:05:11", "url": "https://files.pythonhosted.org/packages/c3/ce/08cea586723862b3db007f27c0c95973573d3075afd4c1d6eb5b804102d4/odoo10_addon_website_multi_theme-10.0.1.4.0.99.dev3-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fbc079ae147beb6c3d3522959b1ebfaa", "sha256": "b1bce2b4b59e45c9f344d492a16ba4ec7eb89d4305488fc10fd53c6e116a1034" }, "downloads": -1, "filename": "odoo10_addon_website_multi_theme-10.0.1.4.0-py2-none-any.whl", "has_sig": false, "md5_digest": "fbc079ae147beb6c3d3522959b1ebfaa", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61434, "upload_time": "2018-05-16T04:47:14", "url": "https://files.pythonhosted.org/packages/fc/d4/fa5f4ee1aa7a8b6bb71f988627bfd7bcae3e72c03d5fa033822b67143bbe/odoo10_addon_website_multi_theme-10.0.1.4.0-py2-none-any.whl" } ] }