Skip to content

Commit

Permalink
Fix : SQL error on stock transfer deletion (Dolibarr#29902)
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-maxime authored Jun 7, 2024
1 parent ee75ffe commit 5989ee9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ class StockTransfer extends CommonObject
*/
public $isextrafieldmanaged = 1;

/**
* @var int Name of subtable line
*/
public $table_element_line = 'stocktransfer_stocktransferline';

/**
* @var int Field with ID of parent key if this object has a parent
*/
public $fk_element = 'fk_stocktransfer';

/**
* @var array List of child tables. To know object to delete on cascade.
Expand Down

0 comments on commit 5989ee9

Please sign in to comment.