Commit a484406a authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: lint: do not redefine id variable

parent cca6753c
......@@ -3,7 +3,7 @@
specific use. Returns the Account object
'''
id = {
account_id = {
'asset_receivable_subscriber': 'receivable',
'asset_deposit_subscriber': 'deposit',
'collection': 'payment_to_encash',
......@@ -12,7 +12,7 @@ id = {
account, = context.getPortalObject().portal_catalog(
portal_type='Account',
id=id,
id=account_id,
validation_state='validated',
limit=2,
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment