[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6321] trunk/LedgerSMB/Entity/Credit_Account.pm



Revision: 6321
          http://sourceforge.net/p/ledger-smb/code/6321
Author:   tshvr
Date:     2013-12-23 21:01:43 +0000 (Mon, 23 Dec 2013)
Log Message:
-----------
eca__set_taxes expects in_id

Modified Paths:
--------------
    trunk/LedgerSMB/Entity/Credit_Account.pm

Modified: trunk/LedgerSMB/Entity/Credit_Account.pm
===================================================================
--- trunk/LedgerSMB/Entity/Credit_Account.pm	2013-12-23 17:35:06 UTC (rev 6320)
+++ trunk/LedgerSMB/Entity/Credit_Account.pm	2013-12-23 21:01:43 UTC (rev 6321)
@@ -381,6 +381,7 @@
     my ($self) = @_;
     warn $self->{entity_class};
     my ($ref) = $self->exec_method({funcname => 'eca__save'});
+    $self->{id}=$ref->{eca__save};
     $self->exec_method(funcname => 'eca__set_taxes');
     return $self->get_by_id($ref->{eca__save});
 }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits