{"id":22307956,"url":"https://github.com/akretion/xsdata-odoo","last_synced_at":"2025-07-29T05:32:21.520Z","repository":{"id":50740933,"uuid":"421080358","full_name":"akretion/xsdata-odoo","owner":"akretion","description":"Odoo abstract model generator from xsd schemas using xsdata","archived":false,"fork":false,"pushed_at":"2025-07-14T06:09:22.000Z","size":427,"stargazers_count":9,"open_issues_count":6,"forks_count":9,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-14T09:12:25.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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,"zenodo":null}},"created_at":"2021-10-25T15:28:42.000Z","updated_at":"2025-06-04T17:11:08.000Z","dependencies_parsed_at":"2024-02-25T02:25:12.784Z","dependency_job_id":"790be16e-d814-4d68-ab5b-bbc12329af36","html_url":"https://github.com/akretion/xsdata-odoo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/akretion/xsdata-odoo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fxsdata-odoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fxsdata-odoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fxsdata-odoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fxsdata-odoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akretion","download_url":"https://codeload.github.com/akretion/xsdata-odoo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Fxsdata-odoo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267633670,"owners_count":24118777,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-03T20:12:40.176Z","updated_at":"2025-07-29T05:32:21.506Z","avatar_url":"https://github.com/akretion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Odoo abstract model generator from xsd schemas using xsdata\n\n[![codecov](https://codecov.io/gh/akretion/xsdata-odoo/branch/master/graph/badge.svg)](https://codecov.io/gh/akretion/xsdata-odoo)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/xsdata-odoo.svg)](https://pypi.org/pypi/xsdata-odoo/)\n[![PyPI version](https://img.shields.io/pypi/v/xsdata-odoo.svg)](https://pypi.org/pypi/xsdata-odoo/)\n\n- [`xsdata`](https://xsdata.readthedocs.io/) based replacement of\n  [generateds-odoo](https://github.com/akretion/generateds-odoo)\n- heavily inspired by [xsdata-plantuml](https://github.com/tefra/xsdata-plantuml)\n- explanations: [YouTube Video](https://www.youtube.com/watch?v=6gFOe7Wh8uA)\n\n## Install\n\n```console\n$ # Install with cli support\n$ pip install xsdata[cli]\n$ pip install git+https://github.com/akretion/xsdata-odoo\n```\n\n## Generate Abstract Odoo Models\n\nOdoo Abstract Models for the Microsoft Purchase Order demo schema:\n\n```console\n$ xsdata generate tests/fixtures/po/po.xsd --output=odoo\nParsing schema po.xsd\nCompiling schema po.xsd\nBuilder: 6 main and 1 inner classes\nAnalyzer input: 6 main and 1 inner classes\nAnalyzer output: 5 main and 1 inner classes\nGenerating package: generated.po\n```\n\nOdoo Abstract Models for the Brazilian Electronic Invoices (NF-e):\n\n```console\n$ export XSDATA_SCHEMA=nfe; export XSDATA_VERSION=40; export XSDATA_SKIP=\"^ICMS.ICMS\\d+|^ICMS.ICMSSN\\d+\"; export XSDATA_LANG=\"portuguese\"\n$ # assuming you are in an akretion/nfelib clone or you downloaded the NFe schemas in nfelib/schemas/nfe/v4_0:\n$ xsdata generate nfelib/nfe/schemas/v4_0 --package nfelib.nfe.odoo.v4_0 --output=odoo\nGenerating package: init\nGenerating package: nfelib.nfe.odoo.v4_0.xmldsig_core_schema_v1_01\nGenerating package: nfelib.nfe.odoo.v4_0.tipos_basico_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.leiaute_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.leiaute_cons_sit_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.cons_reci_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.cons_sit_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.leiaute_cons_stat_serv_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.cons_stat_serv_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.envi_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.leiaute_inut_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.inut_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.proc_inut_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.proc_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.ret_cons_reci_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.ret_cons_sit_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.ret_cons_stat_serv_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.ret_envi_nfe_v4_00\nGenerating package: nfelib.nfe.odoo.v4_0.ret_inut_nfe_v4_0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Fxsdata-odoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakretion%2Fxsdata-odoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Fxsdata-odoo/lists"}