Skip to content

Commit

Permalink
FIX use status instead of fk_statut
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed Jan 31, 2024
1 parent 3f5488c commit ab1495f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/install/mysql/migration/19.0.0-20.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,5 @@ ALTER TABLE llx_knowledgemanagement_knowledgerecord MODIFY COLUMN answer longtex

-- Rename const to add customer categories on not customer/prospect third-party if enabled
UPDATE llx_const SET name = 'THIRDPARTY_CAN_HAVE_CUSTOMER_CATEGORY_EVEN_IF_NOT_CUSTOMER_PROSPECT' WHERE name = 'THIRDPARTY_CAN_HAVE_CATEGORY_EVEN_IF_NOT_CUSTOMER_PROSPECT_SUPPLIER';

UPDATE llx_projet_task SET status = fk_statut;
6 changes: 6 additions & 0 deletions htdocs/projet/class/task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,15 @@ class Task extends CommonObjectLine

/**
* @var int ID
* @deprecated use status instead
*/
public $fk_statut;

/**
* @var int ID
*/
public $status;

public $priority;

/**
Expand Down

0 comments on commit ab1495f

Please sign in to comment.