-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
[18.0][MIG] partner_bank_acc_type_constraint #1904
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] partner_bank_acc_type_constraint #1904
Conversation
Currently translated at 100.0% (3 of 3 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_bank_acc_type_constraint Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_bank_acc_type_constraint/fr/
Currently translated at 100.0% (3 of 3 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_bank_acc_type_constraint Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_bank_acc_type_constraint/it/
/ocabot migrate partner_bank_acc_type_constraint |
Hi @alexis-via. Your command failed:
Ocabot commands
More information
|
/ocabot migration partner_bank_acc_type_constraint |
acc_types = self.env["res.partner.bank"].get_supported_account_types() | ||
if any([x[0] == "iban" for x in acc_types]): | ||
# create valid IBAN | ||
pbank2 = self.env["res.partner.bank"].create( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexis-via It seems this line is not accessed in test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, using odoo_test_helper and adding "iban" in selection if not exists during setupClass will ensure the functionality is tested.
No description provided.