Add active field on res.partner.bank
This commit is contained in:
committed by
Raphaël Valyi
parent
da7c38701c
commit
851193eb5a
12
base_usability/partner_bank.py
Normal file
12
base_usability/partner_bank.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2018 Akretion France
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResPartnerBank(models.Model):
|
||||
_inherit = 'res.partner.bank'
|
||||
|
||||
active = fields.Boolean(default=True)
|
||||
Reference in New Issue
Block a user