[FIX][8.0] account_banking_mandate: Slipt basic mandate and sepa.

This commit is contained in:
Sergio Incaser
2016-04-01 15:15:19 +02:00
committed by Enric Tobella
parent eac0b74d7a
commit cd93b5e60c
2 changed files with 5 additions and 3 deletions

View File

@@ -25,11 +25,8 @@
'views/res_partner_bank_view.xml',
'views/bank_payment_line_view.xml',
'data/mandate_reference_sequence.xml',
'data/report_paperformat.xml',
'security/mandate_security.xml',
'security/ir.model.access.csv',
'reports/account_banking_mandate_view.xml',
'reports/account_banking_mandate.xml',
],
'demo': [],
'test': ['test/banking_mandate.yml'],

View File

@@ -35,6 +35,11 @@ class AccountBankingMandate(models.Model):
('expired', 'Expired'),
('cancel', 'Cancelled')]
@api.model
def _get_mandate_format(self):
return [('basic', _('Basic Mandate'))]
format = fields.Selection('_get_mandate_format', string='Mandate Format')
partner_bank_id = fields.Many2one(
comodel_name='res.partner.bank', string='Bank Account',
track_visibility='onchange')