Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] account_banking_pain_base: Migration to 16.0 #1087

Merged
merged 54 commits into from
May 27, 2023

Conversation

pedrobaeza
Copy link
Member

  • Standard procedure

@Tecnativa TT42205

Alexis de Lattre and others added 30 commits May 27, 2023 18:49
…13-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.
* 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.
…ayment.lines object to allow grouping in the payments
* 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
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
Add local instrument 'INST' for SEPA Instant Credit Transfer
Now the visibility is controlled through a security group.
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/
* 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
Prevent inserting BIC not respecting the SEPA pain schemas.
The bic fields is not required, so the constraint must take that into
consideration and accept empty bic.
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/
CarlosRoca13 and others added 17 commits May 27, 2023 18:56
Currently translated at 45.6% (78 of 171 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/nl/
…n SEPA zone

Update move line generation to get transfer account from bank journal
Update payment mode configuration accordingly (3 fields removed)
Several improvements in payment order tree and form view
Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
Currently translated at 70.7% (121 of 171 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/fr/
Currently translated at 2.8% (5 of 174 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/sv/
Currently translated at 2.9% (5 of 171 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base/ca/
…, account_banking_direct_debit: Remove Environment.manage()

Environment.manage() is deprecated in v 15.0
Currently translated at 31.5% (54 of 171 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base/it/
Update list of IBAN codes. Added Austria (AT) and Andorra (AD)
Steps to reproduce the problem:

- Have a partner with no zip code and no city.
- Include it in a payment order.
- Generate the SEPA XML file.

Current behavior: The file couldn't be generated because there's an
empty <AdrLine> element.

We put properly parenthesis in the conditions for this to no happen.

TT43260
@pedrobaeza pedrobaeza added this to the 16.0 milestone May 27, 2023
@pedrobaeza
Copy link
Member Author

/ocabot migration account_banking_pain_base

@OCA-git-bot OCA-git-bot mentioned this pull request May 27, 2023
14 tasks
@OCA-git-bot
Copy link
Contributor

The migration issue (#964) has been updated to reference the current pull request.
however, a previous pull request was referenced : #974.
Perhaps you should check that there is no duplicate work.
CC : @wpichler

@pedrobaeza
Copy link
Member Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-1087-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit bb49214 into OCA:16.0 May 27, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 5254760. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-mig-account_banking_pain_base branch May 27, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.