{ "info": { "author": "Camptocamp, 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.png\n :target: http://www.gnu.org/licenses/LGPL-3.0-standalone.html\n :alt: License: LGPL-3\n\n========\nCMS Info\n========\n\nProvide basic information for website records / models via `website.published.mixin`.\nThis module is meant to be used as a base to build your own CMS.\n\nNew attributes\n--------------\n\n* ``cms_create_url``: lead to create view. By default ``/cms/create/my.model``\n* ``cms_search_url``: lead to search view. By default ``/cms/search/my.model``\n* ``cms_edit_url`` (computed field): lead to edit view. By default ``/cms/edit/my.model/model_id``\n\n.. note:: No routing provided.\n This attributes provide only basic information on contents' URLs.\n If you use `cms_form` default routes are handled automatically.\n If not, is up to you to provide your own routes to handle them.\n\n\nPermission and extra information\n--------------------------------\n\n* ``record.cms_is_owner()``: current user is the owner of the record?\n* ``record.cms_can_edit()``: current user can edit this record?\n* ``record.cms_can_publish()``: current user can publish this record?\n* ``record.cms_can_delete()``: current user can delete this record?\n* ``model.cms_can_create()``: current user can create a new record?\n\n\nInfo all in one\n---------------\n\nWhen you build CMS UIs you need all those info at once.\nThis module provides also an helper method `cms_info()`\nthat gives you back a dictionary containing:\n\n* `is_owner`: True/False,\n* `can_edit`: True/False,\n* `can_create`: True/False,\n* `can_publish`: True/False,\n* `can_delete`: True/False,\n* `create_url`\n* `edit_url`\n* `delete_url`\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.\n\n\nCredits\n=======\n\nContributors\n------------\n\n* Simone Orsi \n\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 mission is to support the collaborative development of Odoo features and promote 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://github.com/OCA/website-cms", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-cms-info", "package_url": "https://pypi.org/project/odoo11-addon-cms-info/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-cms-info/", "project_urls": { "Homepage": "https://github.com/OCA/website-cms" }, "release_url": "https://pypi.org/project/odoo11-addon-cms-info/11.0.1.0.2/", "requires_dist": [ "odoo11-addon-cms-delete-content", "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "A set of basic information needed on all published records.", "version": "11.0.1.0.2" }, "last_serial": 5713214, "releases": { "11.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "bbcbb18c50c0f2170a0a41b38b6b401f", "sha256": "7c58069613b41caca23e5a4db76022c3ad1c3d4c6584e164649b5b5f240d35ec" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bbcbb18c50c0f2170a0a41b38b6b401f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7864, "upload_time": "2018-04-28T04:43:49", "url": "https://files.pythonhosted.org/packages/ef/a3/1baf1ede5b2855bc17d36d346967fe154a744ee630615b9ec9559d7e49af/odoo11_addon_cms_info-11.0.1.0.0.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "e17f313df0dfe81187d94c4aa24a268f", "sha256": "2e76d69c1d29e4fb2499898c35f57ebe91f7d2872580c99c20cf4cb0ce7bd652" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.0.99.dev2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e17f313df0dfe81187d94c4aa24a268f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 8448, "upload_time": "2018-06-29T04:47:21", "url": "https://files.pythonhosted.org/packages/7f/4f/ebcf6f61b633f940aecd6067fdb187a439e70c6109e787e64e875c420534/odoo11_addon_cms_info-11.0.1.0.0.99.dev2-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "37450bbadaf1fa81366f42fe07bcb7e3", "sha256": "ec787cac49ecdc68df2d68e9a642df75a809fc11db7ba3f71b702b55497a5fe5" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.0.99.dev4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "37450bbadaf1fa81366f42fe07bcb7e3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 8911, "upload_time": "2019-01-18T05:52:53", "url": "https://files.pythonhosted.org/packages/5f/81/d0d1675647b7e0c45002150de1967d2e07c9eca1285cc48cccaf87eee61e/odoo11_addon_cms_info-11.0.1.0.0.99.dev4-py2.py3-none-any.whl" } ], "11.0.1.0.1": [ { "comment_text": "", "digests": { "md5": "079eff9882c90f03766e85d838896eb1", "sha256": "d64f9d485adcd3dd7ed4d39117c9d19b646e42054938ed0c54f887cf278c818b" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "079eff9882c90f03766e85d838896eb1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 8898, "upload_time": "2019-01-19T05:52:13", "url": "https://files.pythonhosted.org/packages/aa/53/6f2e524a01f96706fb911ddbf5d82d77e245f90f81de08d948850dc525ca/odoo11_addon_cms_info-11.0.1.0.1-py2.py3-none-any.whl" } ], "11.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "1bdeec359e35a17b93b8bd3582198820", "sha256": "3ea16fe702879831d1e99e7721b76704cf4119f7d9963e09768fbc1af93b8178" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.1.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1bdeec359e35a17b93b8bd3582198820", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 18545, "upload_time": "2019-04-03T05:40:50", "url": "https://files.pythonhosted.org/packages/a7/11/f99a1eaa89a5622313217da59e30e4047626eaea01320c85e9335b3ae4fb/odoo11_addon_cms_info-11.0.1.0.1.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.0.2": [ { "comment_text": "", "digests": { "md5": "f4697f6b5b1871fadb347e761dfc87fe", "sha256": "21a0409ab5340f2f8a0f91cf0f543b35673b0f86b38c823bcebf9c2c1c2f41bc" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4697f6b5b1871fadb347e761dfc87fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 18453, "upload_time": "2019-08-22T05:06:07", "url": "https://files.pythonhosted.org/packages/fd/50/61abf3f3660c8ab7c6d6c21267442ae9853764b5250099067ac864bd369f/odoo11_addon_cms_info-11.0.1.0.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4697f6b5b1871fadb347e761dfc87fe", "sha256": "21a0409ab5340f2f8a0f91cf0f543b35673b0f86b38c823bcebf9c2c1c2f41bc" }, "downloads": -1, "filename": "odoo11_addon_cms_info-11.0.1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4697f6b5b1871fadb347e761dfc87fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 18453, "upload_time": "2019-08-22T05:06:07", "url": "https://files.pythonhosted.org/packages/fd/50/61abf3f3660c8ab7c6d6c21267442ae9853764b5250099067ac864bd369f/odoo11_addon_cms_info-11.0.1.0.2-py2.py3-none-any.whl" } ] }