[IMP] base: UI improvement

closes odoo/odoo#43676

Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
This commit is contained in:
Victor Feyens
2020-02-11 14:48:52 +00:00
parent 27650db8bb
commit fe7b0e828f
+2 -1
View File
@@ -278,7 +278,8 @@
<field name="link_field_id"
domain="[('model_id', '=', model_id), ('relation', '=', crud_model_name),
('ttype', 'in', ['many2one', 'one2many', 'many2many'])]"
attrs="{'invisible': [('state', '!=', 'object_create')]}"/>
attrs="{'invisible': [('state', '!=', 'object_create')]}"
context="{'default_model_id': model_id, 'default_relation': crud_model_name}"/>
</group>
</group>
<notebook>