mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_chart_update: cash_basis_base_account_id no longer exists
This field disappears in this version.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Detect changes and update the Account Chart from a template",
|
"name": "Detect changes and update the Account Chart from a template",
|
||||||
"summary": "Wizard to update a company's account chart from a template",
|
"summary": "Wizard to update a company's account chart from a template",
|
||||||
"version": "14.0.2.0.0",
|
"version": "14.0.2.0.1",
|
||||||
"author": "Tecnativa, BCIM, Okia, Odoo Community Association (OCA)",
|
"author": "Tecnativa, BCIM, Okia, Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/account-financial-tools",
|
"website": "https://github.com/OCA/account-financial-tools",
|
||||||
"depends": ["account"],
|
"depends": ["account"],
|
||||||
|
|||||||
@@ -961,7 +961,6 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
# We defer update because account might not be created yet
|
# We defer update because account might not be created yet
|
||||||
if key in [
|
if key in [
|
||||||
"cash_basis_transition_account_id",
|
"cash_basis_transition_account_id",
|
||||||
"cash_basis_base_account_id",
|
|
||||||
"invoice_repartition_line_ids",
|
"invoice_repartition_line_ids",
|
||||||
"refund_repartition_line_ids",
|
"refund_repartition_line_ids",
|
||||||
]:
|
]:
|
||||||
@@ -1055,7 +1054,6 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
vals = {}
|
vals = {}
|
||||||
for fld in [
|
for fld in [
|
||||||
"cash_basis_transition_account_id",
|
"cash_basis_transition_account_id",
|
||||||
"cash_basis_base_account_id",
|
|
||||||
]:
|
]:
|
||||||
if v[fld]:
|
if v[fld]:
|
||||||
acc_id = self.find_account_by_templates(
|
acc_id = self.find_account_by_templates(
|
||||||
@@ -1095,7 +1093,6 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
for key, value in self.diff_fields(template, tax).items():
|
for key, value in self.diff_fields(template, tax).items():
|
||||||
if key in {
|
if key in {
|
||||||
"cash_basis_transition_account_id",
|
"cash_basis_transition_account_id",
|
||||||
"cash_basis_base_account_id",
|
|
||||||
"invoice_repartition_line_ids",
|
"invoice_repartition_line_ids",
|
||||||
"refund_repartition_line_ids",
|
"refund_repartition_line_ids",
|
||||||
}:
|
}:
|
||||||
|
|||||||
Reference in New Issue
Block a user