mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Store field acc_type on res.partner.bank, so that we can search and groupby on it
This commit is contained in:
committed by
Enric Tobella
parent
0d104f4cef
commit
5da671433e
@@ -8,6 +8,6 @@ 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')
|
||||
# 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)
|
||||
|
||||
Reference in New Issue
Block a user