forked from Wavyzz/dolibarr
Fix BOM position field
This commit is contained in:
@@ -2836,7 +2836,7 @@ abstract class CommonObject
|
||||
{
|
||||
// phpcs:enable
|
||||
$positionfield = 'rang';
|
||||
if ($this->table_element == 'bom') $positionfield = 'position';
|
||||
if ($this->table_element == 'bom_bom') $positionfield = 'position';
|
||||
|
||||
// Search the last rang with fk_parent_line
|
||||
if ($fk_parent_line)
|
||||
|
||||
Reference in New Issue
Block a user