Skip to main content

Publication of HTML/PDF Reports in SENAITE

Project description

senaite.impress
  • SENAITE.IMPRESS: Publication of HTML/PDF Reports in SENAITE

https://img.shields.io/pypi/v/senaite.impress.svg?style=flat-square https://img.shields.io/github/issues-pr/senaite/senaite.impress.svg?style=flat-square https://img.shields.io/github/issues/senaite/senaite.impress.svg?style=flat-square https://img.shields.io/badge/README-GitHub-blue.svg?style=flat-square

About

SENAITE IMPRESS is basically a rendering engine for HTML documents to PDF. It supports any kind of international paperformat with their corresponding paper dimensions, portrait and landscape orientation and merging of multiple PDFs to one document.

Installation

Please follow the installations instructions for Plone 4 and senaite.lims.

To install SENAITE IMPRESS, you have to add senaite.impress into the eggs list inside the [buildout] section of your buildout.cfg:

[buildout]
parts =
    instance
extends =
    http://dist.plone.org/release/4.3.18/versions.cfg
find-links =
    http://dist.plone.org/release/4.3.18
    http://dist.plone.org/thirdparty
eggs =
    Plone
    Pillow
    senaite.lims
    senaite.impress
zcml =
eggs-directory = ${buildout:directory}/eggs

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 0.0.0.0:8080
eggs =
    ${buildout:eggs}
zcml =
    ${buildout:zcml}

[versions]
setuptools =
zc.buildout =

Note

The above example works for the buildout created by the unified installer. If you however have a custom buildout you might need to add the egg to the eggs list in the [instance] section rather than adding it in the [buildout] section.

Also see this section of the Plone documentation for further details: https://docs.plone.org/4/en/manage/installing/installing_addons.html

Important

For the changes to take effect you need to re-run buildout from your console:

bin/buildout

Installation Requirements

The following versions are required for SENAITE IMPRESS:

  • Plone 4.3.18

  • senaite.core >= 1.2.9

  • senaite.core.supermodel >= 1.0.0

  • senaite.lims >= 1.2.0

  • senaite.api >= 1.2.0

Changelog

1.1.0 (2018-10-04)

  • #44: Changed field ChildAnalysisRequest -> Retest

  • #42: Combine Attachments coming from Request and Analysis together for unified grouping/sorting

  • #41: Default reports update

  • #40: Customizable report options

  • #37: Added hyphenize and get_transition_date helper methods

  • #36: Allow JS injection and custom report scripts

  • #34: Pass through the calculated dimensions to the template

  • #33: Include D3JS and support for Range Graphs

  • #32: Added language selector

  • #31: Fix sort order of uniquified items

  • #30: Keep order of grouped items

  • #29: Added report developer mode

  • #28: Fixed i18n domain for time localization

  • #27: Refactored Report Adapters to Multi Adapters

  • #25: Added controlpanel descriptions

  • #24: Control individual report generation for multi-report PDFs

  • #23: Fixed multi client report handling

  • #21: Improved email template

  • #19: Allow additional attachments in publication email

  • #18: Fixed barcode rendering in multi-colum report

  • #17: Fix alert section overlapping of the header section

  • #16: Fix unicode error in sort method

  • #15: Handle commas in recipient email name better

  • #13: Fix bootstrap columns CSS for WeasyPrint

  • #12: Added upgrade-step machinery

  • #11: Refactored to ReportModel -> SuperModel

1.0.2 (2018-07-10)

  • #8: Better Print CSS

  • #7: Correct margin calculation

  • #6: Updated default report templates

1.0.1 (2018-06-23)

  • Pinned senaite.api>=1.2.0

  • Updated PyPI page

1.0.0 (2018-06-23)

  • Initial Release

Project details


Download files

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

Source Distribution

senaite.impress-1.1.0.zip (1.7 MB view details)

Uploaded Source

Built Distribution

senaite.impress-1.1.0-py2-none-any.whl (1.6 MB view details)

Uploaded Python 2

File details

Details for the file senaite.impress-1.1.0.zip.

File metadata

  • Download URL: senaite.impress-1.1.0.zip
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for senaite.impress-1.1.0.zip
Algorithm Hash digest
SHA256 2907f68fa7a55029dd4296eca29118e9c04f24d863104706ba3b190b4cd5ce69
MD5 75f9078e6d4a4a32af777e23b7159db0
BLAKE2b-256 9bdc89ffcf72fd29234607f3d3a67d2d89dafc651789549c61e4c60002bb9c5d

See more details on using hashes here.

File details

Details for the file senaite.impress-1.1.0-py2-none-any.whl.

File metadata

  • Download URL: senaite.impress-1.1.0-py2-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for senaite.impress-1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 60b9f8cd16a021d764e0d671c75933becbb52b13be3b394b1085a3253c353df0
MD5 abb77b517773d43eed5b729502a7308a
BLAKE2b-256 f9e19c335ee26793b91147e4a99257b287f0439506d457f24abc974ade0ffef5

See more details on using hashes here.

Supported by

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