Jacques Le Roux
95cfc5a0eb
Fix a bug reported in user ML by Gabriele Franzini. Weird code, looks like untested intial code...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928477 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 19:08:21 +00:00
Jacques Le Roux
40924b4fc9
Fix a bug reported by Qin Sheng on user ML. This wrong C/P was introduced by r585750
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928470 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 18:32:32 +00:00
Adrian Crum
7d4a943c2a
Revert 928451.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928460 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 17:46:45 +00:00
Adrian Crum
0b9abb6a8b
Simplified label html renderer macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928451 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 16:48:22 +00:00
Hans Bakker
b18f36575f
ceate a status change shortcut for the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928398 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 13:28:47 +00:00
Hans Bakker
a3f54af55d
allow the change from pending (on customer action) back to accepted and do not send a create confirmation message in this case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928347 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 05:48:59 +00:00
Hans Bakker
310106aae2
tomahawk theme: portal page tags should only show when logged in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 04:41:16 +00:00
Jacques Le Roux
cfe8ef9dec
Oops, wrong commit at r928304. I thought I was in the lookup block, moreover I put one quote too many :/. To be revisited...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928307 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 23:59:24 +00:00
Jacques Le Roux
a323ba2de6
A little improvement for sight impaired users
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928304 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 23:28:18 +00:00
Jacques Le Roux
5a64b4b0da
In order to fix issues after issues, I commit this patch from Sascha Rodekamp that fixes "Allow to open a layer lookup from a layer lookup" ( https://issues.apache.org/jira/browse/OFBIZ-3446 ) - OFBIZ-3446
...
This patch does not fix an issue with calendar in layered lookups. So I will create a new Jira for that.
Also it introduces a small drawback: you can't no longer close a layered lookup with the right left cross button. But Esc. is still working, so it's not a blocker. I will have a look at this and if needed will create a new Jira
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928292 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:56:24 +00:00
Scott Gray
63aadfd6be
Removed a couple of redundant null assignments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928275 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:00:32 +00:00
Scott Gray
42f78553dc
Removed a couple of unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928274 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:00:29 +00:00
Scott Gray
b9605ffbf0
Removed a few redundant null checks.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928273 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:00:27 +00:00
Scott Gray
0ea00e303d
Move a couple of null checks higher to where they can actually be reached
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928272 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:00:24 +00:00
Scott Gray
a243bfce55
Removed use of deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928270 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:17 +00:00
Scott Gray
843af7e0a7
Deprecated org.ofbiz.product.product.ProductWorker.getCurrentProductCategories(Delegator, GenericValue) use getCurrentProductCategories(GenericValue) instead
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928269 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:15 +00:00
Scott Gray
ec1ee35336
Remove a couple of redundant null checks
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928268 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:12 +00:00
Scott Gray
e6fa7a1e3f
Remove throws declarations for exceptions that are never thrown
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:09 +00:00
Scott Gray
4315d31c6a
Organized imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:06 +00:00
Scott Gray
ee43df7ad3
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.product.product.ProductWorker.getProduct(PageContext, String)
org.ofbiz.product.product.ProductWorker.getProduct(PageContext, String, String)
org.ofbiz.product.product.ProductWorker.getAssociatedProducts(PageContext, String, String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928265 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:04 +00:00
Erwan de Ferrieres
1fb6664a73
Correcting french typos
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928242 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 18:09:51 +00:00
Jacques Le Roux
3e33b7c700
To be consistent with definitions in widget-form.xsd, change renderLookupField attributes names prefixed by lookup to no prefixes (eg lookupPresentation becomes presentation)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928240 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:50:16 +00:00
Jacques Le Roux
dd4729072e
Of course the safe navigation changes at r928171 were not enough. This completes them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928180 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 10:33:27 +00:00
Ashish Vijaywargiya
1b28dc1b13
It may happen that the value returned from communicationEvent.note.indexOf(nameString) is -1.
...
So if this is the case then we should not do anything. The previous code was giving unexpected values in email address, lastname & firstname text box and it may create confusion for the end user.
I observed this case when: I was fetching emails from my personal account inside OFBiz using JavaMailContainer Api. And my personal email was not available in the system so the values fetched in the above mentioned field was not correct.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 09:17:14 +00:00
Jacques Le Roux
e99da6a254
Forgot the 3d case in r928166
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928171 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:18:43 +00:00
Jacques Le Roux
81de2641d0
Use safe navigation rather than if(value) to avoid confusion in case of value=0.
...
From Scott's advice on dev ML, after a 1st remark on style by Adam
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928166 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:11:35 +00:00
Hans Bakker
e237fe0ba6
if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Jacques Le Roux
9d6925fabc
A patch from Stefan Roggensack "LoginWorker.doBasicLogout does not check userLogin against null" ( https://issues.apache.org/jira/browse/OFBIZ-3577 ) - OFBIZ-3577
...
Not easy to reproduce...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928037 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 20:05:54 +00:00
Erwan de Ferrieres
2a9bbcdde8
multi-tenant textbox should not be displayed by default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927961 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 16:41:46 +00:00
Erwan de Ferrieres
cfe049b424
As suggested by Adrian, adding an option to hide the tenant ID's textbox in login form
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927924 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 15:44:04 +00:00
Jacopo Cappellato
c79a8f4afd
Added information about max number of overlapping events in a day of a month calendar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927888 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:54:10 +00:00
Jacopo Cappellato
fc8999f04b
Added ability to hide events from the month calendar to only display aggregate data in each day.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927881 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:47:28 +00:00
Jacques Le Roux
ad2a20a520
Fix a NPE I got on actualCurrencyAmount while working with R9.04.
...
Since the files are identical I commit in trunk and will backport
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927870 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:34:02 +00:00
Jacopo Cappellato
73bfcba796
I have forgotten to commit this in my previous commit (927783): now the ComparableRange class implements the Comparable interface.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927867 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:27:49 +00:00
Ashish Vijaywargiya
94324e76a6
CreateCustomerRequest from CommunicationEvent was broken.
...
Fixed the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927843 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 13:35:48 +00:00
Ashish Vijaywargiya
196572c9e4
CommonMyCommunicationEventDecorator is first added and then removed in previous commits. Removing its reference as it was breaking the screens in MyPortal section.
...
https://localhost:8443/myportal/control/ViewCommunicationEvent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 12:14:53 +00:00
Jacopo Cappellato
e8fc9c41ae
Implemented new method to group a set of events by date ranges:
...
if event #1 starts at date A and ends at date C and event #2 starts at date B and ends at date D then the metod will return the following maps:
A-B: event #1
B-C: events #1 and #2
C-D: event #2
This is useful for example to get statistics about calendar events, for example the max number of concurrent events or the max number of persons allocated in the same time; I have added the latter to the month view as an example of its usage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927783 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 11:57:41 +00:00
Ashish Vijaywargiya
8f83bfeda0
The screen was broken for CommunicationEventOrder.
...
The order was not associating with communication event when the new communication event was generating in system for different mail notifications(like OrderConfirmation, OrderComplete, ShipmentComplete etc.)
Now after this commit it will work without any issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927758 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:25:08 +00:00
Ashish Vijaywargiya
4c1c53522c
Applied patch from jira issue OFBIZ-3552 - Initial Inventory Item Status is saved wrong in case of non-serialized inventory and when reason of return is "Defective Item", at the the time of receiving returns.
...
Problem Description:
1) When returns are received and reason of return is "Defective Item" ,whether inventoryItemType is serialized or non-serialized, Initial Inventory Item Status is always saved as "INV_DEFECTIVE"
2) This should not be the case, value of Initial Inventory Item Status should be dependent on inventoryItemType.
3) i. e In Receive Return screen , when user selects inventoryItemType value of Initial Inventory Item Status should be changed dynamically .
4) So when inventoryItemType is non-serialized then value of Initial Inventory Item Status should be INV_NS_DEFECTIVE and if inventoryItemType is serialized value of value of Initial Inventory Item Status should be INV_DEFECTIVE.
5) This is a real bug, which causes ATP inventory figures wrong when sales order is placed. This is so because when sales order is placed, defective inventory items are assigned to sales order.
6) Reason of #5 is when inventory reservations are done in case of non-serialized inventory, In reserveForInventoryItemInline simple-method of InventoryReserveServices.xml , checks are made on value of inventoryItem.statusId = "INV_NS_DEFECTIVE".
And as described in #1 , Initial Inventory Item Status is always saved as "INV_DEFECTIVE". So this checks never gets satisfied.
Thanks Divesh & Pranay for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:28:49 +00:00
Ashish Vijaywargiya
2127f39c02
Corrected the condition.
...
Thanks Arun!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927739 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:04:06 +00:00
David E. Jones
8f1dbbb31d
Fixed issue with calendar where PM times were ALWAYS treated as AM times, now populates the date/time text box with the proper 24 hour time format
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927708 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 06:46:05 +00:00
David E. Jones
0ef67581ce
Small fix so that new SequenceUtil stuff (with no delegtor reference) will work with the multi-tenant extended helper info; before this all tenants would use the SequenceValueItem table from the master (no tenant) database
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927584 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 20:22:55 +00:00
Adrian Crum
19f2a0a463
Small fixups in GroovyUtil.java - no functional change. Removed unused import, fixed Generics warnings, reordered methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:10:57 +00:00
Erwan de Ferrieres
272ed4e950
French translation for tenant
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 16:21:47 +00:00
Erwan de Ferrieres
e1b55fec4e
Typo in file name, forms weren't rendered
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927471 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 16:17:34 +00:00
Ashish Vijaywargiya
e662d796ed
-- Changed the uiLabelMap of section available on Communication Event tab. As the old doesn't seem good. Actually all the communication event shown on this page are not child communication events. So changed title to "Others and General Communication Events"
...
-- Improved condition for showing communication events on this block. Added another check so that completed communication event should not be shown. If you wanted to see all the completed communication event then go to the main communication event and find communications from there. Also think if we have thousands of record than previous condition will create problem in page loading.
-- Formating changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927403 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 13:53:35 +00:00
Adrian Crum
8a3306c4e2
Commented out unused entity in entitygroup.xml file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927396 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 13:34:48 +00:00
Jacopo Cappellato
3a34d4cee5
Sorry, I have forgotten to commit this as part of revision: 927327
...
"Fixed wrong field type in service definition that was causing the loadDateDimension service to fail.
Thanks to Sam Hamilton for the bug report OFBIZ-3574"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927329 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:24:21 +00:00
Jacopo Cappellato
b5ee5e729b
Fixed wrong field type in service definition that was causing the loadDateDimension service to fail.
...
Thanks to Sam Hamilton for the bug report OFBIZ-3574
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927327 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:12:53 +00:00
Jacopo Cappellato
d9bf5b2c5b
Added missing type attributes to set operations: they were causing the service to fail.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:11:16 +00:00