diff --git a/line.py b/line.py
index 68457cf81a..fab8a214be 100644
--- a/line.py
+++ b/line.py
@@ -64,8 +64,8 @@ Line()
class EnterLinesInit(WizardOSV):
_name = 'timesheet.enter_lines.init'
- employee = fields.Many2One('company.employee', 'Employee')
- date = fields.Date('Date')
+ employee = fields.Many2One('company.employee', 'Employee', required=True)
+ date = fields.Date('Date', required=True)
def default_employee(self, cursor, user, context=None):
line_obj = self.pool.get('timesheet.line')
diff --git a/line.xml b/line.xml
index 333017ecf8..9569c25ae9 100644
--- a/line.xml
+++ b/line.xml
@@ -56,6 +56,21 @@
+
+ timesheet.enter_lines.init
+ form
+
+
+
+
+
+
+
+ ]]>
+
+
+
Enter Timesheet
timesheet.enter_lines