{ "info": { "author": "Creu Blanca,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: https://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n====================\nBase report fill PDF\n====================\n\nThis module provides a basic report class that fills pdfs.\n\nInstallation\n============\n\nMake sure you have ``fdfgen`` Python module installed::\n\n$ pip install fdfgen\n\nFor testing it is also necessary ``pdftk`` app installed:\n\nUbuntu ::\n\n apt-get install pdftk\n\nOSX ::\n\n * Install pdftk (https://www.pdflabs.com/tools/pdftk-server/).\n\nWindows ::\n\n * Install pdftk (https://www.pdflabs.com/tools/pdftk-server/).\n\nUsage\n=====\n\nAn example of Fill PDF report for partners on a module called `module_name`:\n\nA python class ::\n\n from odoo import models\n\n class PartnerFillPDF(models.AbstractModel):\n _name = 'report.module_name.report_name'\n _inherit = 'report.report_fillpdf.abstract'\n\n @api.model\n def get_original_document_path(self, data, objs):\n return get_resource_path(\n 'report_fillpdf', 'static/src/pdf', 'partner_pdf.pdf')\n\n @api.model\n def get_document_values(self, data, objs):\n objs.ensure_one()\n return {'name': objs.name}\n\nA computed form can be executed modifying the computing function ::\n\n from odoo import models\n\n class PartnerFillPDF(models.AbstractModel):\n _name = 'report.module_name.report_name'\n _inherit = 'report.report_fillpdf.abstract'\n\n @api.model\n def get_form(self, data, objs):\n return self.env['ir.attachment'].search([], limit=1)\n\n @api.model\n def get_document_values(self, data, objs):\n objs.ensure_one()\n return {'name': objs.name}\n\n\nA report XML record ::\n\n \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/143/11.0\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\nContributors\n------------\n\n* Enric Tobella \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": "http://github.com/oca/reporting-engine", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-report-fillpdf", "package_url": "https://pypi.org/project/odoo11-addon-report-fillpdf/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-report-fillpdf/", "project_urls": { "Homepage": "http://github.com/oca/reporting-engine" }, "release_url": "https://pypi.org/project/odoo11-addon-report-fillpdf/11.0.1.0.1/", "requires_dist": [ "fdfgen", "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Base module that fills PDFs", "version": "11.0.1.0.1" }, "last_serial": 4099426, "releases": { "11.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "48194ea4852351193ac1e199fc40bcbc", "sha256": "04d90cda3fdee00027564c90756e60fafa0610db2e8aa5ddc092c79b4b00968e" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48194ea4852351193ac1e199fc40bcbc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 30478, "upload_time": "2017-12-23T05:31:10", "url": "https://files.pythonhosted.org/packages/a6/7a/5f4cc0fca4f05f93d852aea87a2f0d0f7b59456ecdbd0cfce213a412d401/odoo11_addon_report_fillpdf-11.0.1.0.0-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "cb042a16d8a404e47b9105c244045474", "sha256": "5712b638dbae2147462bbe78297763d4988280f7b235541e065132aaf4e8aff0" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb042a16d8a404e47b9105c244045474", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31486, "upload_time": "2017-12-31T05:35:18", "url": "https://files.pythonhosted.org/packages/5f/78/c00cd1dcef440d5791486d8ab24e28926802dd05a31093a282ff42f367e1/odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "c949405eeaabd5bbdb426ca0bac79f39", "sha256": "56102d1e7751f1867112ade42ad306d9ecfc4c4d98503657fba8ac104b00f1fe" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c949405eeaabd5bbdb426ca0bac79f39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31500, "upload_time": "2018-01-06T05:30:59", "url": "https://files.pythonhosted.org/packages/15/11/294469929fca9d0bf8b545b35378824d3743738768cf0f5af0512f7447be/odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev3-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "8e1361b9c72bdfdd6421b29e0f0650c6", "sha256": "24912e4857c558232604536a18e4fc9fa78c6b3320e3b4cedba2c9c8df28277e" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8e1361b9c72bdfdd6421b29e0f0650c6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 32397, "upload_time": "2018-03-04T05:44:55", "url": "https://files.pythonhosted.org/packages/37/cc/2b15329185caae4207efcc47254ed68ccb86253e5d750bffe5fbf8f5d730/odoo11_addon_report_fillpdf-11.0.1.0.0.99.dev4-py2.py3-none-any.whl" } ], "11.0.1.0.1": [ { "comment_text": "", "digests": { "md5": "d6591e10bd12749ae80297eda38e1eab", "sha256": "d438c3bdf8a5a8caceab2ea9176a3a563c4370d9ae87a60d118bffca8dc78280" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6591e10bd12749ae80297eda38e1eab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 32269, "upload_time": "2018-03-20T05:30:38", "url": "https://files.pythonhosted.org/packages/37/f5/faa8c1894ae9965c8e67f68dc8964983b7712101668502623ab37552e98e/odoo11_addon_report_fillpdf-11.0.1.0.1-py2.py3-none-any.whl" } ], "11.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "59255fb8da579fae283203f6a84326e2", "sha256": "d7e12339e6c8ccfcec9e2cdd1ab43e4aaab8a2e1a672ec61070e0213113cc095" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.1.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "59255fb8da579fae283203f6a84326e2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 33092, "upload_time": "2018-07-25T04:51:09", "url": "https://files.pythonhosted.org/packages/09/dd/5085c767e166de9ab9be82b33e628dd769b3f7ef15189ac60d8240a74d86/odoo11_addon_report_fillpdf-11.0.1.0.1.99.dev1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6591e10bd12749ae80297eda38e1eab", "sha256": "d438c3bdf8a5a8caceab2ea9176a3a563c4370d9ae87a60d118bffca8dc78280" }, "downloads": -1, "filename": "odoo11_addon_report_fillpdf-11.0.1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6591e10bd12749ae80297eda38e1eab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 32269, "upload_time": "2018-03-20T05:30:38", "url": "https://files.pythonhosted.org/packages/37/f5/faa8c1894ae9965c8e67f68dc8964983b7712101668502623ab37552e98e/odoo11_addon_report_fillpdf-11.0.1.0.1-py2.py3-none-any.whl" } ] }