hunk.code_window:      * @param {mail.model} record
        * @throws {Error} if record does not satisfy related model
        */
       _verifyRelationalValue(record) {
           const OtherModel = this.modelManager.models[this.to];
           if (!OtherModel.get(record.localId, { isCheckingInheritance: true })) {
               throw Error(`Record ${record.localId} is not valid for relational field ${this.fieldName}.`);
           }
       }
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         const OtherModel = record.modelManager.models[this.to];
  
hunk.file_path: addons/mail/static/src/model/model_field.js
hunk.type: replace
file: # -*- encoding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from . import controllers
  from . import models
  from . import wizard
  