Revision 44442c75
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
280 | 280 |
|
281 | 281 |
$self->order($updated_order); |
282 | 282 |
|
283 |
# no linked records on save as new |
|
284 |
delete $::form->{$_} for qw(converted_from_oe_id converted_from_orderitems_ids); |
|
285 |
|
|
286 | 283 |
# Warn on obsolete items |
287 | 284 |
my @obsolete_positions = map { $_->position } grep { $_->part->obsolete } @{ $self->order->items_sorted }; |
288 | 285 |
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