Commit Graph
76 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 682d5e14c8 Applied all the patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks so much Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646916 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 04:31:20 +00:00
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Jacques Le Roux b591e84b2a A slightly modified patch from Gil Portenseigne for "Missing PartyCountryCode uiLabel" https://issues.apache.org/jira/browse/OFBIZ-5138
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.

jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447664 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 10:55:10 +00:00
Jacopo Cappellato c6ef77ac59 Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Adam Heath 463cedadd0 DEPRECATION: applications/marketing: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343514 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:18:12 +00:00
Adam Heath 51413d477a DEPRECATION: applications/marketing: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343484 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:12:36 +00:00
Adam Heath 2d512fd498 FORMATTING: Add final trailing newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343473 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:10:28 +00:00
Jacques Le Roux 6dec5661a3 Replaces ProductCountry and mostly PartyCountry by CommonCountry and merges all labels in CommonCountry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326270 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:24:45 +00:00
Hans Bakker 9fa06ff678 on the opportunity find list change the edit button in a close button and set the close dat when not supplied, edit is available with clicking on the opportunity name/number
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1196444 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 03:45:57 +00:00
Hans Bakker ca49c2fbc3 show communications of the party of the opportunity the same organization as the opportunity itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172990 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 06:25:58 +00:00
Hans Bakker 0a59303a34 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 394a7eac26 Use request-redirect after quick creating a contact
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978975 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 04:04:55 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux 679d1b1717 A part of a patch from Blas Rodriguez Somoza " Internal error when rendering SFA -> Merge contacts and SFA->Merge Lead (Ofbiz Demo)" (https://issues.apache.org/jira/browse/OFBIZ-3642) - OFBIZ-3642
xhtml validation for

MergeContacts.ftl
Lines 38,45,51 : attribute width not allowed in tr
Lines 40,41 : invalid b close without open
Lines 43,56,97 : invalid br directly inside table
Line 60 : tr close needed

MergeLeads.ftl
Lines 42,49,55 : attribute width not allowed in tr
Lines 44,45 : invalid b close without open
Lines 47,60,101 : invalid br directly inside table
Line 64 : tr close needed


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941446 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 19:43:16 +00:00
Jacques Le Roux 3d9d5a029d Revert 941431 to allow easy back porting of useful parts (bugs fixes) by splitting the commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941439 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 19:30:52 +00:00
Jacques Le Roux b7ee388801 A patch from Blas Rodriguez Somoza " Internal error when rendering SFA -> Merge contacts and SFA->Merge Lead (Ofbiz Demo)" (https://issues.apache.org/jira/browse/OFBIZ-3642) - OFBIZ-3642
When rendering "Merge contacts" and "Merge Lead" there are an internal error and the page don't finish rendering.

CONTACTS
log error:
bsh.TokenMgrError: Lexical error at line 1, column 78. Encountered: <EOF> after : "\"${contact.partyId;"
at bsh.ParserTokenManager.getNextToken(Unknown Source)

The problem comes from
/marketing/widget/sfa/forms/ContactForms.xml#MergeContacts
fields: partyIdTo and partyIdFrom

LEADS
log error:
bsh.TokenMgrError: Lexical error at line 1, column 75. Encountered: <EOF> after : "\"${lead.partyId;"
at bsh.ParserTokenManager.getNextToken(Unknown Source)

the problem comes from
/marketing/widget/sfa/forms/LeadForms.xml#MergeLeads
fields: partyIdTo and partyIdFrom


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941431 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 19:13:42 +00:00
Bruno Busco 8b376fce8f A patch from Blas Rodriguez Somoza
OFBIZ-3606 - XHTML validation errors (marketing)
XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931680 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:47:17 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Hans Bakker 398139f70d add a portal page as the first page in sfa containing calendar and email, but can be changed as required via preferences. add the first screens for events which will appear on the calendar. next step will be to be able to connect events/tasks to opportunities, show them in the party pprofile etc...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:04:41 +00:00
Hans Bakker 861eb020ab 1. combine opportunity's id and name to single field.
2. add 'headerItem' as communicationevent list item link's parameter for height light menu bar
3. fix 'assign to me' buttom shifts to the left.
4. add related company button and form for create new related company in lead and contact.
5. add email buttons in sfa's communication event
6. add lookup screen and form for account lead.
7. fix telecomNumber display format. look ListWorkEffortContactMechs as example
8. rename button 'assign existing account lead' in leads to 'add related company
9. remove assigning existing account in contact
10. on all screens add a 'find' button to go back to the find screen
11. When click on comvert lead, show the message: 'Please first add related company' when company is empty


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834010 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 10:37:52 +00:00
Hans Bakker 68e0b97b45 1. ignore parties which have the party's status = disabled, change FindServices.createCondition method
2. add 'email address', 'telephone number', 'city', 'country', 'company' field to list.
3. Accounts and Leads, the opportunity box have a link to the actual opportunity in sfa
4. viewing a communication event in SFA should have a reply/replyall/new email button which links to an new email request in 'mycommunciations' in party
5. remove party's status field from list (always active)
6. Account Lookup screen  replaced ftl by forms.
7. change name of party's statusId field in PartyRelationshipAndContactMechDetail view called 'partyStatusId' because It be orverrided by relationship's statusId.
8. delete unuse ftl file,screens, forms, request and view map.
9. combined partyname and id in one field
10. changed the performfind service with a notequal operation that a null value is also not selected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832694 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 10:10:14 +00:00
Hans Bakker 7248f6db66 Jira issue: https://issues.apache.org/jira/browse/OFBIZ-3128
1. New SFA Account/contact/lead find/list screens replacing ftl/partysearch with form/performfind.
2. SFA now compatible with the party manager with the 'all' option still have the previous 'my' option
3. added new widget property: 'text find' to set the default here and not in the xsl
4. added 'container' as a field to the form in order to insert forms dynamically with an ajax request
5. fix bug for using radio field.
6. Implemented comments on this jira issue including using the find decorator 

Contribution by Chattree, an employee of Antwebsystems Co.Ltd.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 03:59:01 +00:00
Jacques Le Roux 4adf426ef5 Fix "Create a Vcard from a contact in SFA" (https://issues.apache.org/jira/browse/OFBIZ-3059) - OFBIZ-3059
2 issues : 
* URL was not secured in FTL
* StateProvinceGeo is not mandatory (maybe there are others, too late too check..)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829460 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 22:40:22 +00:00
Hans Bakker dbd33955ed create a sales opportunity from a incoming email and be able to list related communication events on a sales opportunity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820578 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 09:00:19 +00:00
Hans Bakker fa4e7367bb added the possibility of assigning an existing account or lead to the logged user so it will show up on the screen, reused the contact/account profile realtionship screens from party, added placeholders for help screens in the sfa application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:28:24 +00:00
Vikas Mayur baa09b8a93 Adding missing license, reported by Jacques on dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807175 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:17:31 +00:00
Vikas Mayur 8ab6291b14 Set up demo data for managing sales activities by lead managers of an organization. Now lead owners/managers can be grouped into a team and members of this team can work
on leads own by other members.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789702 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 13:11:18 +00:00
Ashish Vijaywargiya 6dadcce9d6 Applied patch from jira issue OFBIZ-2622 (Paginations in SFA Screens(Account, Contacts and Leads))
Thanks Chirag for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785703 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 16:21:29 +00:00
Anil Patel 195e0a4efd Added lookups for Leads and accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783989 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 05:54:34 +00:00
Anil Patel 0ddc552442 Now lead and account search use partyRelationShipId with logged in user. Find Lead will show all leads that logged in user is OWNER.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783975 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 04:03:02 +00:00
Anil Patel 2656823493 Now LeadSource is saved and shown on profile page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 02:21:26 +00:00
Anil Patel 8555fc06e3 moved Opportunity services to Order component where entity definitions are. Added eca to add Account Party when partyId is entered in create opportunity form.
Updated names of artifacts to match entity they deal with.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:34:04 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Ashish Vijaywargiya 451fb1511b I have changed the request name.
As it is not good practice to keep two request same and change the case only (For ex: we have CreateLead & createLead).
I think it creates ambiguity.

The best practice(as far as I learned) is to use "New" prefix for all the request if you are using the form only to create a record.
Although if you are using the same form for create & update then you should add "Edit" prefix before each request.

SFA will be bit large very soon so its safe to remove such issues in early stage.
Here is the code snippet :

    <request-map uri="CreateLead">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="CreateLead"/>
    </request-map>
    <request-map uri="createLead">
        <security https="true" auth="true"/>
        <event type="service" invoke="createLead"/>
        <response name="success" type="request" value="viewprofile"/>
        <response name="error" type="view" value="CreateLead"/>
    </request-map>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767904 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 12:31:06 +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
Hans Bakker f3c4d6532b return from contact gave error, fixed by using profile request from the party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762251 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 08:32:13 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Marco Risaliti ff720d540e A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:08:30 +00:00
Bruno Busco 87958df45c Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Marco Risaliti e39f705523 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744265 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 22:22:34 +00:00
Marco Risaliti 8778051554 Various cleanup on application components (Part of issue OFBIZ-1982)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@702264 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 21:07:11 +00:00
Marco Risaliti 1ba59792fa Some cleanup on marketing component (Part of issue OFBIZ-1982)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701764 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 09:27:11 +00:00
Scott Gray 50f9be81bc A few sfa fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689214 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:40:38 +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
Adrian Crum cd3a137731 Removed deprecated CSS style sepBar, removed unnecessary align="left" HTML element attributes.
I did a global search and replace for the align="left" aatribute - I didn't check each replacement because there were hundreds of them. This shouldn't break any layout. If you spot something wrong, post a message on the dev mailing list and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684548 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 16:28:14 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Marco Risaliti 4be4701e41 Converted some marketing bsh scripts to groovy (Part of issue OFBIZ-1801)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667653 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 21:09:53 +00:00
Vikas Mayur 65f2cb817a Patch for SalesForecast screens, SalesForecastDetail screens, crud services - part of Jira Issue OFBIZ-1645 (https://issues.apache.org/jira/browse/OFBIZ-1645)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662037 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 15:29:36 +00:00