mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_chart_update: fix None context issue
This commit is contained in:
@@ -332,6 +332,8 @@ class wizard_update_charts_accounts(orm.TransientModel):
|
||||
"""
|
||||
Adds a tax template -> tax id to the mapping.
|
||||
"""
|
||||
if context is None:
|
||||
context = {}
|
||||
if not tax_templ:
|
||||
return False
|
||||
if tax_templ_mapping.get(tax_templ.id):
|
||||
|
||||
Reference in New Issue
Block a user