Commit Graph
97 Commits
Author SHA1 Message Date
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Jacques Le Roux d7e7028b2f Fixes a trivial bug introduced by Nicolas at r1649965 for OFBIZ-5905
Reported by Eduardo Arellano at https://issues.apache.org/jira/browse/OFBIZ-6049 "Error on Convert Lead"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656198 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 14:35:32 +00:00
Nicolas Malin f2370bffeb * update the service createPartyRelationshipAndRole with two new service ensurePartyRoleFrom and ensurePartyRoleTo to have coherence between each service in this group (related to JIRA OFBIZ-5905) and correct call service from sfa's form.
* clean sfa's from to convert bsh to groovy call and clean unnecessary value declaration
 * complete unit test to controle new service ensurePartyRoleFrom and ensurePartyRoleTo

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649965 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 22:55: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
Jacques Le Roux 054e80091c A completing patch from Tom Burns "Add Support for Dependent Country State Drop Downs to SFA New Postal Address " https://issues.apache.org/jira/browse/OFBIZ-OFBIZ-4801
Duplicate line for stateProvinceGeoId in AccountForms.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1329332 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 16:57:40 +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
Jacques Le Roux 8941baebee A patch from Tom Burns for "Add Support for Dependent Country State Drop Downs to SFA New Postal Address " https://issues.apache.org/jira/browse/OFBIZ-4801
Description

In SFA "Create New Account" does not implement dependent drop downs for Country/State.
This is not consistent whith the behavior in the Account update form which uses Country/State dependent drop downs.

To Reproduce:
In SFA select Accounts
Select "Create New Account"

Expect: "State" values to be limited to values valid for the selected country.
Actual: "State" values include all values in stateProvinceGeoId regardless of the selected Country.

After Improvement:
State values will be filtered based on the value selected in "Country Geo Id"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325136 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 06:46:34 +00:00
Jacques Le Roux 279fb0debf A patch from Tom Burns for "SFA Postal Address Broken" https://issues.apache.org/jira/browse/OFBIZ-4786
SFA does not store countryGeoId or stateProvinceGeoId in PostalAddress entity when creating a new account causing postal address display to break in SFA and Party Manager profile screens.

Demo data for "sfa100" does not have values for countryGeoId or stateProvinceGeoId

Values countryGeoId or stateProvinceGeoId are needed to display party profile.

To reproduce:
1. In Party Manager search for Party Id "sfa100"
Open "sfa100" from search results
See error message under "General Correspondence Address"

2. Similar in SFA Account Lookup
3. A New Account created in SFA will produce the same error.

Adding address to an existing account works. For example the demo accounts created by other components.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310731 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 11:01:49 +00:00
Hans Bakker edd687ef5d be able to find opportunities by lead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1209350 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 03:24:30 +00:00
Hans Bakker 85946b7864 In the sfa opportunity detail screen show all partygroups in the account selection and all persons in the lead field also allow ajax drop down
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1209341 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 02:56:42 +00:00
Hans Bakker c59e74d5ee by default only show open opertunities in the find list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1207093 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 11:51:19 +00:00
Hans Bakker 7c7227d2f2 Added field nextActionDate to Sales Opportunity, moved all opportunity and related (view) entities from the order to the marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1206676 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 07:33:35 +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
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux c00b851ddb 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@941440 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 19:32:24 +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
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Erwan de Ferrieres 5d2479982a Some refactoring, using FormFieldTitles when possible
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933318 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 16:44:14 +00:00
Erwan de Ferrieres 041ab71e8e A patch from Blas Rodriguez Somoza: XHTML validation errors round 2 (marketing) visible empty tables in SFA (OFBIZ-3686)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933267 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 15:04:49 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +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 96d54615ca removed default-option='contains' because now set from widget.properties which is the current default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834379 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:12:45 +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
Bruno Busco 044bd5a92c Part of OFBIZ-3067 - Menus and form widget files location
Marketing component
Moved forms and menus from webapp to widget folder
Removed empty folders



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829365 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 13:40:11 +00:00
Jacques Le Roux 4decf86c9a Oops, not removed a part in r823877
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823883 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 16:31:48 +00:00
Jacques Le Roux efd16d6c73 Use best practices : we prefer to use complete sentences or expression than words when translating...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823877 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 16:17:42 +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 cd112d9227 added sorting and rearranged opportunity screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815702 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:05:44 +00:00
Hans Bakker edfe6ace53 use the same datasource type for lead and opportunity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815688 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 09:31:30 +00:00
Hans Bakker 02d42e1b29 address is optional on create a lead form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815619 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 06:11:09 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41: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
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker fe146772e2 take the default currency as set in the commonext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795474 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 03:54:22 +00:00
Hans Bakker 7e815c48c7 sort currency by country and not by abbreviation in form dropdowns
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794619 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 10:40:07 +00:00
Anil Patel de59c91ab9 Updated convert lead service to expire relationships. Converting a lead now requires contact person id and partyGroupId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@787920 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 06:14:43 +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 d690c65f61 Show lead on view opportunity screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783991 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 06:00:34 +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
Ashish Vijaywargiya 9c6dd8c9c1 Showing FirstName, LastName or GroupName along with PartyId instead of showing only PartyId.
This will make CSR life little easy IMO ;)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783224 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 06:38:02 +00:00
Anil Patel 6eb0c354a4 Adding account field to opportunity summary screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783216 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 06:02:49 +00:00
Anil Patel eea245d278 Now descriptions fields are also link. OnClick opens party profile.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781246 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 03:23:36 +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
Ashish Vijaywargiya 288101fb65 Showing LeadParty and Account party on the EditSalesOpportunity screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778588 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 07:16:16 +00:00