Skip to content
Snippets Groups Projects
Commit 07b277b2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Prepare fields in dtabase to store if time spent was invoiced or not.

parent 4b2db78c
No related branches found
No related tags found
No related merge requests found
......@@ -105,3 +105,8 @@ ALTER TABLE llx_product ADD COLUMN onportal tinyint DEFAULT 0 after tobuy;
ALTER TABLE llx_user ADD COLUMN employee tinyint DEFAULT 1;
ALTER TABLE llx_projet_task_time ADD COLUMN invoice_id integer DEFAULT NULL;
ALTER TABLE llx_projet_task_time ADD COLUMN invoice_line_id integer DEFAULT NULL;
......@@ -26,5 +26,7 @@ create table llx_projet_task_time
task_duration double,
fk_user integer,
thm double(24,8),
invoice_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice id here
invoice_line_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice line id here
note text
)ENGINE=innodb;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment