Fix : SQL error on stock transfer deletion (#29902)
This commit is contained in:
parent
ee75ffe823
commit
5989ee9cf0
1 changed files with 9 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue