Skip to main content

No project description provided

Project description

List all reports with json2

res = requests.post(
    f"{BASE_URL}/json/2/ir.actions.report/search_read",
    headers=headers,
    json={
        "context": {"lang": "fr_FR"},
        "fields": ['name', "report_name", "model", "report_type"],
    }
)
res.raise_for_status()
data = res.json()
print(data)

Get a report with json2

res = requests.get(
    f"{BASE_URL}/json/2/report/pdf/stock.action_report_picking/1",
    headers=headers
)
res.raise_for_status()
print(res.content)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file mangono_addon_json2_report_controller-19.0.1.1.2-py3-none-any.whl.

File metadata

  • Download URL: mangono_addon_json2_report_controller-19.0.1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mangono_addon_json2_report_controller-19.0.1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec2249544e65bb2557de07b9863581c1fdd164da36dcbcee2b0324a3b825842
MD5 be46aca81c03a7e1cf1f41e7d6fde05a
BLAKE2b-256 ddcb4654270cb8bc20e74484f4ceded2b1c1a96af33c8385fe7559436be0383a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page