[IMP] web: remove m2o from supportedTypes in selection widget
currently widget selection is not working in m2o in editable list view and to fix this issue it need a lots of changes to make it work properly, i.e. make '_fetchSpecialRelation' use correct domain for each record, batch requests as much as possible, also make all '_fetchSpecial...' work in the list case. So to avoid major changes remove supportedTypes from selection widget so user can not tempted to apply selection widget on many2one field. task-1871698 closes odoo/odoo#33485 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
committed by
Mohammed Shekha
parent
1385b60004
commit
01f66151c0
@@ -1666,7 +1666,7 @@ Relational fields
|
||||
|
||||
.. autoclass:: web.relational_fields.FieldSelection
|
||||
|
||||
Supported field types: *selection*, *many2one*
|
||||
Supported field types: *selection*
|
||||
|
||||
.. attribute:: placeholder
|
||||
|
||||
@@ -1697,7 +1697,7 @@ Relational fields
|
||||
- many2one (FieldMany2One)
|
||||
Default widget for many2one fields.
|
||||
|
||||
- Supported field types: *selection, many2one*
|
||||
- Supported field types: *many2one*
|
||||
|
||||
Attributes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user