Skip to main content

Project Template Origin

This module extends the project management functionality by tracking the origin template of projects that are created from templates.

Features

  • Template Origin Tracking: Adds a project_template_id field to track which template a project was copied from

  • Automatic Template Reference: When copying a project, the template origin is automatically preserved

  • Settings Tab Integration: Displays the template origin in the project’s settings tab as a read-only field

Technical Details

Dependencies

  • project_template: This module depends on the project_template module for template functionality

Models

Project

Extends project.project with:

  • project_template_id (Many2one): Reference to the project template this project was copied from

Methods

  • copy(): Overrides the copy method to preserve template origin when copying projects

Views

  • project.xml: Adds the project_template_id field to the settings tab of the project form view

Installation

  1. Ensure the project_template module is installed

  2. Install this module through the Odoo interface or by adding it to your addons path

Usage

  1. Create a project and mark it as a template using the project_template module

  2. Copy the project using the template functionality

  3. The copied project will show the original template in the “Project Template Origin” field in the settings tab

Testing

Run the test suite:

python -m pytest project_template_origin/tests/

The module includes comprehensive tests covering:

  • Template origin field functionality

  • Project copying with template preservation

  • Field access and display

License

This module is licensed under the AGPL-3 license, same as the Odoo project_template module.

Authors

Metadata

Release files for odoo-addon-project-template-origin 16.0.1.0.0

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

Source distribution (sdist)

Source distribution for odoo-addon-project-template-origin 16.0.1.0.0
File Size Uploaded Provenance
odoo-addon-project-template-origin-16.0.1.0.0.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-project-template-origin 16.0.1.0.0
File Interpreter ABI Platform
odoo_addon_project_template_origin-16.0.1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 13.0 kB

Release files / odoo-addon-project-template-origin-16.0.1.0.0.tar.gz

Download URL odoo-addon-project-template-origin-16.0.1.0.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
33b65e7da5af03bdb3912d4932b2dddeaa482b98910a7708a865d0b855ba251d
BLAKE2b-256 checksum
How to use checksums
ffcb98f24dff10c1b691a94012f94daae5b116198bf82665a1f677cbd9340087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release files / odoo_addon_project_template_origin-16.0.1.0.0-py2.py3-none-any.whl

Download URL odoo_addon_project_template_origin-16.0.1.0.0-py2.py3-none-any.whl
Size 7.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eae62f87b22f5c346e58b7e060500b058696a44d0a74720544a92f1a91a81997
BLAKE2b-256 checksum
How to use checksums
2046898d8eaee6d665e02da2bc8dcd82eefd0de8a750c6a1ae5d5d3cbe80c959
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Security for odoo-addon-project-template-origin 16.0.1.0.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.

Release history Release notifications | RSS feed

This release

16.0.1.0.0 This release

2 release files No provenance

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