diff --git a/crm_timesheet/tests/test_account_analytic_line.py b/crm_timesheet/tests/test_account_analytic_line.py
index 65437dbb9..b50ca5554 100644
--- a/crm_timesheet/tests/test_account_analytic_line.py
+++ b/crm_timesheet/tests/test_account_analytic_line.py
@@ -35,7 +35,7 @@ def setUpClass(cls):
cls.project1 = Project.create(
{
"name": "Test Project 1",
- "analytic_account_id": cls.account1.id,
+ "account_id": cls.account1.id,
}
)
cls.lead = env["crm.lead"].create(
diff --git a/crm_timesheet/views/crm_lead_view.xml b/crm_timesheet/views/crm_lead_view.xml
index 21692e9d8..4f40cc6ab 100644
--- a/crm_timesheet/views/crm_lead_view.xml
+++ b/crm_timesheet/views/crm_lead_view.xml
@@ -54,7 +54,7 @@
crm.lead
-
+
crm.lead
-
+
-
+
@@ -117,7 +117,7 @@
crm.lead
-
+
crm.lead
-
+
-
+