[6.1, account] reconciliation _defaults function for 'name' needs to be called with context argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hi,
the function that provides the default name for account.reconcile is called without the context argument in account/
File "/home/
'name': lambda self,cr,uid,ctx={}: self.pool.
File "/home/
return self.get_id(cr, uid, code, 'code', context)
File "/home/
return self.next_
File "/home/
return self._next(cr, uid, ids, context)
File "/home/
if line.fiscalyear
AttributeError: 'NoneType' object has no attribute 'get'
Cheers,
Stefan.
Related branches
- Olivier Dony (Odoo): Approve
- Stefan Rijnhart (Opener) (community): Needs Resubmitting
-
Diff: 90 lines (+10/-8)6 files modifiedaccount/account.py (+1/-1)
account/account_bank_statement.py (+2/-2)
account/account_cash_statement.py (+2/-2)
account/ir_sequence.py (+2/-0)
account_voucher/account_voucher.py (+1/-1)
point_of_sale/wizard/pos_open_statement.py (+2/-2)
Changed in therp-backports: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in therp-backports: | |
status: | Fix Committed → Fix Released |
no longer affects: | therp-backports |
Good catch Stefane!