Expenses

Rozliczenia wydatków i zatwierdzenia

MarketplaceFinanseWersja 0.3.0AGPL-3.0-or-latermanifest

Do czego służy ​

Employees file expense claims that move through draft, submitted, approved and paid. Paying needs its own permission and a human approval; receipts are referenced by note, not stored.

Co pakiet robi, a czego nie robi ​

Employee expense claims with a draft, submitted, approved and paid flow. Paying is a separate permission and needs a human approval; receipts are referenced by note, not stored. A claim has a number from a yearly series, and an employee sees and edits only their own claims; managers and finance see 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: Finanse, Ludzie

Modele ​

expenses_expense ​

An amount an employee spent for the business and wants reimbursed

Grupa odczytu: expenses.user. Grupa zapisu: expenses.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
numbersequencenonenieexpenses.userjawnieClaim number such as EXP-2026-0042, assigned when the claim is created; the series starts again each year
descriptiontextnonenieexpenses.userjawnieWhat the money was spent on
employeetextinternaltakexpenses.userzamaskowaneUser name of the person claiming the expense; the person who creates the claim unless set otherwise
spent_ondatenonenieexpenses.userjawnieDate of the purchase (YYYY-MM-DD)
categoryselect (travel, meals, lodging, supplies, software, other)nonenieexpenses.userjawnieExpense category: travel, meals, lodging, supplies, software, other
amountmoneyfinancialtakexpenses.userwstrzymaneAmount owed to the employee (minor currency units, e.g. cents)
currencytextnonenieexpenses.userjawnieISO 4217 currency code, for example EUR
receipt_notelongtextnonenieexpenses.userjawnieWhere the receipt is kept and what it shows
paid_ondatefinancialtakexpenses.financewstrzymaneDate the employee was reimbursed (YYYY-MM-DD)
payment_referencetextfinancialtakexpenses.financewstrzymaneBank transfer reference of the reimbursement
stateselect (draft, submitted, approved, paid, refused)nonenieexpenses.userjawnieClaim status: draft, submitted, approved, paid, refused

Przepływy pracy ​

expenses_expense ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
expenses_expense.submitstate: draft → submittedexpenses.usernie
expenses_expense.approvestate: submitted → approvedexpenses.managernie
expenses_expense.paystate: approved → paidexpenses.financetak
expenses_expense.refusestate: submitted → refusedexpenses.managernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

  • expenses.finance
  • expenses.manager
  • expenses.user

Kroki zatwierdzania ​

Kroki, które agent może tylko zaproponować:

  • expenses_expense.pay

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ć: expenses_expense.pay, expenses_expense.delete.

Dane osobowe są maskowane jako tokeny zastępcze: expenses_expense.employee.

Te pola są całkowicie wstrzymane i niedostępne dla agentów: expenses_expense.amount, expenses_expense.paid_on, expenses_expense.payment_reference.

Zależności ​

Brak.

Instalacja ​

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

bash
obop modules install-from expenses

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

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