{"id":22307858,"url":"https://github.com/akretion/odoo-py3o-report-templates","last_synced_at":"2025-04-09T22:17:49.267Z","repository":{"id":56529042,"uuid":"76544047","full_name":"akretion/odoo-py3o-report-templates","owner":"akretion","description":"Sample reports (quotation, PO, picking, invoice...) for report_py3o","archived":false,"fork":false,"pushed_at":"2025-01-30T02:35:53.000Z","size":4922,"stargazers_count":34,"open_issues_count":2,"forks_count":37,"subscribers_count":24,"default_branch":"16.0","last_synced_at":"2025-04-09T22:17:45.659Z","etag":null,"topics":["odoo","py3o","quotations"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akretion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-15T09:17:24.000Z","updated_at":"2025-04-09T13:29:26.000Z","dependencies_parsed_at":"2023-01-28T19:45:52.434Z","dependency_job_id":"9a8dfc74-69f6-4106-bc6a-a416007720c9","html_url":"https://github.com/akretion/odoo-py3o-report-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fodoo-py3o-report-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fodoo-py3o-report-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fodoo-py3o-report-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fodoo-py3o-report-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akretion","download_url":"https://codeload.github.com/akretion/odoo-py3o-report-templates/tar.gz/refs/heads/16.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119286,"owners_count":21050755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["odoo","py3o","quotations"],"created_at":"2024-12-03T20:12:16.835Z","updated_at":"2025-04-09T22:17:49.231Z","avatar_url":"https://github.com/akretion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odoo-py3o-sample-report\n\nThis repository groups modules that provide *py3o templates* for basic Odoo reports.\n\nDependencies:\n=============\nThe py3o templates in this repository use the module [report_py3o](https://github.com/OCA/reporting-engine/tree/10.0/report_py3o) from the OCA [report-engine](https://github.com/OCA/reporting-engine) repository.\n\nIt requires the following Python dependencies:\n````\npip install py3o.template\npip install py3o.formats\n````\nTemplating with LibreOffice :\n=============\n[py3o.template](https://bitbucket.org/faide/py3o.template/overview) allows to create templates directly on [LibreOffice](http://www.libreoffice.org/), following the syntax available on the [py3o.template documentation](http://py3otemplate.readthedocs.io/en/latest/templating.html).\n\n\nTracking .odt business document evolution :\n=============\nThere are 3 available options to track changes in your .odt template :\n\n* Use the [Compare Document](https://help.libreoffice.org/Common/Compare_Document) native option in LibreOffice\n* Extract the .xml of your two .odt documents and compare it with classic `git diff` or `gitk` tools. Be aware that the text on the header and the footer are located in a separate .xml file from the main text.\n* Use classic `git diff` or `gitk` tools after converting the .odt binary files to plain text formats:\n  1. Install [odt2txt](https://github.com/dstosberg/odt2txt)\n      sudo apt-get update\n      sudo apt-get install odt2txt\n  2. Add `*.odt diff=odt` in your git attributes file `~/.config/git/attributes`, if you want to add this attribute on a global level configuration, creating a new `attributes` file if necessary.\n\n  If you want to add this attributes only on a project level configuration, add it in `\u003cyour project dir\u003e/.gitattributes`.\n\n  3. In your global git config file `~/.gitconfig` add the reading option :\n    ````\n    [diff \"odt\"]\n        textconv = odt2txt\n        binary = true\n    ````\n\nWriting py3o Format Functions in LibreOffice input-fields\n=============\nIt is possible to write py3o format functions like `py3o://function=\"lang== ' '\"` or `py3o://function=\"format_multiline_value()\"` in LibreOffice *input-fields* instead of using the *hyperlink* method, using this [patch](https://bitbucket.org/faide/py3o.template/pull-requests/32/allow-to-use-libreoffice-input-fields-for/diff).\n\nAuthors:\n========\n- Copyright (C) 2015-TODAY Akretion (http://www.akretion.com).\n- Alexis de Lattre \u003calexis.delattre@akretion.com\u003e\n\nLicense:\n========\nAGPL-V3\n\n(Work in progress)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Fodoo-py3o-report-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakretion%2Fodoo-py3o-report-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Fodoo-py3o-report-templates/lists"}