Revision b535245e
Von Jan Büren vor mehr als 7 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
898 | 898 |
$form->{old_employee_id} = $form->{employee_id}; |
899 | 899 |
$form->{old_salesman_id} = $form->{salesman_id}; |
900 | 900 |
|
901 |
delete $form->{$_} foreach (qw(printed emailed queued)); |
|
901 |
delete $form->{$_} foreach (qw(id printed emailed queued));
|
|
902 | 902 |
|
903 | 903 |
# When creating a new sales order from a saved sales invoice, reset id, |
904 | 904 |
# ordnumber, transdate and deliverydate as we are creating a new order. This |
... | ... | |
979 | 979 |
if ($form->{second_run}) { |
980 | 980 |
$form->{print_and_post} = 0; |
981 | 981 |
} |
982 |
delete $form->{$_} foreach (qw(printed emailed queued)); |
|
982 |
delete $form->{$_} foreach (qw(id printed emailed queued));
|
|
983 | 983 |
|
984 | 984 |
my $buysell; |
985 | 985 |
if ($form->{script} eq 'ir.pl' || $form->{type} eq 'purchase_order') { |
Auch abrufbar als: Unified diff
id zwingend löschen bei Workflow
Ansonsten wandelt sich der Auftragsbeleg in ein Angebotsbeleg usw.
Scheinbar beim Refactoren der Zeile übersehen.