Commit Graph

279 Commits

Author SHA1 Message Date
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
Pedro M. Baeza
d6731511a6 Translation template files for all modules. 2021-01-13 08:37:28 +01:00
Stefan Rijnhart
15626011e0 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2021-01-13 08:37:28 +01:00
Erwin van der Ploeg
70f91de7b4 Added translations to all banking modules in use in the Netherlands 2021-01-13 08:37:28 +01:00
Stéphane Bidoul
b7d4959e27 [RFR] account_banking_payment: refactoring to make payment export features available without pulling bank statement features
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes
- account_banking_payment_export does not depend on account_banking
- account_banking_payment is consequently stripped of above features
- account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow
- clarified comment about workflow in account_banking_sepa_credit_transfer
- avoid generating invalid sepa credit transfer files when bank accounts have no BIC
2021-01-13 08:37:28 +01:00
Alexis de Lattre
ea95bb5784 Update strings to prepare the arrival of SEPA Direct Debit XSD validation of the SEPA XML file is now really working Update views to 7.0-style Better error handling when Bank account in missing on the invoice. 2021-01-13 08:37:28 +01:00
Stefan Rijnhart
58da723950 [IMP] account_banking_sepa_credit_transfer: 3 things
* Small API changes
* Updated two additional imports to new API
* A payment mode type needs a suitable bank type
2021-01-13 08:37:28 +01:00
unknown
4d2d8a595b account_banking_sepa_credit_transfer implementing SEPA SCT pain 2021-01-13 08:37:28 +01:00
OCA-git-bot
3ada27b98e [ADD] setup.py 2021-01-07 16:41:00 +00:00
OCA-git-bot
dd65968523 [UPD] README.rst 2021-01-07 16:40:59 +00:00
OCA-git-bot
d0f9826598 [UPD] addons table in README.md 2021-01-07 16:40:58 +00:00
oca-travis
41715708ac [UPD] Update account_banking_pain_base.pot 2021-01-07 16:28:31 +00:00
OCA-git-bot
f8277ad185 Merge PR #761 into 14.0
Signed-off-by pedrobaeza
2021-01-07 16:22:52 +00:00
Carlos Roca
a2884e3011 [MIG] account_banking_pain_base: Migration to v14 2021-01-07 11:04:53 +01:00
Carlos Roca
917ce4aefd [IMP] account_banking_pain_base: black, isort, prettier 2021-01-05 16:21:33 +01:00
robin.keunen
be9d04fc16 [IMP] ab_pain_base: use account holder name in party block 2021-01-05 16:20:47 +01:00
Ignacio Buioli
cff9a38bf8 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (171 of 171 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_pain_base/es_AR/
2021-01-05 16:20:47 +01:00
Ignacio Buioli
146a9cb639 Added translation using Weblate (Spanish (Argentina)) 2021-01-05 16:20:47 +01:00
Valentin Vinagre Urteaga
a7c9edf768 [MIG] account_banking_pain_base: Migration to 13.0 2021-01-05 16:20:47 +01:00
Valentin Vinagre Urteaga
4db4e46b4a [IMP] account_banking_pain_base: black, isort, prettier 2021-01-05 16:20:47 +01:00
Matjaz Mozetic
e3bfccdf09 Translated using Weblate (Slovenian)
Currently translated at 11.5% (21 of 182 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/sl/
2021-01-05 16:20:47 +01:00
Matjaz Mozetic
f9bd91a7c4 Translated using Weblate (Slovenian)
Currently translated at 11.0% (20 of 182 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/sl/
2021-01-05 16:20:47 +01:00
Carles Antoli
128fd69721 Added translation using Weblate (Catalan) 2021-01-05 16:20:47 +01:00
SimoRubi
f8708c8ec7 [IMP] account_banking_pain_base: Provide a more detailed message when _prepare_field fails 2021-01-05 16:20:47 +01:00
Patrick Tombez
88977f3d2e [11.0] account_banking_pain_base: Allow override of address block 2021-01-05 16:20:47 +01:00
Marco Calcagni
864786c844 Translated using Weblate (Italian)
Currently translated at 32.2% (57 of 177 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/it/
2021-01-05 16:20:47 +01:00
Marco Calcagni
2521d05f70 Translated using Weblate (Italian)
Currently translated at 27.7% (49 of 177 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/it/
2021-01-05 16:20:47 +01:00
Marco Calcagni
c07bb36fcc Translated using Weblate (Italian)
Currently translated at 6.2% (11 of 177 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/it/
2021-01-05 16:20:47 +01:00
Pedro M. Baeza
ea77d82017 [FIX] account_banking_pain_base: flake8 2021-01-05 16:20:47 +01:00
Thierry Ducrest
2c3f313ebe [12.0][FIX] account_banking_pain_base bic constrains
The bic fields is not required, so the constraint must take that into
consideration and accept empty bic.
2021-01-05 16:20:47 +01:00
Thomas Binsfeld
cd4209f745 [REF] Account Banking Pain Base: constraint on BIC
Prevent inserting BIC not respecting the SEPA pain schemas.
2021-01-05 16:20:47 +01:00
Pedro M. Baeza
0e219f2b8b [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-05 16:20:47 +01:00
Sergio Teruel
0f6c9c4b5f [12.0][MIG] account_banking_pain_base: Migration to v12.0 2021-01-05 16:20:47 +01:00
Timka Piric
8c428c4b1e PstCd and TwnNm not present in pain files 001.003.xx and 008.003.xx. Added check of pain_flavor. 2021-01-05 16:20:47 +01:00