Commit Graph

396 Commits

Author SHA1 Message Date
OCA-git-bot
8fbaf6c2ad Merge PR #772 into 14.0
Signed-off-by pedrobaeza
2021-01-15 07:53:14 +00:00
OCA-git-bot
a4e0364675 [ADD] setup.py 2021-01-13 14:21:49 +00:00
OCA-git-bot
363e68b4fc [UPD] README.rst 2021-01-13 14:21:49 +00:00
OCA-git-bot
577aa869b0 [UPD] addons table in README.md 2021-01-13 14:21:47 +00:00
oca-travis
de2adf94e3 [UPD] Update account_banking_mandate.pot 2021-01-13 14:15:35 +00:00
OCA-git-bot
18a975fcac Merge PR #770 into 14.0
Signed-off-by pedrobaeza
2021-01-13 14:09:06 +00:00
Stefan Rijnhart
1fd22aaebe [RFR] Simplify datamodel 2021-01-13 15:05:51 +01:00
Alexis de Lattre
bd2d666e59 [IMP] account_banking_mandate: black, isort, etc... 2021-01-13 15:05:38 +01:00
Alexis de Lattre
49ee4bd41a [MIG] account_banking_mandate: Migration to 14.0
Replace constrains on company by check_company=True on fields
2021-01-13 15:03:48 +01:00
Carlos Roca
106aaf7312 [FIX] account_banking_sepa_credit_transfer: Fixed tests 2021-01-13 11:21:12 +01:00
Alexis de Lattre
dc8a769aaf [MIG] account_banking_sepa_credit_transfer to v14.0 2021-01-13 08:49:21 +01:00
Carlos Roca
e7373c9f5e [IMP] account_banking_sepa_credit_transfer: black, isort, prettier 2021-01-13 08:47:56 +01:00
Ignacio Buioli
79acb325b5 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (14 of 14 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_credit_transfer/es_AR/
2021-01-13 08:44:52 +01:00
Ignacio Buioli
30e44f887a Added translation using Weblate (Spanish (Argentina)) 2021-01-13 08:44:52 +01:00
Yung-Wa
e5558acf23 Translated using Weblate (Dutch)
Currently translated at 100.0% (18 of 18 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_credit_transfer/nl/
2021-01-13 08:44:52 +01:00
Pedro M. Baeza
233853ef3d [FIX] account_banking_sepa_direct_debit: Remove l10n_generic_coa need on tests
Tests assume that `l10n_generic_coa` is installed, which is not the case for several
cases. We replace it creating a minimal account base data for the company test that
makes it to work.
2021-01-13 08:44:52 +01:00
Valentin Vinagre Urteaga
79d5b17c65 [MIG] account_banking_sepa_credit_transfer: Migration to 13.0 2021-01-13 08:44:52 +01:00
Valentin Vinagre Urteaga
b506c7730f [IMP] account_banking_sepa_credit_transfer: black, isort, prettier 2021-01-13 08:44:52 +01:00
Carles Antoli
9fea64eca8 Added translation using Weblate (Catalan) 2021-01-13 08:44:52 +01:00
Carles Antoli
fdce77757c Added translation using Weblate (Catalan) 2021-01-13 08:44:52 +01:00
Pedro M. Baeza
e333d07a19 [MIG] account_banking_pain_base: Migration to 12.0
* Standard migration procedure
* README by fragments
* Fixed tests
* Change
* Fix related no readonly in account_banking_pain_base
* Override default partner bank account check on account_payment_partner
* Convert Python date to string
2021-01-13 08:44:52 +01:00
OCA Transbot
ee4cf850b3 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-01-13 08:44:52 +01:00
chrispi-ch
306e6d6922 Translated using Weblate (German)
Currently translated at 100.0% (6 of 6 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_banking_sepa_credit_transfer/de/
2021-01-13 08:44:52 +01:00
andreparames
64b98f9818 [ADD] sepa: add Instruction Identification field
InstrId is optional, so there should be no harm in
adding it always, with the same value as EndToEndId.
2021-01-13 08:44:52 +01:00
Stéphane Bidoul
6e9e66ddd4 [ADD] sepa: support for Purpose Code 2021-01-13 08:44:52 +01:00
Pedro M. Baeza
0a50c865b5 [FIX] account_banking_sepa_credit_transfer: Fix tests due to upstream change
Odoo has added a constraint for avoiding a company currency change if there
are move lines, making these tests to fail, as the currency is changed to EUR.

With this commit, we create a new company with EUR currency for avoiding the
problem. An alternative solution could be to delete all the existing move lines
on the company, but as that can be problematic if there are additional
constraints (extra modules, locking date, etc), I have chosen the other approach.
2021-01-13 08:44:52 +01:00
OCA Transbot
93cf20c94a OCA Transbot updated translations from Transifex 2021-01-13 08:44:52 +01:00
etobella
6523fed2e5 [MIG] account_banking_sepa_credit_transfer: Migration to 11.0 2021-01-13 08:44:52 +01:00
OCA Transbot
ac8387cd91 OCA Transbot updated translations from Transifex 2021-01-13 08:44:52 +01:00
Alexis de Lattre
3933d609df [MIG] account_banking_sepa_credit_transfer: Migration to 10.0 2021-01-13 08:44:52 +01:00
Pedro M. Baeza
1100593a3d OCA Transbot updated translations from Transifex 2021-01-13 08:37:28 +01:00
Alexis de Lattre
eebc19c1df [MIG] account_banking_sepa_credit_transfer: Migration to 9.0 2021-01-13 08:37:28 +01:00
OCA Transbot
62e0c761b6 OCA Transbot updated translations from Transifex 2021-01-13 08:37:28 +01:00
Antonio Espinosa
94daaa3f01 Define SEPA identifiers per payment mode 2021-01-13 08:37:28 +01:00
Pedro M. Baeza
352ff92c94 [IMP] account_banking_sepa_credit_transfer: Short headers + Bump version numbers + es translations 2021-01-13 08:37:28 +01:00
Alexis de Lattre
6a0997bce8 Add bank.payment.lines object to allow grouping in the payments 2021-01-13 08:37:28 +01:00
unknown
ef65ace0df German pain.001.003.03 format 2021-01-13 08:37:28 +01:00
Stéphane Bidoul
4521c51b98 sepa attachments migration fix
Sometimes sepa file could have been detached
from the corresponding payment order.
2021-01-13 08:37:28 +01:00
Alexis de Lattre
989d329e5a Port SEPA modules to new API
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more
Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer
Add post-install script for date_sent on payment.order
2021-01-13 08:37:28 +01:00
Philippe Schmidt
7aec7345c0 Add requested descriptions in an OCA README.rst file 2021-01-13 08:37:28 +01:00
Alexis de Lattre
bbc452a859 Use attachments instead of creating a specific object for each kind of payment order 2021-01-13 08:37:28 +01:00
Stéphane Bidoul
833ddcbbc8 sepa credit tfr: get BIC from bank account if not available on bank
Since the bank is optional on bank accounts and the BIC can be set
on the bank account if there is no bank, we allow the system to
get the BIC from the bank account in case it is not on the bank.

We give priority to the BIC indicated on the bank, keeping
the same behaviour with existing data where the bank BIC is
available.
2021-01-13 08:37:28 +01:00
Julien Laloux
b4c1bff256 Fix an error when no payment_order_ids 2021-01-13 08:37:28 +01:00
Pedro M. Baeza
5b5c4b4b11 [MIG] account_banking_sepa_credit_transfer: Migration to v8 2021-01-13 08:37:28 +01:00
Launchpad Translations on behalf of banking-addons-team
5d6a76d0f4 Launchpad automatic translations update. 2021-01-13 08:37:28 +01:00
Alexis de Lattre
1fc6970ac5 [RFR] account_banking_sepa_credit_transfer
* Start code factoring between SCT and SDD.
* More code factoring between SCT and SDD As a consequence, we now have support for structured remittance info in SDD.
* The requested collection date now uses the fields date_prefered and date_scheduled of payment.order, instead of the field in the SDD wizard.
* Mutualize more code between SCT and SDD.
* Replace unallowed ascii caracters by '-' Update some error messages Update translation files and FR translation Include sepa_export in gen_args Factorize more code between SDD and SCT Fix view of payment lines The modules account_banking_pain_base and account_banking_sepa_* are now fully PEP8 compliant
* For SCT, if BIC is not provided, we should not put the 'Creditor Agent' block at all, according to EPC guidelines (on this point, it is different from the Direct Debit !)
* Add demo data
* Add missing utf-8 header Update state field on SEPA file objects and display it in tree+form views. Migrate form views to version 7.0 and simplify them.
2021-01-13 08:37:28 +01:00
Launchpad Translations on behalf of banking-addons-team
52b624e472 Launchpad automatic translations update. 2021-01-13 08:37:28 +01:00
Alexis de Lattre
c6068716d5 [IMP] account_banking_sepa_credit_transfer:
* Better prototype for the _prepare_field function. Update help message, POT file and FR translation.
* Revert the dependancy to account_banking_payment_export (the field payment_order_type on payment.mode.type has a default value of "payment" anyway).
* Akretion-Noviat code sprint dated 2013-11-21: - add module account_banking_pain_base - add support for initiating party identification, priority and structured remittance info in XML file - the requested execution date now uses the fields date_prefered and date_scheduled (the field of the wizard has been removed) - the 'convert to ascii' feature is now an option of the payment mode (enabled by default) - set 'communication' field of payment.line to 140 chars and hide field 'communicatio n2'
* FIX label : Customer (which is wrong, it is most of the time a Supplier !)-> Creditor More PEP8 stuff.
2021-01-13 08:37:28 +01:00
Launchpad Translations on behalf of banking-addons-team
8338a8b3b7 Launchpad automatic translations update. 2021-01-13 08:37:28 +01:00
Alexis de Lattre
f74d8c7abc [IMP] account_banking_sepa_credit_transfer: Support new format + other things:
* Add support for pain.001.001.05 Fix dependencies (I need the field "payment_order_type" which is in account_banking_payment) Only use ASCII characters in the XML file (that's how banks use XML !) Use the payment order reference as the Message Identification of the XML file. Use the payment line sequence as the "End to End Identification" Remove the Instruction Identification ('InstrId') because it is not a required field (only the End to End identification is required) Rename variables in the function create_sepa() to include the number of each field as used in the EPC guidelines Reduce the number of flake8 warnings Make code more modular : - self.pool.get('banking.export.sepa').create() has a _prepare fonction - most of the content of the XML file can be inherited via _prepare_field()
* Update strings. Update FR translation.
* fields.date.context_today doesn't work with datetime => we now use the native field create_date Coding style improvements.
* Add logo
2021-01-13 08:37:28 +01:00