<commit_before># -*- coding: utf-8 -*-
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import _, models, fields


class ProductTemplate(models.Model):
    _inherit = 'product.template'

    numctrl_progress = fields.Integer(
        _('Num. Ctrl. Progress'),
    )

    _sql_constraints = [
        ('default_uniq', 'unique (default_code)',
         _('The field Num. Ctrl. Progress must be unique!'))
    ]<commit_msg>[FIX] Add new field in class product_product<commit_after># -*- coding: utf-8 -*-
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import _, models, fields


class ProductTemplate(models.Model):
    _inherit = 'product.template'

    numctrl_progress = fields.Integer(
        _('Num. Ctrl. Progress'),
    )

    _sql_constraints = [
        ('default_uniq', 'unique (default_code)',
         _('The field Num. Ctrl. Progress must be unique!'))
    ]


class ProductProduct(models.Model):
    _inherit = 'product.product'

    numctrl_progress = fields.Integer(
        _('Num. Ctrl. Progress'),
    )

    _sql_constraints = [
        ('default_uniq', 'unique (default_code)',
         _('The field Num. Ctrl. Progress must be unique!'))
    ]
{'fraction_non_alphanumeric': 0.1517509727626459, 'fraction_numerical': 0.004669260700389105, 'mean_word_length': 2.9207317073170733, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7141153', 'n_tokens_mistral': 425, 'n_tokens_neox': 405, 'n_words': 101}