TIP: You can type at any time to perform a new search.
GS1 Barcode API
base_gs1_barcode · OCA/stock-logistics-barcode
- Repository
- OCA/stock-logistics-barcode · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Generic Modules/Inventory Control
- Folder size
- 1.86 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-barcode
- Last tracking update
- 2026-08-07 07:57:06
- Authors
- Odoo Community Association (OCA), Numérigraphe
- Maintainers
- Odoo Community Association (OCA), Numérigraphe
- Committers
- Weblate, OCA-git-bot, oca-ci, Jasmin Solanki
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
gs1_barcode_form_view |
gs1_barcode.form | gs1_barcode | form | New |
gs1_barcode_tree_view |
gs1_barcode.tree | gs1_barcode | tree | New |
view_users_form_gs1_barcode |
res.users.form.gs1_barcode | res.users | form | Inherits base.view_users_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (7)
-
aiCharhelp='The standard Application Identifier (AI)'required=Truesize=14 args: 'Application Identifier' -
data_typeSelectiondefault='string'required=True args: [('string', 'Any character string'), ('numeric', 'Numeric value'), ('date', 'Date')] -
decimalBooleanhelp='Indicates whether a digit is expected before the data for this Application Identifier to indicate the position of the decimal point.' args: 'Decimal Indicator' -
length_fixedBooleandefault=Truehelp='Indicates whether the length of the data for this Application Identifier is fixed or not.' args: 'Fixed-length Data' -
length_maxIntegerdefault=30help='Maximum length of the data for this Application Identifier.'required=True args: 'Maximum Data Length' -
length_minIntegerhelp='Minimum length of the data for this Application Identifier.' args: 'Minimum Data Length' -
nameCharrequired=Truetranslate=True args: 'Description'
-
decode(self, barcode_string)@api.modelDecode a GS1-128/GS1-Datamatrix string to dictionary of values with Application Identifiers as keys. Please note that the string MUST contain a <GS> character (group separator) after each variable-length value. <GS> is usually expected to be sent as ASCII character 29 but that may be configured per user. If the same Application Identifier is present several times in the string, only the its last value is returned. @type barcode_string: string @param barcode_string: GS1-128/GS1-Datamatrix string to decode @return: A dictionary of values with Application Identifiers as keys
New fields (2)
-
gs1_barcode_prefixCharhelp='The prefix that the barcode scanner will send when GS1-128 or GS1-Datamatrix codes are scanned. No prefix is expected if this fields is left empty' args: 'Prefix' -
gs1_barcode_separatorCharhelp='The characters that the barcode scanner will send when a <GS> (Group Separator) is encountered in a GS1-128 or GS1-Datamatrix code. <GS> is usually found when the data is of variable length. The ASCII character 29 will be expected by default if this field is left empty.'size=1 args: 'Group Separator'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…