parameters: (self)
docstring: Sale Timesheet module compute delivered qty for product [('type', 'in', ['service']), ('service_type', '=', 'timesheet')]
docstring_summary: Sale Timesheet module compute delivered qty for product [('type', 'in', ['service']), ('service_type', '=', 'timesheet')]
docstring_tokens: Sale Timesheet module compute delivered qty for product [ ( type in [ service ] ) ( service_type = timesheet ) ]
function: def _compute_qty_delivered_method(self):
          """ Sale Timesheet module compute delivered qty for product [('type', 'in', ['service']), ('service_type', '=', 'timesheet')] """
          super(SaleOrderLine, self)._compute_qty_delivered_method()
          for line in self:
              if not line.is_expense and line.product_id.type == 'service' and line.product_id.service_type == 'timesheet':
                  line.qty_delivered_method = 'timesheet'
function_tokens: def _compute_qty_delivered_method ( self ) : super ( SaleOrderLine , self ) . _compute_qty_delivered_method ( ) for line in self : if not line . is_expense and line . product_id . type == 'service' and line . product_id . service_type == 'timesheet' : line . qty_delivered_method = 'timesheet'