Timesheets

Czas pracy i rozliczenia

MarketplaceLudzie i projektyWersja 0.3.0AGPL-3.0-or-latermanifest

Do czego służy ​

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

Co pakiet robi, a czego nie robi ​

Time spent on project tasks, entered in minutes, with a billable flag and an approval step. Needs the Projects package. A worker sees and edits only their own entries; timesheets.manager sees all.

Szczegóły modułu ​

  • Wersja: 0.3.0
  • Autor: SpaceCorps
  • Licencja: AGPL-3.0-or-later
  • Wymaga rdzenia: ^0.2 (aktualny rdzeń to 0.2.0)
  • Dojrzałość: Beta
  • Kategorie: Usługi

Modele ​

timesheets_entry ​

Time one person spent on one task on one day

Grupa odczytu: timesheets.user. Grupa zapisu: timesheets.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
task_idref → projects_tasknonenietimesheets.userjawnieThe task worked on
workertextinternaltaktimesheets.userzamaskowaneUser name of the person who did the work; the person who creates the entry unless set otherwise
worked_ondatenonenietimesheets.userjawnieDay the work was done (YYYY-MM-DD)
minutesnumbernonenietimesheets.userjawnieTime spent, in minutes
billableboolnonenietimesheets.userjawnieWhether the time can be charged to the customer
descriptiontextnonenietimesheets.userjawnieWhat was done
cost_ratemoneyfinancialtaktimesheets.cost_viewerwstrzymaneInternal hourly cost of the worker at the time of entry (minor currency units, e.g. cents)
stateselect (draft, submitted, approved)nonenietimesheets.userjawnieEntry status: draft, submitted, approved

Przepływy pracy ​

timesheets_entry ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
timesheets_entry.submitstate: draft → submittedtimesheets.usernie
timesheets_entry.approvestate: submitted → approvedtimesheets.managernie
timesheets_entry.rejectstate: submitted → drafttimesheets.managernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

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

Kroki zatwierdzania ​

Żaden krok w tej aplikacji nie wymaga zatwierdzenia, poza usuwaniem rekordów.

Co agenci mogą, a czego nie mogą ​

Agent może odczytywać, wyszukiwać, tworzyć i aktualizować rekordy tej aplikacji oraz uruchamiać akcje niewymagające zatwierdzenia, w ramach grup uprawnień swojego tokenu.

Te kroki może tylko zaproponować, a człowiek musi je zatwierdzić: timesheets_entry.delete.

Dane osobowe są maskowane jako tokeny zastępcze: timesheets_entry.worker.

Te pola są całkowicie wstrzymane i niedostępne dla agentów: timesheets_entry.cost_rate.

Zależności ​

Każda zależność podaje akceptowane wersje. Aplikacje wbudowane są wersjonowane razem z rdzeniem, więc wymaganie wobec nich sprawdza się względem wersji rdzenia.

Instalacja tej aplikacji z marketplace instaluje też brakujące zależności, w jednym planie potwierdzanym raz.

Instalacja ​

Zainstaluj ją w aplikacji Customize (Marketplace) lub z wiersza poleceń:

bash
obop modules install-from timesheets

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

Przewodnik po modułach pokazuje, jak pisze się takie aplikacje