<commit_before># -*- encoding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in root directory
##############################################################################
from openerp import models, fields


class CrmTurnoverRange(models.Model):
    _name = 'crm.turnover_range'
    _order = "parent_left"
    _parent_order = "name"
    _parent_store = True
    _description = "Turnover range"

    name = fields.Char(required=True)
    parent_id = fields.Many2one(comodel_name='crm.turnover_range')
    children = fields.One2many(comodel_name='crm.turnover_range',
                               inverse_name='parent_id')
    parent_left = fields.Integer('Parent Left', select=True)
    parent_right = fields.Integer('Parent Right', select=True)<commit_msg>Set some fields as tranlate<commit_after># -*- encoding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in root directory
##############################################################################
from openerp import models, fields


class CrmTurnoverRange(models.Model):
    _name = 'crm.turnover_range'
    _order = "parent_left"
    _parent_order = "name"
    _parent_store = True
    _description = "Turnover range"

    name = fields.Char(required=True, translate=True)
    parent_id = fields.Many2one(comodel_name='crm.turnover_range')
    children = fields.One2many(comodel_name='crm.turnover_range',
                               inverse_name='parent_id')
    parent_left = fields.Integer('Parent Left', select=True)
    parent_right = fields.Integer('Parent Right', select=True)
{'fraction_non_alphanumeric': 0.2636363636363636, 'fraction_numerical': 0.003409090909090909, 'mean_word_length': 4.754901960784314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1445408', 'n_tokens_mistral': 481, 'n_tokens_neox': 454, 'n_words': 98}