Commit Graph

228 Commits

Author SHA1 Message Date
Pedro M. Baeza
f51b565a2b [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
2018-12-14 11:30:24 +01:00
OCA Transbot
09387fbbd3 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-14 11:30:24 +01:00
chrispi-ch
45b694913d 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/
2018-12-14 11:30:24 +01:00
andreparames
45540f66a5 [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.
2018-12-14 11:30:24 +01:00
Stéphane Bidoul
835ea77553 [ADD] sepa: support for Purpose Code 2018-12-14 11:30:24 +01:00
Pedro M. Baeza
edd9036bf7 [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.
2018-12-14 11:30:24 +01:00
OCA Transbot
f33214d853 OCA Transbot updated translations from Transifex 2018-12-14 11:30:24 +01:00
etobella
3f1201b446 [MIG] account_banking_sepa_credit_transfer: Migration to 11.0 2018-12-14 11:30:25 +01:00
OCA Transbot
51c3ff7ac9 OCA Transbot updated translations from Transifex 2018-12-14 01:01:36 +01:00
Alexis de Lattre
b5b127049d Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2018-12-14 01:01:36 +01:00
Alexis de Lattre
93c73a778b [MIG] account_banking_sepa_credit_transfer: Migration to 10.0 2018-12-14 01:01:37 +01:00
Pedro M. Baeza
0c069be43d OCA Transbot updated translations from Transifex 2018-12-14 00:59:45 +01:00
Alexis de Lattre
df27dbb9ce [MIG] account_banking_sepa_credit_transfer: Migration to 9.0 2018-12-14 00:59:00 +01:00
OCA Transbot
bc9230d004 OCA Transbot updated translations from Transifex 2018-12-14 00:57:27 +01:00
Antonio Espinosa
b0a726a64f Define SEPA identifiers per payment mode 2018-12-14 00:57:27 +01:00
Pedro M. Baeza
f2f1e1aa33 [IMP] account_banking_sepa_credit_transfer: Short headers + Bump version numbers + es translations 2018-12-14 00:57:27 +01:00
Alexis de Lattre
24c7f8a7a1 Add bank.payment.lines object to allow grouping in the payments 2018-12-14 00:57:02 +01:00
unknown
74e160ce5e German pain.001.003.03 format 2018-12-14 00:56:31 +01:00
Stéphane Bidoul
55bd632fbd sepa attachments migration fix
Sometimes sepa file could have been detached
from the corresponding payment order.
2018-12-14 00:56:31 +01:00
Alexis de Lattre
fe3992b966 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
2018-12-14 00:56:31 +01:00
Philippe Schmidt
4ed78fb98a Add requested descriptions in an OCA README.rst file 2018-12-14 00:56:31 +01:00
Alexis de Lattre
9c6ece2d8c Use attachments instead of creating a specific object for each kind of payment order 2018-12-14 00:56:29 +01:00
Stéphane Bidoul
8c691e6148 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.
2018-12-14 00:56:17 +01:00
Julien Laloux
a82e2b4753 Fix an error when no payment_order_ids 2018-12-14 00:56:17 +01:00
Pedro M. Baeza
8044f792e3 [MIG] account_banking_sepa_credit_transfer: Migration to v8 2018-12-14 00:56:15 +01:00
Launchpad Translations on behalf of banking-addons-team
5a2705a3ad Launchpad automatic translations update. 2018-12-14 00:53:03 +01:00
Alexis de Lattre
c10842f442 [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.
2018-12-14 00:53:03 +01:00
Launchpad Translations on behalf of banking-addons-team
889a04ab40 Launchpad automatic translations update. 2018-12-14 00:50:59 +01:00
Alexis de Lattre
f268a64d69 [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.
2018-12-14 00:50:59 +01:00
Launchpad Translations on behalf of banking-addons-team
d7063cdb73 Launchpad automatic translations update. 2018-12-14 00:17:05 +01:00
Alexis de Lattre
46bd2a8887 [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
2018-12-14 00:17:05 +01:00
Pedro M. Baeza
b287fa0fa2 Translation template files for all modules. 2018-12-14 00:16:30 +01:00
Stefan Rijnhart
c011bea2a3 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2018-12-14 00:16:30 +01:00
Erwin van der Ploeg
b303e3159b Added translations to all banking modules in use in the Netherlands 2018-12-14 00:16:30 +01:00
Stéphane Bidoul
d5087ae7f7 [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
2018-12-14 00:16:30 +01:00
Alexis de Lattre
e8d649b775 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. 2018-12-14 00:15:44 +01:00
Stefan Rijnhart
b27607b852 [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
2018-12-14 00:15:44 +01:00
unknown
ff2c0c7969 account_banking_sepa_credit_transfer implementing SEPA SCT pain 2018-12-14 00:13:59 +01:00
OCA-git-bot
cf9be453bd [ADD] setup.py 2018-12-13 23:10:42 +00:00
OCA-git-bot
64ae96f27c [UPD] README.rst 2018-12-13 23:10:42 +00:00
Pedro M. Baeza
be751359a3 Merge pull request #523 from Tecnativa/12.0-mig-account_banking_pain_base
[12.0][MIG] account_banking_pain_base: Migration to v12.0
2018-12-14 00:10:36 +01:00
Sergio Teruel
5532492d95 [12.0][MIG] account_banking_pain_base: Migration to v12.0 2018-12-13 20:30:55 +01:00
oca-travis
a2740f2a9a [UPD] Update account_banking_pain_base.pot 2018-12-13 20:30:55 +01:00
Timka Piric
47cd9f7d1f PstCd and TwnNm not present in pain files 001.003.xx and 008.003.xx. Added check of pain_flavor. 2018-12-13 20:30:55 +01:00
Alessandro Camilli
d220ea1411 Translated using Weblate (Italian)
Currently translated at 9.6% (8 of 83 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_banking_pain_base/it/
2018-12-13 20:30:55 +01:00
Alessandro Camilli
246b27ebd5 Added translation using Weblate (Italian) 2018-12-13 20:30:55 +01:00
Stéphane Bidoul (ACSONE)
171cd53463 [IMP] pain: add hook for party identifiers + improve Postal Address block
Use TwnNm for city and PstlCd for zip.
2018-12-13 20:30:46 +01:00
Stéphane Bidoul
1b8038e185 [ADD] sepa: support for Purpose Code 2018-12-13 20:29:31 +01:00
andreparames
5aad4bf427 [ADD] sepa: support Initiating Party Scheme 2018-12-13 20:29:31 +01:00
Stefan Rijnhart (Opener)
b04f2271f3 [ADD] Allow for multiple SEPA payment methods with different versions (#493) (#497) 2018-12-13 20:29:31 +01:00