Calibration & Equipment Pro: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
(Create documentation page for Calibration & Equipment Pro v1.1.6)
(Update to version 1.1.7 – Security and Permission Hardening, Dolibarr 24 compatibility and automated validation results.)
Tag: 2017 source edit
 
Line 1: Line 1:
{{TemplateDocDev}}
{{TemplateDocDev}}


Line 37: Line 38:
*Signature areas in generated PDF records
*Signature areas in generated PDF records
*Dashboard with equipment and compliance indicators
*Dashboard with equipment and compliance indicators
*Role-based access control
*Server-side permission enforcement
*Equipment deletion protection when dependent calibration or maintenance records exist


==Dashboard==
==Dashboard==
Line 70: Line 74:


The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records.
The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records.
Equipment deletion is restricted when associated calibration or maintenance records exist, helping preserve historical traceability.


[[File:CalibrationEquipmentPro_Equipment.png|900x900px]]
[[File:CalibrationEquipmentPro_Equipment.png|900x900px]]
Line 78: Line 84:


The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr.
The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr.
Access to the equipment record remains subject to Dolibarr authentication and module permissions.


Printable QR labels can include equipment identification information such as:
Printable QR labels can include equipment identification information such as:
Line 121: Line 129:


This allows the calibration documentation to remain associated with the corresponding equipment and calibration record.
This allows the calibration documentation to remain associated with the corresponding equipment and calibration record.
Certificate upload, replacement and removal require the appropriate module permissions.


==Maintenance management==
==Maintenance management==
Line 166: Line 176:


[[File:CalibrationEquipmentPro_PDFRecords.png|900x900px]]
[[File:CalibrationEquipmentPro_PDFRecords.png|900x900px]]
==User permissions==
The module integrates with the standard Dolibarr user permission system.
The following permissions are available:
{| class="wikitable"
! Permission
! Description
|-
| READ
| Read equipment, calibrations and maintenance records.
|-
| WRITE
| Create or modify equipment, calibrations and maintenance records.
|-
| DELETE
| Delete equipment, calibrations and maintenance records, subject to applicable dependency restrictions.
|}
Version 1.1.7 introduces enhanced server-side permission enforcement for equipment, calibration and maintenance operations.
Users with read-only permissions cannot access restricted creation, modification or deletion forms.
Direct access to restricted operations is checked on the server, independently of menu and button visibility.


==Installation==
==Installation==
Line 178: Line 214:


Configure user permissions if required.
Configure user permissions if required.
==Updating an existing installation==
To update from version 1.1.6 to version 1.1.7:
#Create a backup of the Dolibarr database and existing module files.
#Deploy the new module ZIP package.
#Verify the installed module version.
#Verify user permissions and access to existing records.
Version 1.1.7 does not introduce database schema changes.
Deactivation and reactivation are not required for this specific update.


==Requirements==
==Requirements==


*Dolibarr 23.x
*Declared Dolibarr compatibility: 23.x – 24.x
*PHP 7.4 or later
*Minimum declared PHP version: 7.4
*MySQL / MariaDB
*MySQL / MariaDB
*Standard Dolibarr document storage
*Standard Dolibarr document storage
Version 1.1.7 was tested on Dolibarr 24.0.0 with PHP 8.3.37.
The previous version 1.1.6 was tested on Dolibarr 23.0.3.
Full regression testing of version 1.1.7 on Dolibarr 23 and older PHP versions has not yet been completed.


The module does not require an external web service.
The module does not require an external web service.
Line 194: Line 249:
*English
*English
*Romanian
*Romanian
==Testing and validation==
Version 1.1.7 was evaluated using the PanciucSoft Universal QA Tester.
The consolidated validation results include:
{| class="wikitable"
! Validation area
! Result
|-
| GET permission validation
| 55/55 PASS
|-
| POST permission validation
| 18/18 PASS
|-
| Functional regression
| 29/29 PASS
|-
| Stable release smoke test
| 22/22 PASS
|-
! Total
! 124/124 PASS
|}
The validation covered equipment CRUD operations, calibration and maintenance workflows, dependency protection, user access restrictions, PDF generation and software-based QR decoding.
Permission and regression tests were performed on version 1.1.7-dev1, followed by a smoke test of the stable 1.1.7 package.
These results apply to the documented test scenarios and do not represent exhaustive validation or regulatory certification.
==Changelog==
===Version 1.1.7 – 2026-12-01===
'''Security & Permission Hardening'''
*Enhanced server-side permission enforcement.
*Restricted unauthorized access to equipment creation and modification forms.
*Restricted unauthorized access to calibration creation and modification forms.
*Restricted unauthorized access to maintenance creation and modification forms.
*Improved permission checks for deletion confirmation actions.
*Enhanced permission checks for calibration certificate management.
*Validated restricted-user and read-only access.
*Completed automated security and functional regression testing on Dolibarr 24.
*No database schema changes.


==Version==
==Version==


Current version: '''1.1.6'''
Current version: '''1.1.7 Stable'''
 
==Availability==
 
The module is available through DoliStore.
 
https://www.dolistore.com


==Support==
==Support==

Latest revision as of 09:50, 1 December 2026

Calibration & Equipment Pro

Calibration & Equipment Pro is a Dolibarr module for managing equipment, calibration schedules, maintenance operations, calibration certificates, QR labels, alerts and PDF records.

The module is designed for laboratories, quality control departments, production environments, workshops and organizations that need structured traceability of equipment calibration and maintenance activities.

CalibrationEquipmentPro Cover.png

Features

  • Centralized equipment registry
  • Equipment code, manufacturer, model and serial number
  • Location and department tracking
  • Responsible user assignment
  • Equipment status management
  • Calibration interval management
  • Calibration history
  • Automatic calculation of the next calibration date
  • Due soon calibration alerts
  • Overdue calibration alerts
  • Calibration provider and certificate number
  • Upload, replace, view and download calibration certificates
  • Preventive and corrective maintenance management
  • Maintenance provider and technician tracking
  • Maintenance cost management
  • Automatic maintenance scheduling
  • Maintenance due soon alerts
  • Maintenance overdue alerts
  • Equipment QR codes
  • Printable QR labels
  • QR scan to open the equipment record
  • Equipment Record PDF
  • Calibration Record PDF
  • Maintenance Record PDF
  • Signature areas in generated PDF records
  • Dashboard with equipment and compliance indicators
  • Role-based access control
  • Server-side permission enforcement
  • Equipment deletion protection when dependent calibration or maintenance records exist

Dashboard

The dashboard provides a quick overview of equipment and compliance status.

It displays:

  • Total equipment
  • Active equipment
  • Calibration due soon
  • Calibration overdue
  • Maintenance due soon
  • Maintenance overdue
  • Equipment out of service

CalibrationEquipmentPro Dashboard.png

Equipment management

Each equipment record can contain:

  • Equipment code
  • Equipment name
  • Manufacturer
  • Model
  • Serial number
  • Location
  • Department
  • Responsible user
  • Status
  • Calibration interval

The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records.

Equipment deletion is restricted when associated calibration or maintenance records exist, helping preserve historical traceability.

CalibrationEquipmentPro Equipment.png

QR code and QR labels

Each equipment record has its own QR code.

The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr.

Access to the equipment record remains subject to Dolibarr authentication and module permissions.

Printable QR labels can include equipment identification information such as:

  • Equipment code
  • Equipment name
  • Manufacturer
  • Model
  • Serial number
  • Location

CalibrationEquipmentPro QRLabel.png

Calibration management

Calibration & Equipment Pro provides structured calibration records including:

  • Calibration date
  • Calibration provider
  • Certificate number
  • Calibration result
  • Notes
  • Next calibration date
  • Calibration certificate PDF

The next calibration date is calculated according to the calibration interval configured for the equipment.

Calibration records can be classified automatically as upcoming or overdue.

CalibrationEquipmentPro Calibration.png

Calibration certificates

Calibration certificates can be attached to calibration records.

Available actions include:

  • Upload certificate
  • View PDF
  • Download certificate
  • Replace certificate
  • Remove certificate

This allows the calibration documentation to remain associated with the corresponding equipment and calibration record.

Certificate upload, replacement and removal require the appropriate module permissions.

Maintenance management

The module also provides equipment maintenance tracking.

Maintenance records can include:

  • Maintenance type
  • Maintenance date
  • Service provider
  • Technician
  • Work description
  • Cost
  • Next maintenance date
  • Status
  • Notes

CalibrationEquipmentPro Maintenance.png

Maintenance schedules are monitored separately from calibration schedules.

The module provides dedicated pages for:

  • Maintenance due soon
  • Maintenance overdue

PDF records

Calibration & Equipment Pro can generate professional PDF documentation directly from Dolibarr.

Available documents include:

Equipment Record PDF

Contains equipment identification, latest calibration, latest maintenance, QR code and signature areas.

Calibration Record PDF

Contains equipment identification, calibration information, calibration result, QR code and signature areas.

Maintenance Record PDF

Contains equipment identification, maintenance information, cost, work description, QR code and signature areas.

CalibrationEquipmentPro PDFRecords.png

User permissions

The module integrates with the standard Dolibarr user permission system.

The following permissions are available:

Permission Description
READ Read equipment, calibrations and maintenance records.
WRITE Create or modify equipment, calibrations and maintenance records.
DELETE Delete equipment, calibrations and maintenance records, subject to applicable dependency restrictions.

Version 1.1.7 introduces enhanced server-side permission enforcement for equipment, calibration and maintenance operations.

Users with read-only permissions cannot access restricted creation, modification or deletion forms.

Direct access to restricted operations is checked on the server, independently of menu and button visibility.

Installation

The module can be installed using the standard Dolibarr external module deployment feature.

Go to:

Home → Setup → Modules/Applications → Deploy/Install external app/module

Upload the module ZIP file and activate Calibration & Equipment Pro.

Configure user permissions if required.

Updating an existing installation

To update from version 1.1.6 to version 1.1.7:

  1. Create a backup of the Dolibarr database and existing module files.
  2. Deploy the new module ZIP package.
  3. Verify the installed module version.
  4. Verify user permissions and access to existing records.

Version 1.1.7 does not introduce database schema changes.

Deactivation and reactivation are not required for this specific update.

Requirements

  • Declared Dolibarr compatibility: 23.x – 24.x
  • Minimum declared PHP version: 7.4
  • MySQL / MariaDB
  • Standard Dolibarr document storage

Version 1.1.7 was tested on Dolibarr 24.0.0 with PHP 8.3.37.

The previous version 1.1.6 was tested on Dolibarr 23.0.3.

Full regression testing of version 1.1.7 on Dolibarr 23 and older PHP versions has not yet been completed.

The module does not require an external web service.

Languages

The module currently includes:

  • English
  • Romanian

Testing and validation

Version 1.1.7 was evaluated using the PanciucSoft Universal QA Tester.

The consolidated validation results include:

Validation area Result
GET permission validation 55/55 PASS
POST permission validation 18/18 PASS
Functional regression 29/29 PASS
Stable release smoke test 22/22 PASS
Total 124/124 PASS

The validation covered equipment CRUD operations, calibration and maintenance workflows, dependency protection, user access restrictions, PDF generation and software-based QR decoding.

Permission and regression tests were performed on version 1.1.7-dev1, followed by a smoke test of the stable 1.1.7 package.

These results apply to the documented test scenarios and do not represent exhaustive validation or regulatory certification.

Changelog

Version 1.1.7 – 2026-12-01

Security & Permission Hardening

  • Enhanced server-side permission enforcement.
  • Restricted unauthorized access to equipment creation and modification forms.
  • Restricted unauthorized access to calibration creation and modification forms.
  • Restricted unauthorized access to maintenance creation and modification forms.
  • Improved permission checks for deletion confirmation actions.
  • Enhanced permission checks for calibration certificate management.
  • Validated restricted-user and read-only access.
  • Completed automated security and functional regression testing on Dolibarr 24.
  • No database schema changes.

Version

Current version: 1.1.7 Stable

Availability

The module is available through DoliStore.

https://www.dolistore.com

Support

Support is available by email:

support@panciucsoft.com

Website:

https://panciucsoft.com

Demo:

https://demo.panciucsoft.com

License

GPL v3 or later.

Author

PanciucSoft

See also