projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8e547
)
Workflow Lieferantenauftrag->Kreditorenbuchung: mini Performance-Optimierung
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 15 Aug 2019 10:39:05 +0000
(12:39 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Thu, 15 Aug 2019 10:43:54 +0000
(12:43 +0200)
Später benötigte Relationen direkt mit laden.
Dank an Geoffrey.
bin/mozilla/ap.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ap.pl
b/bin/mozilla/ap.pl
index
bba2af4
..
ed4d864
100644
(file)
--- a/
bin/mozilla/ap.pl
+++ b/
bin/mozilla/ap.pl
@@
-1189,7
+1189,7
@@
sub add_from_purchase_order {
return if !$::form->{id};
my $order_id = delete $::form->{id};
- my $order = SL::DB::Order->new(id => $order_id)->load;
+ my $order = SL::DB::Order->new(id => $order_id)->load
(with => [ 'vendor', 'currency', 'payment_terms' ])
;
return if $order->type ne 'purchase_order';