Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.32k stars 2.75k forks source link

User add non-billable time to invoices without noticing when generating invoices from project's time spent list #29901

Open vdegrandpre opened 3 months ago

vdegrandpre commented 3 months ago

Bug

Generating an Invoice from a Project's Time Spent List includes time that are not billable

The Project's TsksList show all the Times spent on the Project. The user can select Time that is not billed (attached to an Invoice) to generate an Invoice.

The List does not show if the Task Time is billable or not, thereforre, non-billable time is shown to the user, without feedback of wether the time is billable or not.

User add non-billable time to invoices without noticing when generating invoices from project's time.

Dolibarr Version

No response

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

  1. Produce some Time associated to Project
  2. GoTo Project's Tasks List
  3. Filter by 'Facturable'
  4. Select All
  5. In the Actions Drop-down, ... Generate new Invoice
  6. Select Anything, ... Generate.
  7. GoTo generated Invoice
  8. Non-billable time is added to the Invoice

Attached files

No response

vdegrandpre commented 3 months ago

Fix in progress.

vdegrandpre commented 3 months ago

Voir #29913