mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MIG] account_payment_mode: Migration to 13.0
This commit is contained in:
@@ -20,9 +20,7 @@ class AccountPaymentMode(models.Model):
|
||||
string="Company",
|
||||
required=True,
|
||||
ondelete="restrict",
|
||||
default=lambda self: self.env["res.company"]._company_default_get(
|
||||
"account.payment.mode"
|
||||
),
|
||||
default=lambda self: self.env.company,
|
||||
)
|
||||
bank_account_link = fields.Selection(
|
||||
[("fixed", "Fixed"), ("variable", "Variable")],
|
||||
|
||||
Reference in New Issue
Block a user