[FIX] hr_timesheet: allow importing timesheets

The import button on timesheet list view is not visible
for now. This commit makes it reappear, as we want to
handle that use case, since it is a common action for
end user.

opw-2077117

closes odoo/odoo#37498

X-original-commit: 5fb7ab44e1a113339c2ad797dfd2eb8ddfa4bf78
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
This commit is contained in:
jem-odoo
2019-09-27 11:37:00 +00:00
committed by fw-bot
parent a77d80a48d
commit f68c946f6c
@@ -21,7 +21,7 @@
<field name="name">account.analytic.line.tree.hr_timesheet</field>
<field name="model">account.analytic.line</field>
<field name="arch" type="xml">
<tree editable="top" string="Timesheet Activities" import="false">
<tree editable="top" string="Timesheet Activities">
<field name="date"/>
<field name="name"/>
<field name="project_id" required="1" context="{'form_view_ref': 'project.project_project_view_form_simplified',}"/>