Reviewers: , Message: issue2184
Please review this at http://codereview.tryton.org/221005/ Affected files: M work.py Index: work.py =================================================================== --- a/work.py +++ b/work.py @@ -23,7 +23,8 @@ help="Total time spent on this work"), 'get_hours') timesheet_available = fields.Boolean('Available on timesheets', help="Allow to fill in timesheets with this work") - company = fields.Many2One('company.company', 'Company', required=True) + company = fields.Many2One('company.company', 'Company', required=True, + select=1) timesheet_lines = fields.One2Many('timesheet.line', 'work', 'Timesheet Lines', depends=['timesheet_available', 'active'], -- [email protected] mailing list
