mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[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
This commit is contained in:
committed by
Valentin Vinagre Urteaga
parent
d7771eded8
commit
13abe642fd
@@ -97,7 +97,7 @@ class AccountPaymentOrder(models.Model):
|
||||
'[', ']', '^', '_', '`', '{', '}', '|', '~', '\\', '!']
|
||||
for unallowed_ascii_char in unallowed_ascii_chars:
|
||||
value = value.replace(unallowed_ascii_char, '-')
|
||||
except:
|
||||
except Exception:
|
||||
line = eval_ctx.get('line')
|
||||
if line:
|
||||
raise UserError(
|
||||
|
||||
@@ -9,11 +9,17 @@ class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
initiating_party_issuer = fields.Char(
|
||||
related='company_id.initiating_party_issuer')
|
||||
related='company_id.initiating_party_issuer',
|
||||
readonly=False,
|
||||
)
|
||||
initiating_party_identifier = fields.Char(
|
||||
related='company_id.initiating_party_identifier')
|
||||
related='company_id.initiating_party_identifier',
|
||||
readonly=False,
|
||||
)
|
||||
initiating_party_scheme = fields.Char(
|
||||
related='company_id.initiating_party_scheme')
|
||||
related='company_id.initiating_party_scheme',
|
||||
readonly=False,
|
||||
)
|
||||
group_pain_multiple_identifier = fields.Boolean(
|
||||
string='Multiple identifiers',
|
||||
implied_group='account_banking_pain_base.'
|
||||
|
||||
Reference in New Issue
Block a user