[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6740] trunk
- Subject: SF.net SVN: ledger-smb:[6740] trunk
- From: ..hidden..
- Date: Tue, 4 Feb 2014 08:13:31 +0000
Revision: 6740
http://sourceforge.net/p/ledger-smb/code/6740
Author: einhverfr
Date: 2014-02-04 08:13:30 +0000 (Tue, 04 Feb 2014)
Log Message:
-----------
Fixing locale getting clobbered on conversion from sales order to sales invoice, bug 896
Modified Paths:
--------------
trunk/Changelog
trunk/bin/oe.pl
Modified: trunk/Changelog
===================================================================
--- trunk/Changelog 2014-02-04 07:44:59 UTC (rev 6739)
+++ trunk/Changelog 2014-02-04 08:13:30 UTC (rev 6740)
@@ -112,6 +112,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: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl 2014-02-04 07:44:59 UTC (rev 6739)
+++ trunk/bin/oe.pl 2014-02-04 08:13:30 UTC (rev 6740)
@@ -1442,7 +1442,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!') );
@@ -1519,10 +1518,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