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

SF.net SVN: ledger-smb:[6741] branches/1.3



Revision: 6741
          http://sourceforge.net/p/ledger-smb/code/6741
Author:   einhverfr
Date:     2014-02-04 08:15:37 +0000 (Tue, 04 Feb 2014)
Log Message:
-----------
Mergin fix for #896 into branches/1.3

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/oe.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-02-04 08:13:30 UTC (rev 6740)
+++ branches/1.3/Changelog	2014-02-04 08:15:37 UTC (rev 6741)
@@ -7,6 +7,7 @@
 * Reports all default to detail instead of summary (Erik H)
 * Fixed adding vouchers not checking for locked/approved batches (Chris T 1025)
 * Fixed can't delete pricematrix entries from customer screen (Chris T, 893)
+* Fixed language change on order to invoice conversion (Chris T, 896)
 
 Changelog for 1.3.37
 * 1.3-1.2 downgrade now drops extensions (Chris T, 943)

Modified: branches/1.3/bin/oe.pl
===================================================================
--- branches/1.3/bin/oe.pl	2014-02-04 08:13:30 UTC (rev 6740)
+++ branches/1.3/bin/oe.pl	2014-02-04 08:15:37 UTC (rev 6741)
@@ -2406,7 +2406,6 @@
 sub sales_invoice  { &invoice }
 
 sub invoice {
-
     if ( $form->{type} =~ /_order$/ ) {
         $form->isblank( "ordnumber", $locale->text('Order Number missing!') );
         $form->isblank( "transdate", $locale->text('Order Date missing!') );
@@ -2483,10 +2482,6 @@
     $form->{ $form->{vc} } =~ s/--.*//g;
     $form->{type} = "invoice";
 
-    # locale messages
-    $locale = LedgerSMB::Locale->get_handle( $myconfig{countrycode} )
-      or $form->error("Locale not loaded: $!\n");
-
     #$form->{charset} = $locale->encoding;
     $form->{charset} = 'UTF-8';
     $locale->encoding('UTF-8');

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits