[IMP] web: added option model_field to the reference field.
model_field: name of the FieldMany2One('ir.model') containing the model of the records that can be selected. If its value is different from False, the select will not be displayed.
The purpose of adding this option is to allow the creation of a reference field having its model defined in another field (Many2One).
Task-2195019
This commit is contained in:
committed by
Yannick Tivisse
parent
848c7eb464
commit
cc67988241
@@ -2275,6 +2275,11 @@ reference (FieldReference)
|
||||
|
||||
- Supported field types: *char, reference*
|
||||
|
||||
Options:
|
||||
|
||||
- model_field: name of a FieldMany2One('ir.model') containing the model of the records that can be selected.
|
||||
When this option is set, the select part of the FieldReference isn't displayed.
|
||||
|
||||
|
||||
Client actions
|
||||
==============
|
||||
|
||||
Reference in New Issue
Block a user