mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Fix selection lambda function
This commit is contained in:
@@ -402,8 +402,8 @@ class deposit_ticket(orm.Model):
|
||||
help="Counts the total # of line items in the deposit ticket."
|
||||
),
|
||||
'state': fields.selection(
|
||||
lambda self, cr, uid, c={}: self.get_deposit_states(
|
||||
cr, uid, context=c),
|
||||
lambda self, cr, uid, context={}: self.get_deposit_states(
|
||||
cr, uid, context=context),
|
||||
'State',
|
||||
select=True,
|
||||
readonly=True
|
||||
|
||||
Reference in New Issue
Block a user