| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1285 |
| Technical Name |
deltatech_expenses |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 16.0 17.0 18.0 19.0 |
Expenses Deduction

Features:
- Introducerea decontului de cheltuieli într-un document distinct care generează automat chitanțe de achiziție
- Validarea documentului duce la generarea notelor contabile de avans și înregistrarea plăților
Configurare:
- În registrul de numerar trebuie completat câmpul “Cash advances” cu 542.
Exemplu de Testare: Decontarea Cheltuielilor din Avans
🎯 Obiectivul Testului
Decontarea corectă a unui avans de 1.000 RON, cu cheltuieli totale de 800 RON, rezultând în restituirea diferenței de 200 RON de către angajat.
⚙️ Pașii de Testare (Scenariu)
| Pas | Acțiune Utilizator (Tester) | Rezultat Așteptat (Verificare) |
|---|---|---|
| 1. Acordare Avans | Se înregistrează acordarea unui avans de 1.000 RON angajatului X. | Soldul contului 542 (Avansuri de decontat) crește cu 1.000 RON. |
| 2. Creare Decont | Angajatul X inițiază un nou decont, făcând referire la avansul primit. | Decontul preia automat valoarea avansului de 1.000 RON. |
| 3. Introducere Cheltuieli | Se introduc cheltuielile: Cazare (500 RON, TVA inclus) și Transport (300 RON, TVA inclus). | Total cheltuieli = 800 RON. Se calculează corect TVA-ul deductibil. |
| 4. Validare Calcul | Se verifică automat calculul diferenței. | Avans (1.000) - Cheltuieli (800) = Diferență de restituit (200 RON). |
| 5. Aprobare Decont | Decontul este trimis și aprobat de toți factorii decizionali. | Statutul decontului se schimbă în “Aprobat/Decontat”. |
| 6. Restituire Avans | Angajatul restituie diferența de 200 RON (înregistrare la Casierie/Bancă). | Se generează documentul de încasare (Chitanță/Dispoziție de Încasare). |
| 7. Contabilizare Finală | Sistemul contabilizează decontul și restituirea. | Contul 542 al angajatului se închide (Sold 0). |
📝 Note Contabile Aferente
Acestea sunt notele contabile așteptate pentru a testa închiderea corectă a avansului (Contul 542 - Avansuri de decontat):
| Nr. Crt. | Operațiune | Cont Debitor | Cont Creditor | Suma (RON) | Explicație |
|---|---|---|---|---|---|
| 1 | Acordare Avans | 542 (Avans X) | 5311/5121 (Casa/Banca) | 1.000 | Acordarea avansului. |
| 2 | Decontare Cheltuieli | 6xx (Cheltuieli) | 542 (Avans X) | 672.27 | Valoarea cheltuielilor fără TVA (ex: 800 - 127.73). |
| 4426 (TVA Deductibil) | 542 (Avans X) | 127.73 | TVA aferent cheltuielilor (ex: 19%). | ||
| 3 | Restituire Sold | 5311/5121 (Casa/Banca) | 542 (Avans X) | 200 | Diferența restituită de angajat. |
Verificare Sold Final Cont 542 (Avans X):
- Total Debitor: 1.000 RON
- Total Creditor: 800 RON (Cheltuieli) + 200 RON (Restituire) = 1.000 RON
- Sold Final: 1.000 (D) - 1.000 (C) = 0 RON (Corect)
Table of contents
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dorin Hongu
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module