Skip to main content

SSI - Decorator

Project description

License: AGPL-3

SSI - Decorator

ssi_decorator provides a view-decoration framework for Odoo 14 that allows model methods to declaratively inject XML fragments into form, tree, and search views at runtime.

Any model that inherits from mixin.decorator can define methods marked with the SSI decorator tags:

  • _insert_on_form_view — called to modify the form-view XML.

  • _insert_on_tree_view — called to modify the list-view XML.

  • _insert_on_search_view — called to modify the search-view XML.

During fields_view_get the mixin discovers all such methods via introspection and runs them in order, allowing modules to extend views from other modules entirely in Python without writing XML inherit records.

Installation

To install this module, you need to:

  1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin

  2. Add the path to this repository in your configuration (addons-path)

  3. Update the module list (Must be on developer mode)

  4. Go to menu Apps -> Apps -> Main Apps

  5. Search For SSI - Decorator

  6. Install the module

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

Contributors

Maintainer

PT. Simetri Sinergi Indonesia

This module is maintained by the PT. Simetri Sinergi Indonesia.

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 odoo14_addon_ssi_decorator-14.0.1.5.2.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_decorator-14.0.1.5.2.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf465ed5c5f817ee0bfb0ecefdd5c98f3ca9c675ef4dbee75c48592daa6c344
MD5 28c9d6165ec228082d09dc3a87f83f36
BLAKE2b-256 d8fc10ecbe871ca5d677dcabc97a89b7dd7ff5def5cf1d1816b6e8fe47e871ac

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