mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[14.0][MIG] account_chart_update: Migration to 14.0
This commit is contained in:
committed by
Luis J. Salvatierra
parent
45096c56ef
commit
d4094eff87
@@ -126,7 +126,7 @@ class TestAccountChartUpdate(common.HttpCase):
|
||||
)
|
||||
company_user = self.env.user.copy({"company_id": self.company.id})
|
||||
chart_by_company_user = self.chart_template.with_user(company_user)
|
||||
chart_by_company_user.try_loading_for_current_company()
|
||||
chart_by_company_user.try_loading()
|
||||
|
||||
self.tax = self.env["account.tax"].search(
|
||||
[
|
||||
@@ -324,7 +324,7 @@ class TestAccountChartUpdate(common.HttpCase):
|
||||
self.env["account.move"].create(
|
||||
{
|
||||
"name": "Test move",
|
||||
"type": "entry",
|
||||
"move_type": "entry",
|
||||
"journal_id": self.env["account.journal"]
|
||||
.search([("company_id", "=", self.company.id)], limit=1)
|
||||
.id,
|
||||
|
||||
Reference in New Issue
Block a user