mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-11-16 19:12:04 +00:00
14a109dc87
[ADD] l10n_ch_zip [ADD] l10n_ch_bank_statement_import_postfinance
19 lines
677 B
Python
19 lines
677 B
Python
# Copyright 2012-2016 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from flectra import models, fields
|
|
|
|
|
|
class ResPartnerBank(models.Model):
|
|
"""
|
|
Inherit res.partner.bank class in order to add swiss specific fields
|
|
such as:
|
|
- ISR data
|
|
- ISR print options for company accounts
|
|
We leave it here in order
|
|
"""
|
|
_inherit = "res.partner.bank"
|
|
isr_adherent_num = fields.Boolean('Print Bank adherent number') #custom added fields
|
|
print_bank = fields.Boolean('Print Bank on ISR')
|
|
print_account = fields.Boolean('Print Account Number on ISR')
|
|
print_partner = fields.Boolean('Print Partner Address on ISR')
|