Skip to content

OscarTired/Modifications_Dolibarr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Dolibarr ERP - Custom Modifications & System Updates

A centralized repository for custom enhancements, core adjustments, and specific business logic implementations for the Dolibarr ERP system.


Dolibarr Version PHP Version MySQL Status


📖 About The Project

This repository serves as a version-controlled environment for modifying the standard Dolibarr ERP/CRM installation. It contains specific adaptations required for enterprise operations, bridging the gap between out-of-the-box features and specific business requirements.

Key Objectives

  • Scalability: Extending database schemas without breaking core compatibility.
  • UX/UI Enhancement: Improving user workflows through modified templates and scripts.
  • Business Logic: Implementing custom validation rules and automated reporting.

🛠️ Tech Stack

Core Infrastructure

  • ERP Core: Dolibarr 20.0+
  • Backend: PHP 8.0+
  • Database: MySQL 8.0+ / MariaDB
  • Web Server: Apache 2.4+

Frontend & Scripting

  • Scripting: JavaScript (ES6+), jQuery
  • Styling: CSS3, Twig Templates
  • Versioning: Git

📂 Repository Structure

The directory structure mirrors the standard Dolibarr architecture to facilitate easy deployment and comparison.

custom-dolibarr-mods/
├── core/
│   ├── modules_mod/       # Modifications to standard modules
│   └── lib/               # Core library adjustments
├── custom/
│   ├── [module_name]/     # Fully custom, standalone modules
│   └── extensions/        # Third-party extension overrides
├── database/
│   ├── migrations/        # SQL migration scripts
│   ├── schema_changes/    # ALTER TABLE commands and new indexes
│   └── seeds/             # Data seeding for testing
├── theme/
│   └── [theme_name]/      # Custom CSS and UI adjustments
├── scripts/
│   ├── cron/              # Automation and batch processing scripts
│   └── utilities/         # Maintenance tools
└── README.md

🚀 Features & Modifications

Category Description
Database Expansion Addition of custom columns, new tables, and indexing optimizations.
UI/UX Tweaks Modifications to the look and feel, form layouts, and dashboards.
Custom Reports SQL-generated reports tailored to specific KPIs.
Integrations API connectors for external systems (e-commerce, logistics).
Logic Hooks Triggers and hooks to enforce business validation rules.

⚠️ Installation & Usage

Warning

Safety First:

  • Always test modifications in a Staging/Development environment first.
  • Never apply SQL scripts directly to production without a full backup.
  • Verify compatibility with your specific minor version of Dolibarr.

1. Cloning the Repository

git clone [https://github.com/your-username/dolibarr-modifications.git](https://github.com/your-username/dolibarr-modifications.git)
cd dolibarr-modifications

2. Backup Procedures

Before applying any changes, ensure you have a recovery point.

# Database Backup
mysqldump -u [user] -p [database_name] > backup_pre_update_$(date +%Y%m%d).sql

# File System Backup
cp -r /var/www/dolibarr /var/www/dolibarr_backup

3. Applying Changes

Copy the modified files to your Dolibarr installation directory. Ensure permissions are preserved.

# Example: Copying custom modules
cp -r custom/* /var/www/dolibarr/htdocs/custom/

Tip

Best Practice: After copying files, always disable and re-enable the affected module in the Dolibarr Setup area to ensure hooks and permissions are registered correctly.


🔄 Development Workflow

We follow a strict implementation cycle to ensure stability:

  1. Requirement Analysis: Identify the gap in standard functionality.
  2. Impact Assessment: Check for conflicts with core files.
  3. Implementation: Develop the fix/feature in the local environment.
  4. Staging Test: Deploy to a sandbox server.
  5. Documentation: Log changes in this repository.
  6. Production Deploy: Roll out during scheduled maintenance windows.

🔒 Security & Compliance

Caution

Sensitive Data:

  • Do not commit conf.php or any file containing database credentials.
  • Ensure strict file permissions (chmod) are reapplied after copying files to the server.
  • Sanitize all SQL inputs in custom PHP scripts to prevent injection attacks.

📞 Support & Contact

For technical inquiries regarding these modifications:


Last Updated: November 2025 License: Proprietary / Internal Use Only (unless specified GPLv3)

About

Repository of modified files, settings, and updates to the DOLIBARR ERP system implemented according to the specific needs of the company.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages