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
88dbbebe43
commit
2b95506d72
@@ -1,27 +1,11 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:alt: License: AGPL-3
|
||||
|
||||
Account Banking - Payments Export Infrastructure
|
||||
================================================
|
||||
=====================
|
||||
Account Payment Order
|
||||
=====================
|
||||
|
||||
This module provide an infrastructure to export payment orders.
|
||||
It includes some bug fixes and obvious enhancements to payment orders that will hopefully land in offical addons one
|
||||
day.
|
||||
This technical module provides the base infrastructure to export payment orders
|
||||
for electronic banking. It provides the following technical features:
|
||||
|
||||
* a new payment.mode.type model
|
||||
* payment.mode now has a mandatory type
|
||||
* a better implementation of payment_mode.suitable_bank_types() based on
|
||||
payment.mode.type
|
||||
* the "make payment" button launches a wizard depending on the
|
||||
payment.mode.type
|
||||
* a manual payment mode type is provided as an example, with a default "do
|
||||
nothing" wizard
|
||||
|
||||
To enable the use of payment order to collect money for customers,
|
||||
it adds a payment_order_type (payment|debit) as a basis of direct debit support
|
||||
(this field becomes visible when account_direct_debit is installed).
|
||||
This module adds support for payment orders and debit orders.
|
||||
|
||||
Installation
|
||||
============
|
||||
@@ -30,6 +14,7 @@ This module depends on:
|
||||
|
||||
* account_payment_partner
|
||||
* base_iban
|
||||
* document
|
||||
|
||||
This modules is part of the OCA/bank-payment suite.
|
||||
|
||||
@@ -62,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_payment_order%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
|
||||
=======
|
||||
|
||||
@@ -15,8 +15,8 @@ class ResBank(models.Model):
|
||||
for bank in self:
|
||||
if bank.bic and len(bank.bic) not in (8, 11):
|
||||
raise ValidationError(_(
|
||||
"A valid BIC contains 8 or 11 caracters. The BIC '%s' "
|
||||
"contains %d caracters, so it is not valid.")
|
||||
"A valid BIC contains 8 or 11 characters. The BIC '%s' "
|
||||
"contains %d characters, so it is not valid.")
|
||||
% (bank.bic, len(bank.bic)))
|
||||
|
||||
# in v9, on res.partner.bank bank_bic is a related of bank_id.bic
|
||||
|
||||
Reference in New Issue
Block a user