<commit_before># -*- coding: utf-8 -*-
# © 2016 Akretion (<NAME> <<EMAIL>>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import models, fields


class ResPartnerBank(models.Model):
    _inherit = 'res.partner.bank'

    # TODO: It doesn't work, I don't understand why
    # So I change the label of the field in the view
    acc_type = fields.Char(string='Bank Account Type')<commit_msg>Store field acc_type on res.partner.bank, so that we can search and groupby on it<commit_after># -*- coding: utf-8 -*-
# © 2016 Akretion (<NAME> <<EMAIL>>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import models, fields


class ResPartnerBank(models.Model):
    _inherit = 'res.partner.bank'

    # I also have to change the label of the field in the view
    # I store the field, so that we can do groupby and search on it
    acc_type = fields.Char(string='Bank Account Type', store=True)
{'fraction_non_alphanumeric': 0.12552301255230125, 'fraction_numerical': 0.014644351464435146, 'mean_word_length': 3.6231884057971016, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1683185', 'n_tokens_mistral': 325, 'n_tokens_neox': 306, 'n_words': 111}