commit
872df7890d
@ -1226,7 +1226,7 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
when the referenced accounts are still not available).
|
when the referenced accounts are still not available).
|
||||||
"""
|
"""
|
||||||
done = self.env["account.tax"]
|
done = self.env["account.tax"]
|
||||||
for k, v in todo_dict["account_dict"]["account.tax"].items():
|
for tax, v in todo_dict["account_dict"]["account.tax"].items():
|
||||||
vals = {}
|
vals = {}
|
||||||
for fld in [
|
for fld in [
|
||||||
"cash_basis_transition_account_id",
|
"cash_basis_transition_account_id",
|
||||||
@ -1243,7 +1243,6 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
% v[fld].id
|
% v[fld].id
|
||||||
)
|
)
|
||||||
if vals:
|
if vals:
|
||||||
tax = self.env["account.tax"].browse(k)
|
|
||||||
tax.write(vals)
|
tax.write(vals)
|
||||||
done |= tax
|
done |= tax
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user