[FIX] base: fix domain of serialization_field_id in ir model field view
During refactoring of the field view, parent.model has been replaced by model_id since it is more elegant. (odoo/odoo@4a60a3) That was correct when you was working directly from the ir.model.field. But if you was comming from ir.model -> fields -> 'add an item', the model_id is unknow in the context of pyeval. This commit close #12455
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<page name="advanced" string="Advanced Properties">
|
||||
<group>
|
||||
<field name="serialization_field_id"
|
||||
domain="[('ttype','=','serialized'), ('model_id', '=', model_id)]"
|
||||
domain="[('ttype','=','serialized'), ('model_id', '=', parent.model)]"
|
||||
attrs="{'readonly': [('state','=','base')]}"/>
|
||||
<field name="related"/>
|
||||
<field name="depends"/>
|
||||
|
||||
Reference in New Issue
Block a user