Print Policy Mixin

Info Description

Print Policy Mixin is a core mixin module in the @simetri-sinergi-id/ssi-mixin technology suite for Odoo 15. It provides a standardised, configurable print-document framework that adds a Print button to any Odoo model via an abstract mixin — without requiring changes to the base model's views.

The module ships three main components:

Features Key Features

Use Cases Use Cases / Context

Use this mixin whenever you need a flexible, policy-driven print button on a custom Odoo model:

Simply inherit mixin.print_document, set _automatically_insert_print_button = True, and configure Print Document Types via the menu.

Install Installation & Usage

  1. Clone branch 15.0 of the repository: https://github.com/simetri-sinergi-id/ssi-mixin
  2. Add the path to this repository in your Odoo configuration (addons-path).
  3. Update the module list (ensure you are in developer mode).
  4. Go to Apps → Apps → Main Apps, search for Print Policy Mixin, and install.
  5. Go to Reporting → Print Document Types to create types and link reports.
  6. In your custom model, inherit the mixin and set the flag:
    _inherit = ["mixin.print_document"]
    _automatically_insert_print_button = True

FAQs FAQ

Bug Tracker 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 smash it by providing detailed and welcomed feedback.

Credits Credits & Contributors

This module is developed and maintained by PT. Simetri Sinergi Indonesia.