Skip to main content

Partner Address Hide PDF Fields

Beta License: AGPL-3 sygel-technology/sy-partner-contact

This module adds base methods in res partner to hide new address fields in PDF but not in the res_partner_many_to_one internal widget.

It is a technical module meant to be used by developers: it does not change any behavior on its own. When combined with another module that adds new fields to the partner address, it allows those fields to be shown in the UI but hidden from the address printed in documents like invoices or quotations.

Table of contents

Installation

To install this module, you need to:

  • Only install

Configuration

To configure this module, you need to:

  • Only install

Usage

Suppose you have a new module that adds two fields: ‘field_id’ and ‘field_name’

To use this module, you need to inherit it in your new module, and add the new fields to the _hided_in_pdf_address_fields() function of ‘res.partner’:

@api.model
def _hided_in_pdf_address_fields(self):
    return super()._hided_in_pdf_address_fields() + [
      'field_id',
      'field_name'
    ]

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Sygel

Contributors

  • Sygel:

    • Valentín Vinagre

    • Alberto Martínez

Maintainers

This module is part of the sygel-technology/sy-partner-contact project on GitHub.

You are welcome to contribute.

Metadata

Release files for odoo-addon-partner-address-hide-pdf-fields 18.0.1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-partner-address-hide-pdf-fields 18.0.1.1.0
File Interpreter ABI Platform Actions
odoo_addon_partner_address_hide_pdf_fields-18.0.1.1.0-py3-none-any.whl Python 3 none any Details for odoo_addon_partner_address_hide_pdf_fields-18.0.1.1.0-py3-none-any.whl

Release files / odoo_addon_partner_address_hide_pdf_fields-18.0.1.1.0-py3-none-any.whl

Download URL odoo_addon_partner_address_hide_pdf_fields-18.0.1.1.0-py3-none-any.whl
Size 42.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77591202a6e4bdc98991101d32cf318c0dc840d0301d96deb29587bc967661f6
BLAKE2b-256 checksum
How to use checksums
c42fdda4bd39fc8d4d3850d006385b6df969ce94c174740c7796a034cc1cf365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for odoo-addon-partner-address-hide-pdf-fields 18.0.1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page