Timesheets

Tiempo y facturación

MarketplacePersonas y proyectosVersión 0.1.0manifest

Para qué sirve ​

Record time spent on project tasks in minutes, mark it billable and run it through an approval step. Needs the Projects package.

Qué hace y qué no hace el paquete ​

Time spent on project tasks, entered in minutes, with a billable flag and an approval step. Needs the Projects package.

Modelos ​

timesheets_entry ​

Time one person spent on one task on one day

Grupo de lectura: timesheets.user. Grupo de escritura: timesheets.user.

CampoTipoClase de datosDatos personalesGrupoLos agentes venDescripción
task_idref → projects_tasknonenotimesheets.useren claroThe task worked on
workertextinternalsítimesheets.userenmascaradoName of the person who did the work
worked_ondatenonenotimesheets.useren claroDay the work was done (YYYY-MM-DD)
minutesnumbernonenotimesheets.useren claroTime spent, in minutes
billableboolnonenotimesheets.useren claroWhether the time can be charged to the customer
descriptiontextnonenotimesheets.useren claroWhat was done
cost_ratemoneyfinancialsítimesheets.cost_viewerretenidoInternal hourly cost of the worker at the time of entry (minor currency units, e.g. cents)
stateselect (draft, submitted, approved)nonenotimesheets.useren claroEntry status: draft, submitted, approved

Flujos de trabajo ​

timesheets_entry ​

AcciónMueveQuién puede ejecutarlaAprobación
timesheets_entry.submitstate: draft → submittedtimesheets.userno
timesheets_entry.approvestate: submitted → approvedtimesheets.managerno
timesheets_entry.rejectstate: submitted → drafttimesheets.managerno

Grupos de permisos ​

Grupos que usa esta aplicación:

  • timesheets.cost_viewer
  • timesheets.manager
  • timesheets.user

Pasos con aprobación ​

Ningún paso de esta aplicación requiere aprobación, salvo eliminar registros.

Qué pueden y qué no pueden hacer los agentes ​

Un agente puede leer, buscar, crear y actualizar registros de esta aplicación, y ejecutar las acciones que no requieren aprobación, dentro de los grupos de permisos de su token.

Solo puede proponer estos pasos, y una persona debe aprobarlos: timesheets_entry.delete.

Los datos personales se enmascaran como tokens marcadores: timesheets_entry.worker.

Estos campos se retienen por completo y los agentes no los ven: timesheets_entry.cost_rate.

Dependencias ​

  • projects

Instalación ​

Instálala desde la aplicación Customize (Marketplace) o desde la línea de comandos:

bash
obop modules install-from timesheets

Requiere una base de datos y derechos de administrador.

Crea la tuya ​

La guía de módulos explica cómo se escriben aplicaciones como esta