{ "info": { "author": "Akretion, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl\n :alt: License: AGPL-3\n\n===============\nMail Inline CSS\n===============\n\nWhen you send HTML emails you can't use style tags but instead you have\nto put inline ``style`` attributes on every element. So from this:\n\n.. code:: html\n\n \n \n

Peter

\n

Hej

\n \n\nYou want this:\n\n.. code:: html\n\n \n

Peter

\n

Hej

\n \n\nThis module use premailer library to do this. \n\nIt parses an HTML page, looks up ``style`` blocks\nand parses the CSS. It then uses the ``lxml.html`` parser to modify the\nDOM tree of the page accordingly.\n\nInstallation\n============\n\nTo install this module, you need first to install `premailer` python library with:\n\n.. code:: bash\n\n pip install premailer\n\n\nUsage\n=====\n\nJust use any mail template as Odoo standard feature\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/205/10\n\n\nNote:\n\n Odoo with module web_editor already implements this feature on the client side (js).\n This module brings this server side feature for cases without js part. It could the more stable way over the Odoo versions with a stable api in a dedicated library \n with adhoc python unit tests.\n\n\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 smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* David BEAL \n\nDo not contact contributors directly about support or help with technical issues.\n\nFunders\n-------\n\nThe development of this module has been financially supported by:\n\n* Akretion\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://github.com/OCA/social", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-mail-inline-css", "package_url": "https://pypi.org/project/odoo10-addon-mail-inline-css/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-mail-inline-css/", "project_urls": { "Homepage": "https://github.com/OCA/social" }, "release_url": "https://pypi.org/project/odoo10-addon-mail-inline-css/10.0.1.0.0.99.dev4/", "requires_dist": [ "odoo (<10.1dev,>=10.0)", "premailer" ], "requires_python": "~=2.7", "summary": "Convert style tags in inline style in your mails", "version": "10.0.1.0.0.99.dev4" }, "last_serial": 5084983, "releases": { "10.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "e1da9ce87ea7b3c229062fcf22231da0", "sha256": "911d4aca459f2f714c116140a484ce4570369a39991042421621bc269882e7bd" }, "downloads": -1, "filename": "odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "e1da9ce87ea7b3c229062fcf22231da0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 8950, "upload_time": "2018-01-12T05:30:25", "url": "https://files.pythonhosted.org/packages/5b/29/21e86738eddc98365ee56035088abda323553089366b3fe6fd4979dda91e/odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev1-py2-none-any.whl" } ], "10.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "007572545cc37595f7cda7973f5dcd2d", "sha256": "12c0214f1543958964c109e60def6ef677df9e7fbb075a980019131ceb28cf1d" }, "downloads": -1, "filename": "odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "007572545cc37595f7cda7973f5dcd2d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 14137, "upload_time": "2018-01-17T05:32:40", "url": "https://files.pythonhosted.org/packages/d0/78/9cbd135a286d0b23cb7b6f4bb72355d36cb0e42e2a2e60fb7bdab4d3a9db/odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev2-py2-none-any.whl" } ], "10.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "676d1408327e49f33edd11f362bd5e2b", "sha256": "a44a01fc5921be7333348dc73454dd0bf9d2334647242004a65f289fc46a88ce" }, "downloads": -1, "filename": "odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "676d1408327e49f33edd11f362bd5e2b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 14631, "upload_time": "2018-06-24T05:09:29", "url": "https://files.pythonhosted.org/packages/d9/4a/1db557d59e66b1c7a24e0d18266754d550ab258aab799d5cb03581ac04c4/odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev3-py2-none-any.whl" } ], "10.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "430ba412844dc992dcf02782dbf7ae6a", "sha256": "5f6ff1ccb1e89b5f889636f23502af55cd6950fe0aba7793b8b71a72b68480a9" }, "downloads": -1, "filename": "odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "430ba412844dc992dcf02782dbf7ae6a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 21919, "upload_time": "2019-04-03T05:39:21", "url": "https://files.pythonhosted.org/packages/2e/7a/0386bc6705fbce8f97e5ada68bbca7c246d1b8b5a978cb2d72ddde3a7fc6/odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev4-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "430ba412844dc992dcf02782dbf7ae6a", "sha256": "5f6ff1ccb1e89b5f889636f23502af55cd6950fe0aba7793b8b71a72b68480a9" }, "downloads": -1, "filename": "odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "430ba412844dc992dcf02782dbf7ae6a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 21919, "upload_time": "2019-04-03T05:39:21", "url": "https://files.pythonhosted.org/packages/2e/7a/0386bc6705fbce8f97e5ada68bbca7c246d1b8b5a978cb2d72ddde3a7fc6/odoo10_addon_mail_inline_css-10.0.1.0.0.99.dev4-py2-none-any.whl" } ] }