Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 275 |
Technical Name |
eis_gs1_parser |
License | OPL-1 |
Website | http://www.expertpk.com |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 275 |
Technical Name |
eis_gs1_parser |
License | OPL-1 |
Website | http://www.expertpk.com |
API for GS1-128 (UCC/EAN-128)
This is a technical module and can’t do anything alone, you can use it in your custom module to decode gs1-128 (UCC/EAN-128) barcode strings.

Installation:
-
Simply copy the module folder in your Odoo addons folder.
-
Restart the Odoo service
-
In your database front end, activate debug mode and in apps click on update app list.
-
From app list, find this module and click on install.



Configuration:
Barcode Prefix:
If your barcode send a prefix with scanned barcode, you can add it in your user profile.
-
Click on username at top right corner and in drop down menu.
-
Click on preferences, your user profile will open.
-
Here in gs1 related tab, add prefix.
We recommend to configure your barcode reader to not send prefix.
Group Separator:
In gs1-128 strings, variable length application identifiers needs group separator <GS> (normally ASCII Char 29) and it’s known as FNC1. This is not printable char and normally barcode readers send CTRL + ] as ASCII Char 29. It may go wrong if your keyboard layout is different. Sometimes, companies configure their barcode scanners to replace this FNC1 with any other Char. If this is the case, you have to update it in your user profile as well.
-
Go to your user profile as describe in “Barcode Prefix” section above, and type a single char <GS>.
Valid GTIN
GS1-128 strings contain many pieces of information and mostly 1st one is GTIN with AI 01 or 02. It is a 14 digit code & it should be a valid GTIN. You can read more online. If you want to skip Valid GTIN check, you can configure it in your company preferences:
-
Go to settings
-
Users & Companies
-
Companies
Now edit your (desired) company and In form mode, click on GTIN Setup page and remove the check from Only Valid GTIN Allowed field.
Usage:
In your custom module, you need to call it as below.
Arguments:
code: String
valid_gtin: Bool (default = True)
fnc1: ASCII Char (default = ASCII Char 29)
decoded = self.env[‘gs1.parser’].parse_gs1(code, valid_gtin=valid_gtin, fnc1=fnc1)
it will return you a dict as below:
{‘ai’: ‘data’, ‘ai’: ‘data’}
Update Logs:
Version: 15.0.1.0.2 Dated: Dec 27, 2022
- Fixed date format issue when there is a date object without day in it, for example 231100.
API for GS1-128 (UCC/EAN-128)
This is a technical module and can’t do anything alone, you can use it in your custom module to decode gs1-128 (UCC/EAN-128) barcode strings.
Installation:
- Simply copy the module folder in your Odoo addons folder.
- Restart the Odoo service
- In your database front end, activate debug mode and in apps click on update app list.
- From app list, find this module and click on install.
Barcode Prefix:
If your barcode send a prefix with scanned barcode, you can add it in your user profile.
- Click on username at top right corner and in drop down menu.
- Click on preferences, your user profile will open.
- Here in gs1 related tab, add prefix.
We recommend to configure your barcode reader to not send prefix.
Group Separator:
In gs1-128 strings, variable length application identifiers needs group separator <GS> (normally ASCII Char 29) and it’s known as FNC1. This is not printable char and normally barcode readers send CTRL + ] as ASCII Char 29. It may go wrong if your keyboard layout is different. Sometimes, companies configure their barcode scanners to replace this FNC1 with any other Char. If this is the case, you have to update it in your user profile as well.
- Go to your user profile as describe in “Barcode Prefix” section above, and type a single char <GS>.
Valid GTIN
GS1-128 strings contain many pieces of information and mostly 1st one is GTIN with AI 01 or 02. It is a 14 digit code & it should be a valid GTIN. You can read more online. If you want to skip Valid GTIN check, you can configure it in your company preferences:
- Go to settings
- Users & Companies
- Companies
Now edit your (desired) company and In form mode, click on GTIN Setup page and remove the check from OnlyValid GTINAllowed field.
Usage:
In your custom module, you need to call it as below.
Arguments:
code: String
valid_gtin: Bool (default = True)
fnc1: ASCII Char (default = ASCII Char 29)
it will return you a dict as below:
{‘ai’: ‘data’, ‘ai’: ‘data’}
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
"full-featured app to support QR in Inventory and stock for Pharmacy"
Kindly give Us detail live demo on this ODOO APP GS1 for PoS and Inventory
Today
whatssapp : 00966551887764
m.abbas@outlook.com
PoS Problem With GS1
It your module solve ODOO PoS problems with GS1 Reading ?
Re: PoS Problem With GS1
Yes, following module will solve GS1 Reading in POS
https://apps.odoo.com/apps/modules/15.0/eis_pos_qr/
Furthermore, we have full-featured app to support QR in Inventory and stock for Pharmacy.