Add active field on res.partner.bank

This commit is contained in:
Alexis de Lattre
2018-09-18 21:32:16 +02:00
committed by Raphaël Valyi
parent da7c38701c
commit 851193eb5a
4 changed files with 40 additions and 0 deletions

View 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)