Revision 738843f6
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
294 | 294 |
|
295 | 295 |
$self->order($updated_order); |
296 | 296 |
|
297 |
# no linked records on save as new |
|
298 |
delete $::form->{$_} for qw(converted_from_oe_id converted_from_orderitems_ids); |
|
299 |
|
|
300 | 297 |
# Warn on obsolete items |
301 | 298 |
my @obsolete_positions = map { $_->position } grep { $_->part->obsolete } @{ $self->order->items_sorted }; |
302 | 299 |
flash_later('warning', t8('This record containts obsolete items at position #1', join ', ', @obsolete_positions)) if @obsolete_positions; |
Auch abrufbar als: Unified diff
DB::Order: no_linked_records Flag zu new_from hinzugefügt