first commit
This commit is contained in:
14
modules/production_work_timesheet/routing.py
Normal file
14
modules/production_work_timesheet/routing.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.model import fields
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class Operation(metaclass=PoolMeta):
|
||||
__name__ = 'production.routing.operation'
|
||||
|
||||
timesheet_available = fields.Boolean('Available on timesheets')
|
||||
|
||||
@classmethod
|
||||
def default_timesheet_available(cls):
|
||||
return False
|
||||
Reference in New Issue
Block a user