summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/javascript_reference.rst')
-rw-r--r--doc/reference/javascript_reference.rst16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst
index 7f0e606e28e..059b5796041 100644
--- a/doc/reference/javascript_reference.rst
+++ b/doc/reference/javascript_reference.rst
@@ -129,9 +129,8 @@ Here is what happens when a template is rendered by the server with these direct
be replaced by a list of script tags pointing to the js files
- if we are not in *debug=assets* mode,
- - the css files will be concatenated and minified, then splits into files
- with no more than 4096 rules (to get around an old limitation of IE9). Then,
- we generate as many stylesheet tags as necessary
+ - the css files will be concatenated and minified, then a stylesheet tag is
+ generated
- the js files are concatenated and minified, then a script tag is generated
Note that the assets files are cached, so in theory, a browser should only load
@@ -2006,6 +2005,17 @@ Relational fields
- Supported field types: *many2one*
+- many2one_barcode (FieldMany2OneBarcode)
+ Widget for many2one fields allows to open the camera from a mobile device (Android/iOS) to scan a barcode.
+
+ Specialization of many2one field where the user is allowed to use the native camera to scan a barcode.
+ Then it uses name_search to search this value.
+
+ If this widget is set and user is not using the mobile application,
+ it will fallback to regular many2one (FieldMany2One)
+
+ - Supported field types: *many2one*
+
- kanban.many2one (KanbanFieldMany2One)
Default widget for many2one fields (in kanban view). We need to disable all
edition in kanban views.