[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5761] trunk
- Subject: SF.net SVN: ledger-smb:[5761] trunk
- From: ..hidden..
- Date: Sat, 11 May 2013 06:58:01 +0000
Revision: 5761
http://sourceforge.net/p/ledger-smb/code/5761
Author: einhverfr
Date: 2013-05-11 06:58:00 +0000 (Sat, 11 May 2013)
Log Message:
-----------
Correcting errors changing company countries
Modified Paths:
--------------
trunk/LedgerSMB/Entity/Person.pm
trunk/sql/modules/Company.sql
Modified: trunk/LedgerSMB/Entity/Person.pm
===================================================================
--- trunk/LedgerSMB/Entity/Person.pm 2013-05-11 06:29:12 UTC (rev 5760)
+++ trunk/LedgerSMB/Entity/Person.pm 2013-05-11 06:58:00 UTC (rev 5761)
@@ -84,10 +84,12 @@
6 | Sir.
(6 rows)
+It is highly recommended that this is used, but for backward compatibility and
+upgrade reasons it is not enforced at this time. This may change at some point as our user interface does not allow this to be left blank.
=cut
-has 'salutation_id' => (is => 'rw', isa => 'Int', required => 1);
+has 'salutation_id' => (is => 'rw', isa => 'Int');
=item salutations
Modified: trunk/sql/modules/Company.sql
===================================================================
--- trunk/sql/modules/Company.sql 2013-05-11 06:29:12 UTC (rev 5760)
+++ trunk/sql/modules/Company.sql 2013-05-11 06:58:00 UTC (rev 5761)
@@ -747,7 +747,7 @@
sic_code = in_sic_code,
sales_tax_id = in_sales_tax_id,
license_number = in_license_number
- WHERE id = t_company_id;
+ WHERE entity_id = t_entity_id;
IF NOT FOUND THEN
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.