{ "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": "odoo10-addon-cms-info", "package_url": "https://pypi.org/project/odoo10-addon-cms-info/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-cms-info/", "project_urls": { "Homepage": "https://github.com/OCA/website-cms" }, "release_url": "https://pypi.org/project/odoo10-addon-cms-info/10.0.1.0.0/", "requires_dist": [ "odoo (<10.1dev,>=10.0)", "odoo10-addon-cms-delete-content" ], "requires_python": "~=2.7", "summary": "A set of basic information needed on all published records.", "version": "10.0.1.0.0" }, "last_serial": 5083097, "releases": { "10.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "da28ddbfde46a469cd72b9b9e46f3e1d", "sha256": "7981f12d7ac543d8af21568445a1929dbb12db91077e766e0a0769becc35d310" }, "downloads": -1, "filename": "odoo10_addon_cms_info-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "da28ddbfde46a469cd72b9b9e46f3e1d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 8238, "upload_time": "2018-05-11T04:35:06", "url": "https://files.pythonhosted.org/packages/2b/0f/65b285d4749c99e37933cfbe02b5894a90977159ae29990c2a87a3406ae8/odoo10_addon_cms_info-10.0.1.0.0-py2-none-any.whl" } ], "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "c49af56830a57e623082fedf1c36a93a", "sha256": "0331749910997e9726b7d473765b07dec031c39bb165f25d51f8c596b48b0be3" }, "downloads": -1, "filename": "odoo10_addon_cms_info-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "c49af56830a57e623082fedf1c36a93a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 6936, "upload_time": "2018-10-28T05:38:10", "url": "https://files.pythonhosted.org/packages/6a/67/0528ebfd001ca94464ba1f53e77bc23f1c6d546cbe9e9ed16dc9e175fcc2/odoo10_addon_cms_info-10.0.1.0.0.99.dev1-py2-none-any.whl" } ], "10.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "1a66fdf9f8073cd65900b88a572bfc59", "sha256": "8c94dc701e3a8d7023b872f4d25b044eef8080ab7fc503e8af3620fefcf8aec1" }, "downloads": -1, "filename": "odoo10_addon_cms_info-10.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "1a66fdf9f8073cd65900b88a572bfc59", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 16510, "upload_time": "2019-04-03T04:56:04", "url": "https://files.pythonhosted.org/packages/a8/3f/ea2ae7ee3e621158a53d2da12bf5668bafda64201e8eccbdf65304b5e68b/odoo10_addon_cms_info-10.0.1.0.0.99.dev2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da28ddbfde46a469cd72b9b9e46f3e1d", "sha256": "7981f12d7ac543d8af21568445a1929dbb12db91077e766e0a0769becc35d310" }, "downloads": -1, "filename": "odoo10_addon_cms_info-10.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "da28ddbfde46a469cd72b9b9e46f3e1d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 8238, "upload_time": "2018-05-11T04:35:06", "url": "https://files.pythonhosted.org/packages/2b/0f/65b285d4749c99e37933cfbe02b5894a90977159ae29990c2a87a3406ae8/odoo10_addon_cms_info-10.0.1.0.0-py2-none-any.whl" } ] }