<commit_before>odoo.define('base_details', function(require) {
    'use strict';

    var FieldReference = require('web.relational_fields').FieldReference;

    FieldReference.include({
        _reset: function () {
            this._super.apply(this, arguments);
            // due to odoo client error we've redefined this method to be able to change reference field values after it was set in onchange method src: https://github.com/odoo/odoo/pull/27109
            //this._setState();
        },
    });

});<commit_msg>revert previous comment as it is not  supposed to be published<commit_after>odoo.define('base_details', function(require) {
    'use strict';

    var FieldReference = require('web.relational_fields').FieldReference;

    FieldReference.include({
        _reset: function () {
            this._super.apply(this, arguments);
            // due to odoo client error we've redefined this method to be able to change reference field values after it was set in onchange method src: https://github.com/odoo/odoo/pull/27109
            this._setState();
        },
    });

});
{'fraction_non_alphanumeric': 0.1095890410958904, 'fraction_numerical': 0.0091324200913242, 'mean_word_length': 2.914285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '814713', 'n_tokens_mistral': 302, 'n_tokens_neox': 292, 'n_words': 88}