Module Ultimateqrcode EN: Difference between revisions
No edit summary Tag: 2017 source edit |
|||
| Line 22: | Line 22: | ||
}} | }} | ||
= Installation = | =Installation= | ||
# Download the module and place it in the <code>htdocs/custom/ultimateqrcode/</code> directory | #Download the module and place it in the <code>htdocs/custom/ultimateqrcode/</code> directory | ||
# In Dolibarr: go to '''Home → Setup → Modules/Applications''' | #In Dolibarr: go to '''Home → Setup → Modules/Applications''' | ||
# Find '''UltimateQRcode''' in the ''Atoo-Net'' section and activate it | #Find '''UltimateQRcode''' in the ''Atoo-Net'' section and activate it | ||
# Configure permissions per user group (see [[#Rights_and_permissions|Rights and permissions]]) | #Configure permissions per user group (see [[#Rights_and_permissions|Rights and permissions]]) | ||
---- | ---- | ||
= Module Configuration = | =Module Configuration= | ||
Access configuration via '''Home → Setup → Modules/Applications → UltimateQRcode''' (wrench icon), or directly through the administration menu. | Access configuration via '''Home → Setup → Modules/Applications → UltimateQRcode''' (wrench icon), or directly through the administration menu. | ||
| Line 37: | Line 37: | ||
The configuration page has three tabs. | The configuration page has three tabs. | ||
== Tab "QR codes" (free generator) == | ==Tab "QR codes" (free generator)== | ||
[[File:Ultimateqrcode-admin-qrcodes-fr.png|center|900px|Free QR code generator]] | [[File:Ultimateqrcode-admin-qrcodes-fr.png|center|900px|Free QR code generator]] | ||
| Line 44: | Line 44: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Field !! Description | !Field!!Description | ||
|- | |- | ||
| '''Data''' || Content to encode: URL, email address, free text, vCard, etc. | |'''Data'''||Content to encode: URL, email address, free text, vCard, etc. | ||
|- | |- | ||
| '''ECC''' || Error correction level:<br/>• '''L''' (≈7% — smallest): minimal size<br/>• '''M''' (≈15%): standard use<br/>• '''Q''' (≈25%): good resistance<br/>• '''H''' (≈30% — best): highly resistant (recommended with logo) | |'''ECC'''||Error correction level:<br />• '''L''' (≈7% — smallest): minimal size<br />• '''M''' (≈15%): standard use<br />• '''Q''' (≈25%): good resistance<br />• '''H''' (≈30% — best): highly resistant (recommended with logo) | ||
|- | |- | ||
| '''Size''' || Point size (1 to 10 pixels per QR module) | |'''Size'''||Point size (1 to 10 pixels per QR module) | ||
|- | |- | ||
| '''GENERATE''' button || Instantly generates and displays the QR code | |'''GENERATE''' button||Instantly generates and displays the QR code | ||
|} | |} | ||
Click '''Like that''' in the help text to see a generation example. | Click '''Like that''' in the help text to see a generation example. | ||
== Tab "QR with logo" == | ==Tab "QR with logo"== | ||
[[File:Ultimateqrcode-admin-qrwithlogo-fr.png|center|900px|QR code generator with embedded logo]] | [[File:Ultimateqrcode-admin-qrwithlogo-fr.png|center|900px|QR code generator with embedded logo]] | ||
| Line 64: | Line 64: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Field !! Description | !Field!!Description | ||
|- | |- | ||
| '''Data''' || URL or content to encode (default: https://www.atoo-net.com/) | |'''Data'''||URL or content to encode (default: https://www.atoo-net.com/) | ||
|- | |- | ||
| '''Size''' || 1 to 10 — controls the resolution of the generated image | |'''Size'''||1 to 10 — controls the resolution of the generated image | ||
|- | |- | ||
| '''Choose a file''' || PNG logo to embed in the center of the QR code | |'''Choose a file'''||PNG logo to embed in the center of the QR code | ||
|- | |- | ||
| '''GENERATE''' button || Generates the QR code with the logo and saves it | |'''GENERATE''' button||Generates the QR code with the logo and saves it | ||
|- | |- | ||
| '''Select a QR code to display''' || Choose from previously generated QR codes to display | |'''Select a QR code to display'''||Choose from previously generated QR codes to display | ||
|- | |- | ||
| '''DISPLAY''' button || Displays the selected QR code | |'''DISPLAY''' button||Displays the selected QR code | ||
|- | |- | ||
| '''Trash icon''' || Deletes the selected QR file (with confirmation) | |'''Trash icon'''||Deletes the selected QR file (with confirmation) | ||
|} | |} | ||
| Line 85: | Line 85: | ||
{{Note|The recommended ECC level for a QR with logo is '''H''' (30%), as the logo covers part of the code — error correction compensates for this.}} | {{Note|The recommended ECC level for a QR with logo is '''H''' (30%), as the logo covers part of the code — error correction compensates for this.}} | ||
== Tab "About" == | ==Tab "About"== | ||
Displays module version information, author details and documentation links. | Displays module version information, author details and documentation links. | ||
| Line 91: | Line 91: | ||
---- | ---- | ||
= Usage in Records = | =Usage in Records= | ||
The module adds a '''QR code''' tab to the following object records: | The module adds a '''QR code''' tab to the following object records: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Object !! Added tab(s) | !Object!!Added tab(s) | ||
|- | |- | ||
| Third party || QR code + QR-Url (two separate tabs) | |Third party||QR code + QR-Url (two separate tabs) | ||
|- | |- | ||
| Contact || QR code | |Contact||QR code | ||
|- | |- | ||
| Product / Service || QR code | |Product / Service||QR code | ||
|- | |- | ||
| Lot / Serial number || QR code | |Lot / Serial number||QR code | ||
|- | |- | ||
| Warehouse || QR code | |Warehouse||QR code | ||
|- | |- | ||
| Proposal (Quote) || QR code | |Proposal (Quote)||QR code | ||
|- | |- | ||
| Customer order || QR code | |Customer order||QR code | ||
|- | |- | ||
| Supplier order || QR code | |Supplier order||QR code | ||
|- | |- | ||
| Customer invoice || QR code | |Customer invoice||QR code | ||
|- | |- | ||
| Supplier invoice || QR code | |Supplier invoice||QR code | ||
|- | |- | ||
| Contract || QR code | |Contract||QR code | ||
|- | |- | ||
| Intervention || QR code | |Intervention||QR code | ||
|- | |- | ||
| Project || QR code | |Project||QR code | ||
|- | |- | ||
| Member (foundation) || QR code | |Member (foundation)||QR code | ||
|- | |- | ||
| User group || QR code | |User group||QR code | ||
|- | |- | ||
| User || QR code | |User||QR code | ||
|- | |- | ||
| Customer payment || QR code | |Customer payment||QR code | ||
|- | |- | ||
| Supplier payment || QR code | |Supplier payment||QR code | ||
|- | |- | ||
| Survey (OpenSurvey) || QR code | |Survey (OpenSurvey)||QR code | ||
|} | |} | ||
== Common structure of the QR code tab == | ==Common structure of the QR code tab== | ||
Each QR code tab is organized in '''two sections''': | Each QR code tab is organized in '''two sections''': | ||
=== Top section — Configurable data QR code === | ===Top section — Configurable data QR code=== | ||
[[File:Ultimateqrcode-thirdparty-qrcode-top-fr.png|center|900px|QR code tab on a third party record — field selection]] | [[File:Ultimateqrcode-thirdparty-qrcode-top-fr.png|center|900px|QR code tab on a third party record — field selection]] | ||
| Line 147: | Line 147: | ||
The user selects '''which fields to include in the QR code''' using checkboxes: | The user selects '''which fields to include in the QR code''' using checkboxes: | ||
* Left column: checkbox | *Left column: checkbox | ||
* Center column: field label and current value (grayed out if unchecked) | *Center column: field label and current value (grayed out if unchecked) | ||
* Right column: the '''generated QR code''' (spanning the full height of the table) | *Right column: the '''generated QR code''' (spanning the full height of the table) | ||
Available fields depend on the object type: | Available fields depend on the object type: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Object !! Available fields | !Object!!Available fields | ||
|- | |- | ||
| Third party || Company name, Address, ZIP, Town, Country, Phone, Email, URL + Extra fields | |Third party||Company name, Address, ZIP, Town, Country, Phone, Email, URL + Extra fields | ||
|- | |- | ||
| Product || Ref., Label, Description, Price excl. tax, Price incl. tax, Barcode, Weight, Volume, URL + Extra fields | |Product||Ref., Label, Description, Price excl. tax, Price incl. tax, Barcode, Weight, Volume, URL + Extra fields | ||
|- | |- | ||
| Warehouse || Label, Short location name, Description, Address, ZIP, Town, Country, URL + Extra fields | |Warehouse||Label, Short location name, Description, Address, ZIP, Town, Country, URL + Extra fields | ||
|- | |- | ||
| User || Login, First name, Last name, Phone, Mobile, Email, Address, ZIP, Town, Country, URL + Extra fields | |User||Login, First name, Last name, Phone, Mobile, Email, Address, ZIP, Town, Country, URL + Extra fields | ||
|- | |- | ||
| Contact || Title, First name, Last name, Company, Job, Phone, Mobile, Email, Address, etc. | |Contact||Title, First name, Last name, Company, Job, Phone, Mobile, Email, Address, etc. | ||
|- | |- | ||
| (others) || Fields specific to each object type | |(others)||Fields specific to each object type | ||
|} | |} | ||
| Line 173: | Line 173: | ||
The displayed QR code is '''clickable''': clicking it opens the [[#Label_printing|label printing]] window. | The displayed QR code is '''clickable''': clicking it opens the [[#Label_printing|label printing]] window. | ||
=== Bottom section — Record URL QR code === | ===Bottom section — Record URL QR code=== | ||
[[File:Ultimateqrcode-thirdparty-qrcode-bottom-fr.png|center|900px|QR code tab — bottom section with URL QR and Save/Cancel buttons]] | [[File:Ultimateqrcode-thirdparty-qrcode-bottom-fr.png|center|900px|QR code tab — bottom section with URL QR and Save/Cancel buttons]] | ||
| Line 179: | Line 179: | ||
The bottom section displays: | The bottom section displays: | ||
* The label '''URL of the [object] record''' | *The label '''URL of the [object] record''' | ||
* A clickable link to the Dolibarr record | *A clickable link to the Dolibarr record | ||
* A second '''QR code encoding the direct URL''' to the record (also clickable for label printing) | *A second '''QR code encoding the direct URL''' to the record (also clickable for label printing) | ||
* The '''SAVE''' and '''CANCEL''' buttons | *The '''SAVE''' and '''CANCEL''' buttons | ||
=== Automatic default field selection === | ===Automatic default field selection=== | ||
On first display (no configuration saved), the module automatically selects fields whose value is non-empty. This ensures a relevant QR code right from the first opening. | On first display (no configuration saved), the module automatically selects fields whose value is non-empty. This ensures a relevant QR code right from the first opening. | ||
=== Saving configuration === | ===Saving configuration=== | ||
Check/uncheck the desired fields, then click '''SAVE'''. The selection is saved and applies to '''all objects of the same type''' (one global configuration per object type). | Check/uncheck the desired fields, then click '''SAVE'''. The selection is saved and applies to '''all objects of the same type''' (one global configuration per object type). | ||
| Line 194: | Line 194: | ||
---- | ---- | ||
= QR code tab — Examples by object = | =QR code tab — Examples by object= | ||
== Product == | ==Product== | ||
[[File:Ultimateqrcode-product-qrcode-fr.png|center|900px|QR code tab on a product record]] | [[File:Ultimateqrcode-product-qrcode-fr.png|center|900px|QR code tab on a product record]] | ||
| Line 202: | Line 202: | ||
Example configuration for a product: '''Ref.''' and '''Label''' checked, plus extra fields '''Ecotax''' and '''ControlHistoryLink'''. The QR encodes these four values concatenated. | Example configuration for a product: '''Ref.''' and '''Label''' checked, plus extra fields '''Ecotax''' and '''ControlHistoryLink'''. The QR encodes these four values concatenated. | ||
== Warehouse == | ==Warehouse== | ||
[[File:Ultimateqrcode-stock-qrcode-fr.png|center|900px|QR code tab on a warehouse record]] | [[File:Ultimateqrcode-stock-qrcode-fr.png|center|900px|QR code tab on a warehouse record]] | ||
| Line 208: | Line 208: | ||
Useful for physical identification of storage locations. The '''Short location name''' field (lieu) allows specifying the storage zone. | Useful for physical identification of storage locations. The '''Short location name''' field (lieu) allows specifying the storage zone. | ||
== User == | ==User== | ||
[[File:Ultimateqrcode-user-qrcode-fr.png|center|900px|QR code tab on a user record]] | [[File:Ultimateqrcode-user-qrcode-fr.png|center|900px|QR code tab on a user record]] | ||
| Line 218: | Line 218: | ||
---- | ---- | ||
= QR-Url Tab (Third parties only) = | =QR-Url Tab (Third parties only)= | ||
[[File:Ultimateqrcode-thirdparty-qrurl-fr.png|center|900px|QR-Url tab on a third party — QR with logo]] | [[File:Ultimateqrcode-thirdparty-qrurl-fr.png|center|900px|QR-Url tab on a third party — QR with logo]] | ||
| Line 227: | Line 227: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Element !! Function | !Element!!Function | ||
|- | |- | ||
| '''Size''' (1-10) || Resolution of the generated QR code | |'''Size''' (1-10)||Resolution of the generated QR code | ||
|- | |- | ||
| '''Choose file''' + '''UPLOAD LOGO''' || Upload a PNG logo to embed in the center | |'''Choose file''' + '''UPLOAD LOGO'''||Upload a PNG logo to embed in the center | ||
|- | |- | ||
| '''Select a QR code to display''' || Choose from QR codes already generated for this third party | |'''Select a QR code to display'''||Choose from QR codes already generated for this third party | ||
|- | |- | ||
| '''DISPLAY''' button || Displays the selected QR code | |'''DISPLAY''' button||Displays the selected QR code | ||
|- | |- | ||
| '''Uploaded Logos''' section || Lists available logos with download and delete options | |'''Uploaded Logos''' section||Lists available logos with download and delete options | ||
|} | |} | ||
| Line 244: | Line 244: | ||
---- | ---- | ||
= Label Printing = | =Label Printing= | ||
[[File:Ultimateqrcode-label-print-fr.png|center|700px|Label printing window — 120×57mm format]] | [[File:Ultimateqrcode-label-print-fr.png|center|700px|Label printing window — 120×57mm format]] | ||
| Line 251: | Line 251: | ||
The label contains: | The label contains: | ||
* '''Left''': the configurable data QR code | |||
* '''Center''': key text information (reference, label, name, etc. depending on the object) | *'''Left''': the configurable data QR code | ||
* '''Right''': the record URL QR code | *'''Center''': key text information (reference, label, name, etc. depending on the object) | ||
*'''Right''': the record URL QR code | |||
The window automatically triggers the browser's print dialog. | The window automatically triggers the browser's print dialog. | ||
| Line 261: | Line 262: | ||
---- | ---- | ||
= Rights and Permissions = | =Rights and Permissions= | ||
[[File:Ultimateqrcode-permissions-fr.png|center|700px|UltimateQRcode module permissions]] | [[File:Ultimateqrcode-permissions-fr.png|center|700px|UltimateQRcode module permissions]] | ||
| Line 268: | Line 269: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Permission !! Description !! Effect | !Permission!!Description!!Effect | ||
|- | |- | ||
| '''Read qrcode outcomes''' || Read QR codes || Allows viewing QR code tabs and displaying generated QR codes | |'''Read qrcode outcomes'''||Read QR codes||Allows viewing QR code tabs and displaying generated QR codes | ||
|- | |- | ||
| '''Create/Modify qrcode outcomes''' || Create / Modify || Allows checking/unchecking fields and saving the configuration | |'''Create/Modify qrcode outcomes'''||Create / Modify||Allows checking/unchecking fields and saving the configuration | ||
|} | |} | ||
| Line 279: | Line 280: | ||
---- | ---- | ||
= FAQ = | =FAQ= | ||
; '''The QR code is empty or shows "No data"''' | ;'''The QR code is empty or shows "No data"''' | ||
: No field is checked, or all checked fields have empty values in the record. Check at least one field with a value and click SAVE. | :No field is checked, or all checked fields have empty values in the record. Check at least one field with a value and click SAVE. | ||
; '''The label does not print at the correct size''' | ;'''The label does not print at the correct size''' | ||
: Verify that the printer paper format is set to 120×57mm. Disable margins in the browser's print options. | :Verify that the printer paper format is set to 120×57mm. Disable margins in the browser's print options. | ||
; '''Extra fields do not appear''' | ;'''Extra fields do not appear''' | ||
: Custom attributes must be defined in '''Setup → Extra attributes''' for the relevant object type. | :Custom attributes must be defined in '''Setup → Extra attributes''' for the relevant object type. | ||
; '''The QR with logo is not readable''' | ;'''The QR with logo is not readable''' | ||
: The logo takes up too much space. Use a smaller logo or increase ECC to '''H''' to improve error correction. | :The logo takes up too much space. Use a smaller logo or increase ECC to '''H''' to improve error correction. | ||
; '''The QR code tab does not appear on some records''' | ;'''The QR code tab does not appear on some records''' | ||
: Verify that the module is activated and that the user has the '''Read qrcode outcomes''' permission. | :Verify that the module is activated and that the user has the '''Read qrcode outcomes''' permission. | ||
---- | ---- | ||
= See also = | =See also= | ||
* [[Module_Ultimateqrcode_FR|Module UltimateQRcode — Documentation française] | *[[Module_Ultimateqrcode_FR|Module UltimateQRcode — Documentation française]] | ||
[[Category:External module]] | [[Category:External module]] | ||
[[Category:QR Code]] | [[Category:QR Code]] | ||
[[Category:Atoo-Net]] | [[Category:Atoo-Net]] | ||
Revision as of 18:37, 20 March 2026
Informations
| Module name | Ultimateqrcode |
| Editor / Editeur | Atoo.Net - https://www.atoo-net.com |
| Download or buy page / Page achat ou téléchargement | External module - www.dolistore.com |
| Status / Statut / Estado | Stable |
| Prerequisites / Prérequis |
Dolibarr min version: See on Dolistore Dolibarr max version: See on Dolistore |
| Last update date / Date mise à jour fiche / Fecha última actualización | 2026-03-20 |
| Note / Nota |
Installation
- Download the module and place it in the
htdocs/custom/ultimateqrcode/directory - In Dolibarr: go to Home → Setup → Modules/Applications
- Find UltimateQRcode in the Atoo-Net section and activate it
- Configure permissions per user group (see Rights and permissions)
Module Configuration
Access configuration via Home → Setup → Modules/Applications → UltimateQRcode (wrench icon), or directly through the administration menu.
The configuration page has three tabs.
Tab "QR codes" (free generator)
This tab provides an on-demand QR code generator:
| Field | Description |
|---|---|
| Data | Content to encode: URL, email address, free text, vCard, etc. |
| ECC | Error correction level: • L (≈7% — smallest): minimal size • M (≈15%): standard use • Q (≈25%): good resistance • H (≈30% — best): highly resistant (recommended with logo) |
| Size | Point size (1 to 10 pixels per QR module) |
| GENERATE button | Instantly generates and displays the QR code |
Click Like that in the help text to see a generation example.
Tab "QR with logo"
This tab generates a QR code with a logo inserted in the center:
| Field | Description |
|---|---|
| Data | URL or content to encode (default: https://www.atoo-net.com/) |
| Size | 1 to 10 — controls the resolution of the generated image |
| Choose a file | PNG logo to embed in the center of the QR code |
| GENERATE button | Generates the QR code with the logo and saves it |
| Select a QR code to display | Choose from previously generated QR codes to display |
| DISPLAY button | Displays the selected QR code |
| Trash icon | Deletes the selected QR file (with confirmation) |
The Uploaded Logos section lists all uploaded PNG files with their size and upload date. A delete button is available on each row.
Tab "About"
Displays module version information, author details and documentation links.
Usage in Records
The module adds a QR code tab to the following object records:
| Object | Added tab(s) |
|---|---|
| Third party | QR code + QR-Url (two separate tabs) |
| Contact | QR code |
| Product / Service | QR code |
| Lot / Serial number | QR code |
| Warehouse | QR code |
| Proposal (Quote) | QR code |
| Customer order | QR code |
| Supplier order | QR code |
| Customer invoice | QR code |
| Supplier invoice | QR code |
| Contract | QR code |
| Intervention | QR code |
| Project | QR code |
| Member (foundation) | QR code |
| User group | QR code |
| User | QR code |
| Customer payment | QR code |
| Supplier payment | QR code |
| Survey (OpenSurvey) | QR code |
Common structure of the QR code tab
Each QR code tab is organized in two sections:
Top section — Configurable data QR code
The user selects which fields to include in the QR code using checkboxes:
- Left column: checkbox
- Center column: field label and current value (grayed out if unchecked)
- Right column: the generated QR code (spanning the full height of the table)
Available fields depend on the object type:
| Object | Available fields |
|---|---|
| Third party | Company name, Address, ZIP, Town, Country, Phone, Email, URL + Extra fields |
| Product | Ref., Label, Description, Price excl. tax, Price incl. tax, Barcode, Weight, Volume, URL + Extra fields |
| Warehouse | Label, Short location name, Description, Address, ZIP, Town, Country, URL + Extra fields |
| User | Login, First name, Last name, Phone, Mobile, Email, Address, ZIP, Town, Country, URL + Extra fields |
| Contact | Title, First name, Last name, Company, Job, Phone, Mobile, Email, Address, etc. |
| (others) | Fields specific to each object type |
The displayed QR code is clickable: clicking it opens the label printing window.
Bottom section — Record URL QR code
The bottom section displays:
- The label URL of the [object] record
- A clickable link to the Dolibarr record
- A second QR code encoding the direct URL to the record (also clickable for label printing)
- The SAVE and CANCEL buttons
Automatic default field selection
On first display (no configuration saved), the module automatically selects fields whose value is non-empty. This ensures a relevant QR code right from the first opening.
Saving configuration
Check/uncheck the desired fields, then click SAVE. The selection is saved and applies to all objects of the same type (one global configuration per object type).
QR code tab — Examples by object
Product
Example configuration for a product: Ref. and Label checked, plus extra fields Ecotax and ControlHistoryLink. The QR encodes these four values concatenated.
Warehouse
Useful for physical identification of storage locations. The Short location name field (lieu) allows specifying the storage zone.
User
The user QR code encodes contact information (login, first name, last name, phone, mobile, email, country...). Practical for badges or internal business cards.
QR-Url Tab (Third parties only)
Third party records have a second QR tab called QR-Url, specialized in generating QR codes with an embedded logo encoding the record URL.
Features:
| Element | Function |
|---|---|
| Size (1-10) | Resolution of the generated QR code |
| Choose file + UPLOAD LOGO | Upload a PNG logo to embed in the center |
| Select a QR code to display | Choose from QR codes already generated for this third party |
| DISPLAY button | Displays the selected QR code |
| Uploaded Logos section | Lists available logos with download and delete options |
The displayed QR encodes the URL of the third party record, with the chosen logo inserted in the center of the image.
Label Printing
Clicking any QR code in any tab opens a popup print window optimized for labels in 120 × 57 mm format (compatible with standard label printers).
The label contains:
- Left: the configurable data QR code
- Center: key text information (reference, label, name, etc. depending on the object)
- Right: the record URL QR code
The window automatically triggers the browser's print dialog.
Rights and Permissions
The module defines two permission levels, to be assigned per user group in Setup → Groups and users:
| Permission | Description | Effect |
|---|---|---|
| Read qrcode outcomes | Read QR codes | Allows viewing QR code tabs and displaying generated QR codes |
| Create/Modify qrcode outcomes | Create / Modify | Allows checking/unchecking fields and saving the configuration |
FAQ
- The QR code is empty or shows "No data"
- No field is checked, or all checked fields have empty values in the record. Check at least one field with a value and click SAVE.
- The label does not print at the correct size
- Verify that the printer paper format is set to 120×57mm. Disable margins in the browser's print options.
- Extra fields do not appear
- Custom attributes must be defined in Setup → Extra attributes for the relevant object type.
- The QR with logo is not readable
- The logo takes up too much space. Use a smaller logo or increase ECC to H to improve error correction.
- The QR code tab does not appear on some records
- Verify that the module is activated and that the user has the Read qrcode outcomes permission.

