Adam Heath
5bc7e67662
Iterate the correct list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686668 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 02:37:10 +00:00
Jacques Le Roux
94591ccc4d
Following description added for the workEffortParentId field in rev. 677193 by Jacopo, I added some descriptions here.
...
But I quickly realized, as David explained, that "We can't document every little thing".
The best in such case is simply to use he relations view in entity maintenance feature in Webtools to see which fields relate with which entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686636 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 19:49:23 +00:00
Bilgin Ismet Ibryam
40d4c4745b
Fixed few requests which allow access to main page without authorization check.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686630 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 18:51:26 +00:00
Adrian Crum
f7ab19876b
Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +00:00
Hans Bakker
2ce52072e6
refinement security for creating external email and internal comm notes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686595 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:16:38 +00:00
Hans Bakker
563dccbe37
missing field name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686594 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:10:39 +00:00
Hans Bakker
efe3927216
add missing label and only show option if has access
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686592 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 08:49:18 +00:00
Jacques Le Roux
e7905f2c8c
Fix the anti-pattern
...
if (* != null && *.size() > 0) {
where * is a variable name (String or Collection). Rewritten to
if (UtilValidate.isNotEmpty(*)) {
Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {
And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Hans Bakker
57d3cd208c
use system userlogin to create role, so everybodu can create a communication event, only remove commevent role if it can be found, spaces for tabs(last change)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686581 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 01:34:06 +00:00
Scott Gray
f219aa1c43
Shouldn't have removed this one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686579 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:08:10 +00:00
Scott Gray
c98e7dc59f
Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Scott Gray
85af94fabd
Various clean ups, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 21:40:30 +00:00
Hans Bakker
759bf5a7e0
list all customer requests with optional workeffort....correcting link error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686168 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 07:36:16 +00:00
Hans Bakker
17a4f51ce7
change display order of security groups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686129 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 03:25:27 +00:00
Hans Bakker
15e4bc9bff
change order to be more usefull
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 02:57:50 +00:00
Hans Bakker
a5c197d3de
improoved readability of code on suggestion of jacopo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686100 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 01:26:47 +00:00
Adam Heath
5930d43294
Another anti-pattern discovery.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685951 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 16:24:56 +00:00
Adam Heath
66d7ec8c94
Use IN instead of looping and creating a bunch of sub-expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685945 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:37:17 +00:00
Adam Heath
83de5c84bd
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:14:11 +00:00
Adam Heath
4cf1e9d438
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:53 +00:00
Adam Heath
cf28c9d298
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685937 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:17 +00:00
Adam Heath
b1e3e54926
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685936 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:12:17 +00:00
Adam Heath
e410552cc9
No longer *copy* the extra support files into the classes dir;
...
instead, just add them straight to the final jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Jacopo Cappellato
fd190b8a14
If the screen is used to create a new data resource, the list of content records associated to it is not rendered.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685899 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 14:02:45 +00:00
Hans Bakker
58aa50527b
check for missing data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685896 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 13:51:26 +00:00
Hans Bakker
b9f9ad2cb9
when a custRequest is created, create also optionally the item because often the texual customer request consists out of a single item
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685836 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:38:42 +00:00
Bilgin Ismet Ibryam
5178df0121
Missed these files in my previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685809 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 08:37:52 +00:00
Bilgin Ismet Ibryam
4bd91223f8
Applied the patch from JIRA Issue # OFBIZ-1912 "Configurable products with Virtual product options".
...
Added a new entity ConfigOptionProductOption to store selected variant products per configuration.
Moved a code snippet about products with VV_FEATURETREE from ShoppingCartEvents to ProductWorker.
Added a demo product PIZZA to test demonstrate Configurable products with Virtual product options.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 08:30:07 +00:00
Adrian Crum
385e644aec
Converted some lookup screens hard-coded permission checking over to the permission service. Now maintenance workers can use the lookup buttons.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685687 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 21:45:11 +00:00
Bilgin Ismet Ibryam
33ec31a8f4
Fix for my previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685596 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 16:03:24 +00:00
Jacopo Cappellato
693ed39c85
Improved some comments; slightly enhanced error handling for the "cms" event; some minor fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685587 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 15:33:15 +00:00
Bilgin Ismet Ibryam
56fa3b1e52
Fix a bug in product details screen, which allows adding virtual products with not selected features to cart.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685531 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 13:02:16 +00:00
Ashish Vijaywargiya
c31b001ae7
We should pass the webSiteId to the sendMailFromScreen service.
...
Because it tries to put the baseUrl value in the context if webSiteId is found as the input parameter to the service.
Also sendMailFromScreen service return error if baseUrl don't exists in CreatePartyNotification.ftl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685479 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 08:47:50 +00:00
Jacques Le Roux
29ed71e933
Better French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685476 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 08:20:14 +00:00
Jacques Le Roux
f2c2479b80
Better French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685475 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 08:18:09 +00:00
Hans Bakker
4110a74b71
restored ftl request files from order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685453 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 06:06:17 +00:00
Hans Bakker
df5916f329
sheduled jobs should only load at initial load time otherwise they are duplicated at every seed load
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685412 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 01:29:48 +00:00
Hans Bakker
f97d937600
improved error message on suggestion of other committers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685395 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 00:13:08 +00:00
Si Chen
bbd3ebbdb0
Fix bug in PartyContactWithPurpose view entity. The join is missing a partyId constraint that causes the wrong data to show up if a party has more than one contact mech of the same type and different purposes (two phone numbers, two addresses, etc.)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685248 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:01:27 +00:00
Adrian Crum
8ede8832c8
Added the ability to turn off auto-creation of fixed assets when 'asset usage' type product is created.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685226 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 17:00:35 +00:00
Jacques Le Roux
bb16d3d8b2
When there are no labels for a language not defaulting to en.
...
I will create a Jira if needed (I think Bruno already created one)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685140 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 13:09:13 +00:00
Jacques Le Roux
14f613278e
Better French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685135 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:51:45 +00:00
Jacques Le Roux
6a3fb2bb4c
Example of Main category localisation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685130 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:28:28 +00:00
Jacopo Cappellato
9238449d56
Added list of Content records that are associated to the data resource id in the edit screen, so that it is possible to quickly browse from and to Content/DataResource.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685113 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 10:48:59 +00:00
Jacques Le Roux
09da2090c3
Fix an error reported in user ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685095 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:56:17 +00:00
Jacques Le Roux
dd838e22a6
Better descriptions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685087 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:46:23 +00:00
Ashish Vijaywargiya
78634dc475
Reason field is handled in UpdateWorkEffort service.
...
Added it in service definition as the optional field.
Reason field value will go into WorkEffortStatus table.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685085 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:41:16 +00:00
Jacques Le Roux
9df2242f77
More information for the related view
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685084 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:40:19 +00:00
Jacques Le Roux
5584b0c222
From David's comments on dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685082 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:34:15 +00:00
Hans Bakker
562796d792
change status of customer request when copied into a projectTask
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685078 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:06:53 +00:00