Skip to content
Permalink
Browse files

[IMP] web: improvement in many2one barcode widget

  • Loading branch information...
jso-odoo committed Apr 19, 2019
1 parent b792552 commit e9a04ffcafe714239c15b106e0fcd254d443197c
@@ -67,7 +67,7 @@ registry
.add('radio', relational_fields.FieldRadio)
.add('selection_badge', relational_fields.FieldSelectionBadge)
.add('many2one', relational_fields.FieldMany2One)
.add('many2one_barcode', relational_fields.FieldMany2One)
.add('many2one_barcode', relational_fields.Many2oneBarcode)
.add('list.many2one', relational_fields.ListFieldMany2One)
.add('kanban.many2one', relational_fields.KanbanFieldMany2One)
.add('many2many', relational_fields.FieldMany2Many)
@@ -767,6 +767,10 @@ var FieldMany2One = AbstractField.extend({
},
});

var Many2oneBarcode = FieldMany2One.extend({
description: "",
});

var ListFieldMany2One = FieldMany2One.extend({

//--------------------------------------------------------------------------
@@ -2875,6 +2879,7 @@ var FieldReference = FieldMany2One.extend({

return {
FieldMany2One: FieldMany2One,
Many2oneBarcode: Many2oneBarcode,
KanbanFieldMany2One: KanbanFieldMany2One,
ListFieldMany2One: ListFieldMany2One,

0 comments on commit e9a04ff

Please sign in to comment.
You can’t perform that action at this time.