summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/account_analytic_analysis/analytic_account_demo.yml2
-rw-r--r--addons/hr_timesheet/hr_timesheet_demo.yml10
2 files changed, 6 insertions, 6 deletions
diff --git a/addons/account_analytic_analysis/analytic_account_demo.yml b/addons/account_analytic_analysis/analytic_account_demo.yml
index 45ca313ef74..c538539085d 100644
--- a/addons/account_analytic_analysis/analytic_account_demo.yml
+++ b/addons/account_analytic_analysis/analytic_account_demo.yml
@@ -12,4 +12,4 @@
'to_invoice': ref('hr_timesheet_invoice.timesheet_invoice_factor1'),
'unit_amount': 100,
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_maintenance')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_maintenance')
diff --git a/addons/hr_timesheet/hr_timesheet_demo.yml b/addons/hr_timesheet/hr_timesheet_demo.yml
index cd4eb4aed68..e97dfd06c07 100644
--- a/addons/hr_timesheet/hr_timesheet_demo.yml
+++ b/addons/hr_timesheet/hr_timesheet_demo.yml
@@ -17,7 +17,7 @@
'general_account_id': expense_account_id[0],
'journal_id': ref('analytic_journal')
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_requirements')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_requirements')
vals = {
'name': 'Design and specification',
'user_id': ref('base.user_root'),
@@ -30,7 +30,7 @@
'general_account_id': expense_account_id[0],
'journal_id': ref('analytic_journal')
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_design')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_design')
vals = {
'name': 'Coding and module testing',
'user_id': ref('base.user_root'),
@@ -43,7 +43,7 @@
'general_account_id': expense_account_id[0],
'journal_id': ref('analytic_journal')
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_coding')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_coding')
vals = {
'name': 'Integration and system testing',
'user_id': ref('base.user_root'),
@@ -56,7 +56,7 @@
'general_account_id': expense_account_id[0],
'journal_id': ref('analytic_journal')
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_testing')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_testing')
vals = {
'name': 'Delivery and maintenance',
'user_id': ref('base.user_root'),
@@ -69,4 +69,4 @@
'general_account_id': expense_account_id[0],
'journal_id': ref('analytic_journal')
}
- self._update(cr, uid, 'hr.analytic.timesheet', 'hr_timesheet', vals, 'working_hours_maintenance')
+ self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_maintenance')