mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Take into accounts the remarks of Eric Caudal
This commit is contained in:
committed by
Enric Tobella
parent
075871ad64
commit
e2b1b44653
@@ -1,6 +1,7 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:alt: License: AGPL-3
|
||||
|
||||
================================
|
||||
Account Banking PAIN Base Module
|
||||
================================
|
||||
|
||||
@@ -46,11 +47,7 @@ Bug Tracker
|
||||
Bugs are tracked on `GitHub Issues
|
||||
<https://github.com/OCA/bank-payment/issues>`_. In case of trouble, please
|
||||
check there if your issue has already been reported. If you spotted it first,
|
||||
help us smashing it by providing a detailed and welcomed `feedback
|
||||
<https://github.com/OCA/
|
||||
bank-payment/issues/new?body=module:%20
|
||||
account_banking_pain_base%0Aversion:%20
|
||||
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
help us smashing it by providing a detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
@@ -13,9 +13,9 @@ class AccountPaymentLine(models.Model):
|
||||
('NORM', 'Normal'),
|
||||
('HIGH', 'High')],
|
||||
string='Priority', default='NORM',
|
||||
help="This field will be used as the 'Instruction Priority' in "
|
||||
help="This field will be used as 'Instruction Priority' in "
|
||||
"the generated PAIN file.")
|
||||
# PAIN allows 140 caracters
|
||||
# PAIN allows 140 characters
|
||||
communication = fields.Char(size=140)
|
||||
# The field struct_communication_type has been dropped in v9
|
||||
# We now use communication_type ; you should add an option
|
||||
|
||||
@@ -12,9 +12,9 @@ class AccountPaymentMethod(models.Model):
|
||||
pain_version = fields.Selection([], string='PAIN Version')
|
||||
convert_to_ascii = fields.Boolean(
|
||||
string='Convert to ASCII', default=True,
|
||||
help="If active, Odoo will convert each accented caracter to "
|
||||
"the corresponding unaccented caracter, so that only ASCII "
|
||||
"caracters are used in the generated PAIN file.")
|
||||
help="If active, Odoo will convert each accented character to "
|
||||
"the corresponding unaccented character, so that only ASCII "
|
||||
"characters are used in the generated PAIN file.")
|
||||
|
||||
@api.multi
|
||||
def get_xsd_file_path(self):
|
||||
|
||||
Reference in New Issue
Block a user