2
0
forked from Wavyzz/dolibarr

Fix line_max for BOM

This commit is contained in:
Laurent Destailleur
2020-02-03 06:28:51 +01:00
parent e5808e3335
commit d8ed62ea33

View File

@@ -2745,7 +2745,7 @@ abstract class CommonObject
{ {
// phpcs:enable // phpcs:enable
$positionfield = 'rang'; $positionfield = 'rang';
if ($this->table_element = 'bom') $positionfield = 'position'; if ($this->table_element == 'bom') $positionfield = 'position';
// Search the last rang with fk_parent_line // Search the last rang with fk_parent_line
if ($fk_parent_line) if ($fk_parent_line)