mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: Use 'index' instead of 'select'
This commit is contained in:
committed by
Enric Tobella
parent
98770e3d68
commit
5567d60275
@@ -15,7 +15,7 @@ class BankPaymentLine(models.Model):
|
||||
readonly=True)
|
||||
order_id = fields.Many2one(
|
||||
'account.payment.order', string='Order', ondelete='cascade',
|
||||
select=True)
|
||||
index=True)
|
||||
payment_type = fields.Selection(
|
||||
related='order_id.payment_type', string="Payment Type",
|
||||
readonly=True, store=True)
|
||||
|
||||
Reference in New Issue
Block a user