Commit Graph

269 Commits

Author SHA1 Message Date
Pedro M. Baeza
10b68fd5df [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2018-12-14 17:49:52 +01:00
Sergio Teruel
aceced1665 [MIG] account_banking_sepa_direct_debit: Migration to 12.0 2018-12-14 12:26:48 +01:00
andreparames
386dfec604 [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 12:17:53 +01:00
Stéphane Bidoul
5f40449dfc [ADD] sepa: support for Purpose Code 2018-12-14 12:17:53 +01:00
Enric Tobella
3ee81dcd31 Translated using Weblate (Español (España))
Currently translated at 100,0% (60 of 60 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_banking_sepa_direct_debit/es/
2018-12-14 12:17:53 +01:00
oca-travis
e4e4b40fc9 [UPD] Update account_banking_sepa_direct_debit.pot 2018-12-14 12:17:53 +01:00
Alexis de Lattre
9262d8a831 [10.0][FIX] Split account move generated for SEPA direct debits per sequence_type (#464)
The sequence_type of mandates switches from First to Recurring:
- BEFORE: when state switched from 'open' to 'generated'
- NOW: when state switches from 'generated' to 'uploaded'
2018-12-14 12:17:53 +01:00
Andrea
f967f41b49 [11.0][FIX] account_banking_sepa_direct_debit: printing report 2018-12-14 12:17:53 +01:00
Pedro M. Baeza
27349263d3 [FIX] account_banking_sepa_direct_debit: 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.

This commit also changes account_banking_mandate for not duplicating mandate
number, as it was detected during the test creation.

Similar to 1f8e345469695d1fb1a2ba2109ddea3adbdf1f78
2018-12-14 12:17:53 +01:00
OCA Transbot
9a410dec95 OCA Transbot updated translations from Transifex 2018-12-14 12:17:53 +01:00
etobella
666149cf97 [MIG] account_banking_sepa_direct_debit 2018-12-14 12:17:53 +01:00
Pedro M. Baeza
9df2e0cbc4 account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2018-12-14 12:17:53 +01:00
OCA Transbot
548061190b OCA Transbot updated translations from Transifex 2018-12-14 12:17:53 +01:00
Alexis de Lattre
2c6bd894c4 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2018-12-14 12:17:53 +01:00
Alexis de Lattre
8aeec95c43 [MIG] account_banking_sepa_direct_debit: Migration to 10.0 2018-12-14 12:17:53 +01:00
OCA Transbot
dcb866cf22 OCA Transbot updated translations from Transifex 2018-12-14 12:15:21 +01:00
Antonio Espinosa
97b944c0b0 [IMP] account_banking_sepa_direct_debit: Add english lang to mandate 2018-12-14 12:14:43 +01:00
OCA Transbot
353a1e7c9f OCA Transbot updated translations from Transifex 2018-12-14 12:14:02 +01:00
Pedro M. Baeza
a11e86d93f [FIX+IMP] account_banking_sepa_direct_debit: 3 things:
* Remove unused POT files
* Spanish translation
* Fix mandate report layout
2018-12-14 12:14:02 +01:00
Alexis de Lattre
194e803dc2 [MIG] account_banking_sepa_direct_debit: Migration to 9.0 2018-12-14 12:13:25 +01:00
OCA Transbot
de4f0d8f38 OCA Transbot updated translations from Transifex 2018-12-14 12:12:22 +01:00
Sergio Incaser
f688ea5a85 sepa_direct_debit_mandate: Split basic and sepa mandate 2018-12-14 12:12:22 +01:00
Pedro M. Baeza
8da73164e2 account_banking_sepa_direct_debit: Fixes #257 2018-12-14 12:10:28 +01:00
Antonio Espinosa
ebcede2746 Define SEPA identifiers per payment mode 2018-12-14 12:10:28 +01:00
Pedro M. Baeza
e10244ce81 [IMP] account_banking_sepa_direct_debit: Short headers + Bump version numbers + es translations 2018-12-14 12:10:28 +01:00
Alexis de Lattre
1c787cbf9f [IMP] account_banking_sepa_direct_debit: 4 things
* Add bank.payment.lines object to allow grouping in the payments
* Add a hook to inherit grouping of the transfer account move line

  Use that new hook in SEPA direct debits
  Better variable names
* FIX Reading wrong field for sequence type of SEPA DD
  Loop on bank payment lines instead of payment lines
* Update automated tests and demo data
* Add on_change on field 'type' of payment.mode for easier configuration
2018-12-14 12:10:28 +01:00
sergio-incaser
68771ffc9d account_banking_sepa_direct_debit: Fix error in payment order validation when there is more than one line with the same mandate. 2018-12-14 12:06:12 +01:00
Alexis de Lattre
986da771a2 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 12:06:12 +01:00
Philippe Schmidt
95d1f15fd3 Add requested descriptions in an OCA README.rst file 2018-12-14 12:06:12 +01:00
Alexis de Lattre
dd8f5d173a Use attachments instead of creating a specific object for each kind of payment order 2018-12-14 12:06:12 +01:00
Stéphane Bidoul
57d586d7d4 sepa direct debit: get BIC from bank account if not available on bank 2018-12-14 12:06:12 +01:00
Alexis de Lattre
0e5aa6efb5 [IMP] account_banking_sepa_direct_debit: 5 things:
* Transfer move: one transfer move for each payment.order with only 1 line in the transfer account for the total of the account move. Move the inherit of the 'Invoice' button of payment.order from account_banking_payment_transfer to account_banking_payment_export Demo data: Add a bank account + mandate on Agrolait, to be able to easily test multi-partner SEPA DD
* mandates: search by reference, add group_by, add seq type in tree view
* Add scheme in mandate tree+search view Replace tabs by spaces in mandate views account_banking_mandate/views/account_banking_mandate_view.xml: convert from dos to unix format
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data
* Limit lenght of mandate reference, according to ISO 20022
2018-12-14 12:06:12 +01:00
Pedro M. Baeza
f26c07bd77 [FIX+IMP] account_banking_sepa_direct_debit: Several things:
* Restore scheme field in mandate view
* Uncaught flake8 errors
* Set args correctly for cron job
* Split for removing stock dependency on sale
* Remove old translations templates
* More reorder on folder structure
* Translation template files
* Translations to spanish
2018-12-14 12:01:31 +01:00
Alexis de Lattre
a72a814fe1 replace old sdd.mandate referencess 2018-12-14 12:01:31 +01:00
Pedro M. Baeza
ddefb63d36 [MIG] account_banking_sepa_direct_debit: Migration to 8.0 2018-12-14 12:01:31 +01:00
Launchpad Translations on behalf of banking-addons-team
88878f8bc3 Launchpad automatic translations update. 2018-12-14 11:57:21 +01:00
Alexis de Lattre
e30a5b21ee Add module account_banking_sepa_direct_debit that implements pain.008.001.02, pain.008.001.03 and pain.008.001.04. This module is not ready yet : the management of mandates is still missing. I am currently trying to get more information about these mandates to decide what is the best implemtation of the data model of the mandates (O2M on res.partner ? O2M os res.partner.bank ?). 2018-12-14 11:57:21 +01:00
OCA-git-bot
7ba848e6ef [ADD] setup.py 2018-12-14 10:53:15 +00:00
Pedro M. Baeza
fd29fb9ced Merge pull request #530 from Tecnativa/12.0-account_banking_sepa_credit_transfer
[12.0][MIG] account_banking_sepa_credit_transfer: Migration to 12.0
2018-12-14 11:53:10 +01:00
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