[MIG] account_payment_mode: Migration to 13.0

This commit is contained in:
Raf Ven
2019-11-08 12:14:23 +01:00
committed by Thomas Binsfeld
parent 6288e032e6
commit e78141eeb0

View File

@@ -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")],