Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 3e8b20aa81 A patch from Parimal Gain for "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
Reports under Order component has following issues -
1. Following reports are not showing any records due some issue
   a. Last three month sales report.
   b. Sales report.
   c. Sales Order discount code report.
   d. Product demand report.
2. Inconsistency in opening the pdf report - some reports are opening in new tab window but some are in the same window.

Following are the checkpoint -
1) Order should be Approved
2) All Dimension table(CurrencyDimension, DateDimension, ProductDimension)should have record.
3) After approval of order, order record should be created in 'SalesOrderItemFact' table. These is the OLAP table used to display data in reports.

Description -
1) If dimension table doesn't have records then following services should execute from service engine -
a) loadAllProductsInProductDimension
b) loadCurrencyDimension
c) loadDateDimension
2) Calling service to create record in 'SalesOrderItemFact' is updated into patch. On commit operation of service 'changeOrderItemStatus' if order item is approved then 'loadSalesOrderFact' service called through SECAS.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519544 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 03:29:45 +00:00
Hans Bakker b06e78d5b6 replace numberformat with UtilFormatOut because not showing the Thai baht currency correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519364 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 08:11:16 +00:00
Jacques Le Roux 06e7d2a646 The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519245 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 08:18:47 +00:00
Jacopo Cappellato 0d2f4d2347 Fix for typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518983 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:45:45 +00:00
Jacopo Cappellato 6071e8d8e0 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Jacques Le Roux d6eaefbeb6 This fixes "Net before overhead report generates an error" https://issues.apache.org/jira/browse/OFBIZ-5267
This is related with r1361130, where the birt component was moved from framework to specialpurpose.

The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 19:37:44 +00:00
Jacques Le Roux 8196e850ab A patch from Pierre Smits for "ProductionRunServices doens't set UoM of goods in inventoryItems" https://issues.apache.org/jira/browse/OFBIZ-5300
When releasing a good to inventory from a production run (both declare and return material) the uom of the good returned isn't set in the inventory item.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518336 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 19:34:02 +00:00
Jacopo Cappellato 96dfb91fbb Removed unused import statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518219 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 14:36:13 +00:00
Jacopo Cappellato 2de26cf06d Moved the folder where search indexes are created from content/index to runtime/data/indexes because it is a good practice to avoid the creation of runtime data in the applications/framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518213 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 14:11:11 +00:00
Jacopo Cappellato a0db8942b1 Removed some old unused methods and fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518098 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 08:21:26 +00:00
Jacopo Cappellato ef1bf9c42c Removed a really old and never used class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517848 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:28:31 +00:00
Jacopo Cappellato a89aaac7b5 No functional changes: removed a really old and commented out code block and expanded the wildcard notation for package inclusion for Lucene classes to better document the external classes being used in this class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517846 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:26:21 +00:00
Jacopo Cappellato 0c2e79f4bd Removed some old/useless commented out debug statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517845 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:22:45 +00:00
Jacques Le Roux 041340b074 A patch from Pierre Smits for "ProudctionRunServices.xml doesn't set dateTimeManufactured in inventoryItem" https://issues.apache.org/jira/browse/OFBIZ-5299
When producing a good in Manufacturing the manufacturing date and time doesn't get set in the inventoryItem

jleroux: I also noticed that 1 instance of datetimeReceived for SERIALIZED_INV_ITEM in productionRunTaskProduce used UtilDateTime.nowDate() instead UtilDateTime.nowTimestamp(), I changed it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517780 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 10:26:02 +00:00
Hans Bakker 577421545b corrected error in field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517430 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 06:07:09 +00:00
Jacques Le Roux bbf2e95162 This is not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-24 14:29:51 +00:00
Erwan de Ferrieres bf6c2c77e7 As reported by Nicolas Malin on dev mailing-list, correcting a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513084 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 08:51:57 +00:00
Hans Bakker 9df881d368 OFBIZ-5244: ledger entries generated from a payment not using 'original' currency and amount
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512848 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 02:10:48 +00:00
Jacques Le Roux 0d4371b9a9 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512587 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 09:46:03 +00:00
Jacques Le Roux f2942def8c A patch from Pierre Smits https://issues.apache.org/jira/browse/OFBIZ-5262
"Improve demo data regarding EU tax authorities"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512577 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 08:33:43 +00:00
Jacques Le Roux 3e7431c26f Fixes https://issues.apache.org/jira/browse/OFBIZ-5272 "Sales by Store report generates an error"
jleroux: I vaguely remember a change related to ignore-if-null and ignore-if-empty. Anyway replacing ignore-if-null by ignore-if-empty does the trick, which makes sense

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512573 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:46:55 +00:00
Scott Gray 3d6187d98e Remove dead code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512572 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:03:21 +00:00
Hans Bakker ff9107cb25 replace groovy file with new view and add orderitemSeqId to invoiceitemlist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 03:08:25 +00:00
Jacques Le Roux 1956e731a3 No functional changes, only formatting.
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511742 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 12:28:01 +00:00
Jacques Le Roux 98b8f43edb A patch from Pierre Smits for "Receive inventory generates an error when product has mandatory lotid" https://issues.apache.org/jira/browse/OFBIZ-5275
When a product has lotid set to mandatory the receipt of inventory in facility generates following error:

The Following Errors Occurred:
The lotId is mandatory for the product M-AMBER-40.

However, it is not possible to set the lotid on the receipt form.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1510042 13f79535-47bb-0310-9956-ffa450edef68
2013-08-03 17:24:45 +00:00
Jacques Le Roux 4a1a784c22 A patch from János Zsolt for "Load cart from order loses OrderItemAttributes" https://issues.apache.org/jira/browse/OFBIZ-5286
When an order is created from a cart, OrderItemAttribute entities are created as expected. But when this same order is used to load back to the cart, the OrderItemAttributes are not reset. I found the cause of this issue in the org.ofbiz.order.shoppingcart.ShoppingCartServices.loadCartFromOrder(DispatchContext, Map<String, Object>) method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509164 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 10:47:02 +00:00
Jacques Le Roux 7110862b9a Casting here should compile in all cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507972 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 08:43:25 +00:00
Jacques Le Roux 7cf8dc3df3 Of course I made a wrong C/P in r1507596
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 09:52:48 +00:00
Jacques Le Roux 62e3aa787d No functional change, temporary weird compile error workaround
There is an issue with commit r1507200. It does not compile. 
I wonder though why Buildbot did not detect it and also why my IDE (Eclipse) does not detect it and also why this fails, because the same scheme is successfully used elsewhere.

The demo compilers (1.6.26, mine is 1.6.22, ) say:

classes:
  [javac16] Compiling 11 source files to /home/ofbiz/trunk/applications/party/build/classes
  [javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2097: incompatible types
  [javac16] found   : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
  [javac16] required: java.util.Map<java.lang.String,java.lang.Object>
  [javac16]                     Map<String, Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
  [javac16]                                                                       ^
  [javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2117: incompatible types
  [javac16] found   : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
  [javac16] required: java.util.Map<java.lang.String,java.lang.Object>
  [javac16]                     Map<String, Object> telecomNumber = UtilMisc.toMap("userLogin", userLogin);
  [javac16]                                                                       ^
  [javac16] 2 errors


Of course replacing by
    java.util.Map<java.lang.String,java.lang.Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
as the compilers suggest does not help. I temporarily replaced by

Map<String, Object> postalAddress = new HashMap<String, Object>();
postalAddress.put("userLogin", userLogin);

Unrelated: I set my IDE to automatically clean imports...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507596 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 08:15:23 +00:00
Hans Bakker 8df9a52ca9 add a csv party import and export function to the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507200 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 07:00:28 +00:00
Jacques Le Roux 64f269665e A patch from Petr Pytelka for "upload content at party profile is not working" https://issues.apache.org/jira/browse/OFBIZ-5202
I tried to upload content at party profile screen with purpose "Logo Image URL" and Is public "YES" but i got the following exception
---- exception report ----------------------------------------------------------
ERROR: Could not complete the Create Content Alternative URLs. [file:/media/68C2E6E0C2E6B18C/Work/Developers_foundation/Workspace/OFBiz/ofbiz/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createContentAlternativeUrl] process [problem invoking the [createContent] service with the map named [contentCtx] containing [{dataResourceId=10001, statusId=CTNT_IN_PROGRESS, localeString=en_US, userLogin=[GenericEntity:UserLogin][createdStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][createdTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][lastUpdatedTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)], locale=en_US}]: The following required parameter is missing: [IN] [createContentRole.partyId]]
Exception: org.ofbiz.service.ServiceValidationException
Message: The following required parameter is missing: [IN] [createContentRole.partyId]

jleroux: 
I see no reasons to not move the lines
<!-- Party for System UserLogin Account - just in case logic depends on it -->
<Party partyId="system" partyTypeId="PERSON"/>
<Person partyId="system" firstName="System" lastName="Account"/>

from UserDemoData.xml to SecurityPermissionSeedData.xml

This patch  allows to load data for party "system" when load-extseed is called.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506269 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 20:44:10 +00:00
Hans Bakker baff7e8119 revert r1505301, not required to show organization partyId in csv download
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505878 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 01:58:17 +00:00
Hans Bakker 86485988fc remove log message in commit 1505303
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505304 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:38:21 +00:00
Hans Bakker 5084e74710 add the check that when a payment set to 'received' or 'sent' it should have a payment method, otherwise posting will fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505303 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:35:55 +00:00
Hans Bakker 03420d2e7d correction to rev 1502093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505301 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:34:08 +00:00
Jacques Le Roux b96d1effcd A patch from Leon for "minor patch to "create email address"" https://issues.apache.org/jira/browse/OFBIZ-5278
In rare case where email address is same as other type contact info, such as internal party note, you cannot create this email address after the internal party note is created.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1504864 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 13:01:03 +00:00
Hans Bakker 9f45dde852 remove a non functional jquery error messaging in costcenter perc screens with the standard, but working messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1503615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 08:41:17 +00:00
Hans Bakker 392374d22d add orghanizationParty Id to the costcenter list, because the referenced glaccountId can come from several different companies in the hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 03:29:22 +00:00
Jacques Le Roux c85d363452 A patch from Leon for "make genericContentPermission service (called from within DataEvents.serveObjectData) locale enabled" https://issues.apache.org/jira/browse/OFBIZ-5260
Passes "locale" parameter when calling "genericContentPermission" service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502182 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 10:35:44 +00:00
Hans Bakker 6d7fd95df4 more consistent namimg of requests,screens and forms for import/export invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502149 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 08:33:24 +00:00
Hans Bakker c09114575f spelling error in reference number field invoice export/import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502116 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:33:04 +00:00
Hans Bakker 2acd394d71 fixed demo data load problem caused by r1502093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502102 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:53:50 +00:00
Hans Bakker ad8ae088de add a csv import/export invoices at an organizational level with partyid and productid translation functions, more imports/exports will follow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502093 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:14:30 +00:00
Hans Bakker 6bdaf8daa6 missing change in r1501659
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502091 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 02:53:35 +00:00
Hans Bakker 518757a033 enforce encoding on text input fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502088 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 02:44:45 +00:00
Hans Bakker 2670910be7 create invoice: assume status is INVOICE_IN_PROCESS when not provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1501659 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 06:30:53 +00:00
Hans Bakker a4181b2a56 remove white space
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1501657 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 06:28:19 +00:00
Hans Bakker e9fabf2ed5 add screenlet to add accounting company screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499927 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 08:04:07 +00:00
Jacques Le Roux c7c772f8fc A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499918 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 06:57:03 +00:00
Hans Bakker a58238c109 entity-and without fieldmap gives an error in the log. in entity-condition it is allowed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499226 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 06:45:38 +00:00