-
-
Notifications
You must be signed in to change notification settings - Fork 584
[19.0] [MIG] account_banking_pain_base: Migration to 19.0 #1525
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
Open
arantxa-s73
wants to merge
101
commits into
OCA:19.0
Choose a base branch
from
Studio73:19.0-mig-account_banking_pain_base
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[19.0] [MIG] account_banking_pain_base: Migration to 19.0 #1525
arantxa-s73
wants to merge
101
commits into
OCA:19.0
from
Studio73:19.0-mig-account_banking_pain_base
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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.
…(migration script included)
…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.
…lock Use TwnNm for city and PstlCd for zip.
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/
…Added check of pain_flavor.
* 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/
… _prepare_field fails
Currently translated at 47.4% (83 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/it/
Currently translated at 99.4% (174 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/it/
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/it/
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/sv/
Incorrect placeholder
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/it/
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-17.0/bank-payment-17.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_banking_pain_base/it/
Currently translated at 98.2% (172 of 175 strings) Translation: bank-payment-18.0/bank-payment-18.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_banking_pain_base/fr/
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-18.0/bank-payment-18.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_banking_pain_base/it/
File "/opt/odoo/auto/addons/base_vat/models/res_partner.py", line 200, in check_vat
raise ValidationError(msg)
odoo.exceptions.ValidationError:
The VAT number [BE0123456789] for partner [Test Company] does not seem to be valid.
Note: the expected format is BE0477472701
…installed
Traceback (most recent call last):
File "/opt/odoo/auto/addons/account_banking_pain_base/tests/test_account_backing.py", line 109, in test_except_messages_prepare_field
partner_bank = self.env["res.partner.bank"].create(
File "<decorator-gen-208>", line 2, in create
File "/opt/odoo/custom/src/odoo/odoo/api.py", line 495, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/auto/addons/base_bank_from_iban/models/res_partner_bank.py", line 21, in create
vals_list = [self._add_bank_vals(vals) for vals in vals_list]
File "/opt/odoo/auto/addons/base_bank_from_iban/models/res_partner_bank.py", line 21, in <listcomp>
vals_list = [self._add_bank_vals(vals) for vals in vals_list]
File "/opt/odoo/auto/addons/base_bank_from_iban/models/res_partner_bank.py", line 30, in _add_bank_vals
vals["bank_id"] = self._get_bank_from_iban(vals["acc_number"]).id
File "/opt/odoo/auto/addons/base_bank_from_iban/models/res_partner_bank.py", line 36, in _get_bank_from_iban
iban = schwifty.IBAN(acc_number)
File "/usr/local/lib/python3.10/site-packages/schwifty/iban.py", line 77, in __init__
self.validate(validate_bban)
File "/usr/local/lib/python3.10/site-packages/schwifty/iban.py", line 176, in validate
self._validate_length()
File "/usr/local/lib/python3.10/site-packages/schwifty/iban.py", line 189, in _validate_length
raise exceptions.InvalidLength("Invalid IBAN length")
schwifty.exceptions.InvalidLength: Invalid IBAN length
Currently translated at 100.0% (175 of 175 strings) Translation: bank-payment-18.0/bank-payment-18.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_banking_pain_base/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-payment-18.0/bank-payment-18.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_banking_pain_base/
Currently translated at 100.0% (177 of 177 strings) Translation: bank-payment-18.0/bank-payment-18.0-account_banking_pain_base Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_banking_pain_base/it/
9ea3ebc to
f554186
Compare
f554186 to
ad22cad
Compare
This was referenced Nov 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Module migrated to version 19.0
Depends on: