Commit Graph

219 Commits

Author SHA1 Message Date
Alexis de Lattre
e88c4d77aa [MIG] account_banking_pain_base: Migration to 9.0
* Add support for non-SEPA DD and CT without without IBANs
* Add hooks for l10n_ch_sepa (pain.001.001.03.ch.02)
* Move code of account_banking_pain_base/models/banking_export_pain.py to account_banking_pain_base/models/account_payment_order.py
* Add postal address in party block
* Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
* Implement SEPA Core recommandations for postal address
* Add field local_instrument in payment lines and bank payment lines
* Add the bank_line as argument to some methods that generate SEPA XML
2021-01-05 16:20:47 +01:00
Antonio Espinosa
489db19f13 [IMP] Define SEPA identifiers per payment mode 2021-01-05 16:20:47 +01:00
Pedro M. Baeza
b31cb9d858 [IMP] *: Short headers + Bump version numbers + es translations 2021-01-05 16:20:47 +01:00
Alexis de Lattre
1c337d84f9 [FIX+IMP] account_banking_pain_base: Port to new API fix + Add bank.payment.lines object to allow grouping in the payments 2021-01-05 16:20:47 +01:00
Philippe Schmidt
9249386eef Add requested descriptions in an OCA README.rst file 2021-01-05 16:20:47 +01:00
Alexis de Lattre
9075972a39 Fix bug #111 New field initiating_party_identifier on res.company (migration script included) 2021-01-05 16:20:47 +01:00
Alexis de Lattre
4d47b32c30 Use attachments instead of creating a specific object for each kind of payment order 2021-01-05 16:20:47 +01:00
Stéphane Bidoul
df0da76e56 [IMP] account_banking_pain_base: Several things:
* Make it easier to extend structured communication types.
* Use new style to make selection extendable.
* Help text for bank and BIC fields. Courtesy of Alexis de Lattre.
* Do not use InstrPrty for Direct Debit.
2021-01-05 16:20:47 +01:00
Pedro M. Baeza
d863457dcb [MIG] account_banking_pain_base: Migration to 8.0 2021-01-05 16:20:47 +01:00
Launchpad Translations on behalf of banking-addons-team
2e140ce23f Launchpad automatic translations update. 2021-01-05 16:20:47 +01:00
Ignacio Ibeas - Acysos S.L
f164025afb [FIX] account_banking_pain_base: support party identifier for Spain 2021-01-05 16:20:47 +01:00
Alexis de Lattre
8f3961bd71 [ADD] account_banking_pain_base: 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 'communication2'
- Code factoring for SCT and SDD
- Add support for direct debit migration from national format to SEPA
- Source : Standard-XML-SDD-Initiation-v3-EN by Febelfin
- Add group in order to mask the fields for "Original Mandate Indentification" for users in countries that don't required it.
- Add tracking on important fields of the mandate.
- Better form view on company.
- Update constraint on mandate following my devs on "Original Mandate Identification".
- Add support for Party Identifier for Belgium. Can be easily extended for other countries.
- Mutualize more code between SCT and SDD.
2021-01-05 16:20:47 +01:00
OCA-git-bot
3c88a27a4c [ADD] setup.py 2021-01-05 15:16:25 +00:00
OCA-git-bot
2fb99e2007 [UPD] README.rst 2021-01-05 15:16:24 +00:00
OCA-git-bot
e80f49e977 [UPD] addons table in README.md 2021-01-05 15:16:23 +00:00
oca-travis
08d1219d0a [UPD] Update account_payment_order.pot 2021-01-05 15:09:11 +00:00
OCA-git-bot
209dcb6855 Merge PR #769 into 14.0
Signed-off-by pedrobaeza
2021-01-05 14:56:43 +00:00
Carlos Roca
a7a5006ff4 [MIG] account_payment_order: Migration to v14 2021-01-05 14:17:34 +01:00
Jesús Alan Ramos Rodríguez
bd5c8b24ec [MIG] account_payment_order: Migration to 14.0 2021-01-05 14:03:52 +01:00
Jesús Alan Ramos Rodríguez
5d25034aca [IMP] account_payment_order: black, isort, prettier 2021-01-05 14:03:52 +01:00
Andrea
5138c5ce2b [FIX] avoid cache miss in compute 2021-01-05 14:03:52 +01:00
Ignacio Buioli
edfd81385a Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (220 of 220 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_order/es_AR/
2021-01-05 14:03:52 +01:00
Ignacio Buioli
3dc1b9e8ae Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (220 of 220 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_order/es_AR/
2021-01-05 14:03:52 +01:00
Ignacio Buioli
166515281b Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (220 of 220 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_order/es_AR/
2021-01-05 14:03:52 +01:00
Ignacio Buioli
46c7ae45a2 Added translation using Weblate (Spanish (Argentina)) 2021-01-05 14:03:52 +01:00
Luc De Meyer
72a526dfdf move Debit Order after Payments in Customer menu 2021-01-05 14:03:52 +01:00
Luc De Meyer
25346bf218 [13.0][IMP]move payment order menus 2021-01-05 14:03:52 +01:00
Alexis de Lattre
a7cd7f60b6 Fix state condition on invoice view 2021-01-05 14:03:52 +01:00
Valentin Vinagre Urteaga
24dbb35c18 [FIX] account_payment_order: fix the attachment file name & dowload.
Case: After the configuration of a debit order and generating the .xml file, user can't download it from the next step screen using the download link.
This fix makes the .xml file downloadable from the .xml file name as it was in older versions
2021-01-05 14:03:52 +01:00
Valentin Vinagre Urteaga
4d8e722b8d [FIX] account_payment_order: fix payment orders from invoice tree view
Case: User can't add invoices to payment/debit orders from the tree view but it's still possible to add them one by one from the form view.
- Remove binding_views="form": by default are "tree & form".
With this fix, users can add payment/debit orders from the invoice tree view
2021-01-05 14:03:52 +01:00
Valentin Vinagre Urteaga
232b17b423 [FIX] account_payment_order: fix set partner_bank_id in account move lines
Case:
The bank account isn't set properly in the payment order lines, because the bank account is only got from account.move.line or the first bank account in the partner_id, but never from the invoice (account.move).

Solution:
With this fix, the bank account will be get from account.move when matching the criteria.
2021-01-05 14:03:52 +01:00
Stefan Rijnhart
77bf10e524 [FIX] Set priority on alternate view 2021-01-05 14:03:52 +01:00
Pedro M. Baeza
836fd9985a [IMP] account_payment_order: Print payment order in user lang if not generated
When you haven't still generated the file, `generated_user_id` is not filled, and
so, you can't control the language in which the payment order is going to be printed.

Adding a condition for using the user language in that case makes this more
comfortable.
2021-01-05 14:03:52 +01:00
Andrea
81d2b406e7 [FIX] multicompany rule 2021-01-05 14:03:52 +01:00
Raf Ven
369f18bbed [MIG] account_payment_order: Migration to 13.0 2021-01-05 14:03:52 +01:00
Raf Ven
001bd7e976 [IMP] account_payment_order: black, isort 2021-01-05 14:03:52 +01:00
Carles Antoli
b360637997 Added translation using Weblate (Catalan) 2021-01-05 14:03:52 +01:00
Ernesto Tejeda
e45f6615ea [IMP] account_payment_order: change 'bill reference' column value in reports 2021-01-05 14:03:52 +01:00
Pedro M. Baeza
5e084fd533 [FIX] account_payment_order: Restore colors in payment order tree view 2021-01-05 14:03:52 +01:00
Pedro M. Baeza
03cc091f40 [FIX] account_payment_order: Sequences must be noupdate=1 2021-01-05 14:03:52 +01:00
Sergio Teruel
1e77d4ff6d [FIX] account_payment_order: Fix payment order report. Adapt to bootstrap4 2021-01-05 14:03:52 +01:00
Jaume Planas
a4319d2f2b Translated using Weblate (Catalan)
Currently translated at 100.0% (223 of 223 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/ca/
2021-01-05 14:03:52 +01:00
Carlos Dauden
22390eded5 [IMP] account_payment_order: Select first partner bank 2021-01-05 14:03:52 +01:00
Pedro M. Baeza
183efec307 [FIX+IMP] account_payment_order: Make tests resilient + inbound inheritable + SavepointCase
Previous tests did several risk operations on tests, like performing an unbound search
on payment orders, what can lead to errors if there are some data on DB (or for example
we add in the future some payment orders in demo.

This commit also split the tests for inbound payment in a base inheritable class that
can be reused in other dependant modules, and the test of this module.

Finally, we use SavepointCase for improving performance in tests.
2021-01-05 14:03:52 +01:00
Pedro M. Baeza
5d79ac61a7 [FIX] account_payment_error: Avoid singleton error in allowed_journal_ids
Fixes #612
2021-01-05 14:03:52 +01:00
Guewen Baconnier
2769011d68 Add indexes on account payment models
The fields where the indexes are added are used in searches in
account_payment_order, which becomes really slow when a database have
many lines.
2021-01-05 14:03:52 +01:00
Raf Ven
a8c3920627 [12.0] [FIX] Failing test test_account_payment_02 2021-01-05 14:03:52 +01:00
Thomas Binsfeld
e46f096c0d [REF] Payment Order: move all move preparation code in _prepare_move 2021-01-05 14:03:52 +01:00
Rubén Cerdà
ca9d02e91a [FIX] account_payment_order: report title 2021-01-05 14:03:52 +01:00
Rubén Cerdà
30780488f8 [FIX] account_payment_order: report totals 2021-01-05 14:03:52 +01:00