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:
7664f50
)
SL::DB::Order: verwendete Klassen explizit requiren
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 4 Feb 2014 11:50:10 +0000
(12:50 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 24 Feb 2014 13:40:00 +0000
(14:40 +0100)
SL/DB/Order.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
a3c9de0
..
89f602e
100644
(file)
--- a/
SL/DB/Order.pm
+++ b/
SL/DB/Order.pm
@@
-131,6
+131,7
@@
sub convert_to_invoice {
my $invoice;
if (!$self->db->do_transaction(sub {
+ require SL::DB::Invoice;
$invoice = SL::DB::Invoice->new_from($self)->post(%params) || die;
$self->link_to_record($invoice);
$self->update_attributes(closed => 1);