<commit_before># -*- coding: utf-8 -*-
# Copyright (C) 2013-Today  <NAME> - CLVsol
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models


class SurveySurvey(models.Model):
    _inherit = 'survey.survey'

    code = fields.Char(string='Survey Code', required=False)

    _sql_constraints = [<commit_msg>[IMP] clv_survey (IMP models/survey_survey.py)<commit_after># -*- coding: utf-8 -*-
# Copyright (C) 2013-Today  <NAME> - CLVsol
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models


class SurveySurvey(models.Model):
    _inherit = 'survey.survey'
    _order = 'title'

    code = fields.Char(string='Survey Code', required=False)

    _sql_constraints = [
{'fraction_non_alphanumeric': 0.15147453083109919, 'fraction_numerical': 0.01876675603217158, 'mean_word_length': 3.7579617834394905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4313062', 'n_tokens_mistral': 280, 'n_tokens_neox': 260, 'n_words': 59}