[FIX] web: debug menu view metadata
Before this commit, in a legacy view, clicking on debug menu "View Metadata" causes a crash. closes odoo/odoo#98866 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
@@ -57,6 +57,7 @@ class GetMetadataDialog extends Component {
|
||||
)[0];
|
||||
this.state.id = metadata.id;
|
||||
this.state.xmlid = metadata.xmlid;
|
||||
this.state.xmlids = metadata.xmlids;
|
||||
this.state.creator = formatMany2one(metadata.create_uid);
|
||||
this.state.lastModifiedBy = formatMany2one(metadata.write_uid);
|
||||
this.state.noupdate = metadata.noupdate;
|
||||
|
||||
Reference in New Issue
Block a user