IMS Document Control | Internal Audit & Management Review | ISO 9001:2015 | ISO 14001:2015 | ISO 45001:2018 | ISO 27001:2013 | ISO 22000:2005 | ISO 50001:2011 | ISO 22301:2019 | ISO 37001:2016 | ISO 41001:2018 | ISO 55001:2014 | ISO 13485:2016 | ISO 20000-1:2018 | ISO 21001:2018 | ISO 28000:2010 | ISO 29001:2018 | ISO 39001:2012 | ISO 29993:2012 | ISO 10002:2018 | ISO 10004:2018 | ISO 21401:2015 | ISO 50002:2018 | ISO 56002:2018 | ISO 56002:2018 (with pre-built clauses/controls and audit checklists)
by Binary Bridge Technology Services https://bbtech.ae$ 1367.44
Document Control & Records
A corporate-grade document and record management layer for your Integrated Management System. Govern policies, procedures, work instructions, manuals, and forms through structured lifecycle states—draft, review, approval, effective, obsolete—with revision discipline, multi-file attachments, in-browser preview and online editing via ONLYOFFICE Docs, controlled copies, distribution lists, acknowledgements where required, and explicit linkage to standards, clauses, processes, sites, and departments so your documentation portfolio is audit-ready and operationally aligned.
Compliance-ready by design Document categories, confidentiality, and distribution types support controlled and uncontrolled copy models—while records management captures evidence against templates and processes without losing traceability to the normative framework maintained in Integrated Management Core.
Dashboards & Document Lifecycle Visibility
|
Controlled Documents, Controlled Records, Continuous Alignment
BB Document Control & Records is built for organizations that must demonstrate that documented information is approved, current, available where needed, and protected when required. It complements Integrated Management Core by operationalizing the standards and process structure: each document carries explicit relationships to clauses and controls; records inherit templates and evidence expectations; distribution and acknowledgement patterns match your policy for controlled copies versus general publication.
A) Document Lifecycle & Revision Governance
Move from ad-hoc file shares to disciplined lifecycle management:
- States & workflow: Draft through review, approval, effectiveness, obsolescence, and archival—aligned to your authority matrix.
- Revisions: Maintain revision numbers, controlled file attachments, and history of what changed and who approved it.
- Ownership: Document owners, controllers, reviewers, and approvers with clear responsibilities.
- Review dates: Plan periodic review and next review triggers.
- Traceability: Link to standards, processes, sites, and departments for audit and KPI alignment.
B) Distribution, Acknowledgement & Controlled Copy Models
Ensure the right people receive the right version:
- Distribution lists: Target recipients by role, site, or department.
- Acknowledgements: Where policy requires read-and-confirm behaviour.
- Controlled vs uncontrolled: Reflect how your organization manages master copies versus informational copies.
- Evidence: Preserve who received what and when.
C) Records & Evidence Templates
Support the record half of “documented information” with clarity:
- Record templates: Standardize how evidence is captured for processes and audits.
- Controlled records: Align retention and access expectations with confidentiality levels.
- Operational linkage: Connect records to the processes and sites they evidence.
D) Integration & Executive Oversight
Document health is not an island:
- Issues & audits: Nonconformities and audit findings can reference the same document IDs.
- Risk & compliance: Obligations and controls map to the documentation that implements them.
- Management review: Feed document status, changes, and risks into review packs.
E) Multi-Site & Multi-Company Patterns
Scale governance without fragmenting the framework:
- Sites & entities: Scope documents and records to where they apply.
- Corporate groups: Align with Odoo company rules where separate legal entities need isolation.
- Consistent templates: Publish once; adapt locally only where permitted.
F) Multi-File Attachments & Online Document Editing
Go beyond a single binary attachment—manage a full document file portfolio with in-browser collaboration:
- Multiple files per document: Attach DOCX, XLSX, PPTX, PDF, and supporting files to one controlled document record with roles (editable source, controlled PDF, evidence, supporting, external).
- Bulk upload wizard: Import several files at once, assign a file role, and optionally mark the first file as primary.
- Per-file actions: View, Download, Edit, Set Primary, and New Version buttons on every file line—editor support is computed from file type and ONLYOFFICE configuration.
- ONLYOFFICE Docs integration: Configure server URL and JWT secret under IMS → Configuration → Document Control → Document Editor Settings. Preview and edit Office formats and PDFs directly in the browser.
- Controlled edit safety: Optional force-new-revision on approved/effective documents preserves the controlled copy while editing proceeds on a draft revision.
- Activity logging: Every view, download, edit, lock, and upload is recorded with user, timestamp, IP address, and details for audit evidence.
- Backward compatibility: Legacy main_file field is retained and synced with the primary file line.
Files / Online Documents tab — multi-file list with View, Download, Edit, Set Primary, and New Version actions.
Frequently Asked Questions
ONLYOFFICE Integration — Setup Guide
BB Document Control connects to an external ONLYOFFICE Document Server for in-browser preview and editing of Office documents and PDFs. Odoo stores files, generates secure download and callback URLs, and logs every view/edit action. The ONLYOFFICE server fetches document content from Odoo and posts saved files back via a callback endpoint. Both sides must be able to reach each other over the network.
Architecture at a Glance
- Browser opens Odoo editor page and loads
api.jsfrom the ONLYOFFICE server via a standard<script src="...">tag. - ONLYOFFICE downloads the file from
/ims/document/file/<id>/content?access_token=... - User edits in the ONLYOFFICE iframe; on save ONLYOFFICE POSTs to
/ims/document/file/<id>/onlyoffice/callback?access_token=... - Odoo validates JWT and callback token, stores the updated file, and writes an activity log entry.
Part 1 — ONLYOFFICE Document Server (Server Side)
1.1 Install ONLYOFFICE Document Server
Deploy ONLYOFFICE Docs on a dedicated host or VM. Common options:
- Docker (recommended): use the official ONLYOFFICE Document Server image and expose HTTPS on port 443.
- Linux package install: follow ONLYOFFICE installation guides for Ubuntu/Debian with Nginx as reverse proxy.
- Example hostname:
https://office.bbtech.ae
Verify the API script is reachable:
curl -I https://office.bbtech.ae/web-apps/apps/api/documents/api.js
Expected response: HTTP 200 with Content-Type: application/javascript
1.2 Enable JWT (recommended for production)
Generate a strong shared secret and configure it on the ONLYOFFICE server. In local.json (Docker: inside the container or via mounted config):
{
"services": {
"CoAuthoring": {
"secret": {
"inbox": { "string": "YOUR_JWT_SECRET_HERE" },
"outbox": { "string": "YOUR_JWT_SECRET_HERE" },
"session": { "string": "YOUR_JWT_SECRET_HERE" }
},
"token": {
"enable": {
"request": { "inbox": true, "outbox": true },
"browser": true
}
}
}
}
}
Restart ONLYOFFICE after changing JWT settings. Use the same secret in Odoo Document Editor Settings.
1.3 HTTPS and reverse proxy
Serve ONLYOFFICE over HTTPS with a valid certificate. Typical Nginx proxy headers:
proxy_set_header Host $host;proxy_set_header X-Forwarded-Proto $scheme;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Ensure the ONLYOFFICE container can make outbound HTTP/HTTPS requests to your Odoo public URL (see Part 2).
Part 2 — Odoo Server & Network (Server Side)
2.1 Public URL reachable by ONLYOFFICE
ONLYOFFICE downloads files and posts callbacks to absolute URLs built from your Odoo base URL. The Document Server must reach these endpoints — not localhost or an internal dev port.
- Set Settings → Technical → System Parameters → web.base.url to the public address users and ONLYOFFICE can reach.
- If Odoo runs on a non-standard port (e.g.
:8019), place Nginx on port 80/443 and reverse-proxy to Odoo so external URLs omit the dev port. - Example document URL passed to ONLYOFFICE:
http://your-server/ims/document/file/1/content?access_token=... - Example callback URL:
http://your-server/ims/document/file/1/onlyoffice/callback?access_token=...
Optional: set system parameter bb_ims_document_control.ims_onlyoffice_odoo_public_url to override the base URL used for ONLYOFFICE document and callback links.
2.2 Firewall and routing
- Allow browsers to reach ONLYOFFICE HTTPS (port 443).
- Allow the ONLYOFFICE server outbound access to Odoo HTTP/HTTPS on the public URL.
- Odoo routes
/ims/document/file/...are public with signed access tokens — no Odoo session cookie is required for ONLYOFFICE fetch/callback.
2.3 Install and upgrade the module
- Install or upgrade IMS Document Control from Apps.
- Restart the Odoo service after deployment.
- Ensure the user has Document Control Administrator rights to access editor settings.
Part 3 — Odoo Document Editor Settings
3.1 Open settings
Navigate to:
IMS → Configuration → Document Control → Document Editor Settings
3.2 Configure fields
| Setting | Description | Example |
|---|---|---|
| IMS Document Editor | Select ONLYOFFICE Docs to enable online preview and editing. Choose No Online Editor to disable. | ONLYOFFICE Docs |
| ONLYOFFICE Server URL | Base URL of your Document Server (no trailing path). Used to load api.js. |
https://office.bbtech.ae |
| ONLYOFFICE JWT Secret | Shared secret matching ONLYOFFICE local.json. Required when JWT is enabled on the Document Server. |
(same as server secret) |
| Force New Revision on Controlled Edit | When editing approved/effective documents, automatically create a draft revision copy so the controlled file is preserved. | Enabled |
| Allow PDF Online Editing | Enable Edit action for PDF files via ONLYOFFICE. | Enabled |
| Max Upload Size (MB) | Maximum file size allowed when uploading document files. | 50 |
Click Save. Settings are stored in ir.config_parameter under keys prefixed with bb_ims_document_control.ims_.
Part 4 — Verify & Use
4.1 Pre-flight checks
- Confirm
curl -I https://office.bbtech.ae/web-apps/apps/api/documents/api.jsreturns 200. - In Odoo, open Settings → Technical → System Parameters and verify
bb_ims_document_control.ims_editor_provider=onlyoffice. - From the ONLYOFFICE server, test that the Odoo public URL responds (file content route with a valid token).
4.2 Upload files and edit
- Open a controlled document → Files / Online Documents tab.
- Use Upload Multiple Files to attach DOCX, XLSX, PPTX, or PDF files.
- On each file line, click View to preview or Edit to open ONLYOFFICE edit mode.
- Supported editable formats: DOC, DOCX, ODT, RTF, TXT, XLS, XLSX, ODS, CSV, PPT, PPTX, ODP, and PDF (if enabled).
- Check the file Activity Log tab for view, edit, and save events with user and IP details.
Troubleshooting
- “ONLYOFFICE API could not be loaded” — verify server URL, HTTPS certificate, and that
api.jsloads via a normal script tag (not fetch/XHR). Check browser console for blocked scripts. - Editor opens but document is blank — ONLYOFFICE cannot reach Odoo file URL. Fix
web.base.url, reverse proxy, or setims_onlyoffice_odoo_public_url. - Save does not persist — check callback URL reachability, JWT secret match, and Odoo server log for ONLYOFFICE callback errors.
- Edit button missing — confirm provider is
onlyoffice, URL is set, and file extension is supported.
Screenshots of the settings screen, upload wizard, editor, and activity log follow in the next section.
Screenshots
Illustrative views from the module assets shipped under static/description/.
1. Dashboards
Document portfolio health and KPI-style visibility.
Secondary dashboard perspective.
2. Controlled documents
Documents register view.
Document form — detail and linkage.
Revision history and file governance.
3. Distribution
Distribution and acknowledgement context.
4. Records
Controlled records and templates.
Record templates.
5. Multi-File & Online Document Editing
Attach multiple files per document, configure ONLYOFFICE Docs, and preview or edit Office and PDF files in the browser—with full activity logging for audit evidence.
Document Editor Settings — configure ONLYOFFICE Docs as the online editor provider. Set server URL, JWT secret, force-new-revision behaviour, PDF editing, and maximum upload size.
Upload Multiple Files wizard — bulk-import attachments to a document. Choose a file role (editable source, controlled PDF, supporting, evidence, external) and optionally set the first file as primary.
Files / Online Documents tab — each file line shows extension, role, version, primary flag, and action buttons: View, Download, Edit, Set Primary, and New Version. Editor type is computed from file format and ONLYOFFICE configuration.
ONLYOFFICE view mode — open PDF and Office files in the browser with the full ONLYOFFICE toolbar. Header bar provides View, Edit Online, and Download shortcuts back to Odoo.
ONLYOFFICE edit mode — edit documents online with the native ONLYOFFICE ribbon (File, Home, Comment, Collaboration, View, Plugins, AI). Changes are saved back to Odoo via a secure callback.
File activity log — audit trail for every file action: view, download, edit open, lock, upload, and online editor sessions—with user, timestamp, IP address, and descriptive details.
Professional Support & Services
Binary Bridge Technology Services implements document control programmes that respect your authority matrix, retention policies, and audit expectations—configuring modules, training document owners, and integrating with related IMS apps.
Installation & Implementation Support
- Security groups for document owners, controllers, and readers
- Standards and process linkage workshops
- Migration from legacy document registers and file shares
- Dashboard tuning for executive and quality councils
Customization Services
- Custom approval workflows and PDF layouts
- ONLYOFFICE Document Server deployment, JWT configuration, and reverse-proxy setup
- Portal or email distribution patterns
- Integration with DMS, PLM, or QMS ecosystems
Ongoing Support & Maintenance
- Upgrade assistance and regression testing
- Periodic review of taxonomy and templates after certification audits
Enterprise Security & Governance
- Confidentiality levels and access control design
- Evidence retention aligned to regulatory requirements
odoo@bbtech.ae | +971 50 826 8346 | www.bbtech.ae
Please log in to comment on this module