Merge pull request #15141 from atm-maxime/fix_bom_rang
Fix BOM position field
This commit is contained in:
commit
b02c734c69
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user