Commit Graph
17 Commits
Author SHA1 Message Date
Jacopo Cappellato 397294cf92 Added support for purpose type for currency rates when entering gl transactions in foreign currencies. Thank you to Sumit Pandit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 10:15:01 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 8f0c9f4c40 A 1s set of changes in accounting
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz 
More to follow... (component by component)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:19:14 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Hans Bakker 7ec1fb6789 Rate refactoring, now can have a base rate with diffrent currencies which can be overridden on a party or workeffort level. see OFBIZ-2037 for more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728894 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 07:26:55 +00:00
Bilgin Ismet Ibryam b685dbd482 Added purposeEnumId field to UomConversionDated entity. This will allow having different currency exchange rates for different on purposea.
Also extended convertUom service to search rates by purpose. If a rate with specified purposeEnumId is not found, then the conversion is done based on rates w/o purpose.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@721431 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 11:16:07 +00:00
Scott Gray cef6a0fb92 Thought I'd have a go at using the new entity-auto feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687676 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:53:22 +00:00
Jacopo Cappellato bb047ce391 Applied patch by Rashko Rejmer to implement new service to get an aggregate set of accounting preferences for a company (and its parent organizations) OFBIZ-1630.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643923 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 14:43:11 +00:00
Adrian Crum 88ccb8cb22 Some preliminary work on converting the Accounting component permission checking to the new permission service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600198 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 21:26:55 +00:00
Jacopo Cappellato f94eef67ac Implemented new screen and services to manage the organization's GlAccountDefaults information.
Changed sorting of the top menu items.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597673 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 14:31:15 +00:00
Hans Bakker 26e405df3d exclude important fields for updateon the partyAcctgPreference entity as David suggested
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539827 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 05:04:14 +00:00
Hans Bakker d65eef1f9c added a very limited acctPreference update possibility inclusive separate security
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539814 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 01:30:28 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422398 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:57:05 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00