summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-09-06 07:56:48 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-09-11 08:05:34 +0000
commit6ebbea16817fa194f2d084c3a8821d21e88dc483 (patch)
tree13ce930f7379d5cdc9f328213cafe5d502c65ded /addons/web/static/src/js/fields/basic_fields.js
parent5032fc16b4012eb9802fe261bc0170ac2f17749d (diff)
[FIX] base: barcode qweb field correct API
Before this commit, the barcode Qweb Field had a option called "type", which meant what is the mapping between numbers and barcode, that mapping is called a symbology https://www.barcoding.com/resources/barcoding-basics/barcode-symbologies/ This option "type" collided with what the qweb engine does at ``` qweb > _compile_directive_field that calls ir_qweb > _get_field ``` It resulted in a crash where type = "barcode" was not a valid symbology to pass to the barcode lib It is safe to say that this barcode widget was never user, otherwise it would have crashed This commit changes that non-functioning API, and the barcode renders well OPW 2066870 forward-port of #36499 (330d862513dba5bbc4716fe9c8694fd0db696934) closes odoo/odoo#36499 closes odoo/odoo#36658 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions