Commit Graph
171 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
Adrian Crum e5a06480cd Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +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
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
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
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Hans Bakker 1bfc5a0c90 create a selective contact list from your existing parties, a contibution by chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1035188 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 08:54:20 +00:00
Bruno Busco 9e6dd1f56c Replaced PortalPageScreen with the new include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:44:14 +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
Vikas Mayur a2added370 Replaced
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
with
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930248 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:45:14 +00:00
Bruno Busco eecf528cd6 Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
Bruno Busco d85edb6bde Removed settings of unused fields "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle"
Removed redundant <container style="left"> in leftbar screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 12:27:53 +00:00
Bruno Busco 1c0b238799 [OFBIZ-3274] - Using decorator sections to control the left-bar
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:22:45 +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 4f1eda0b7a changed proposed by pierre smits, left however the sequence party/related oarties/contact in the left column because also this way in party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 08:13:54 +00:00
Bruno Busco ec1d4bb0f2 SFA application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883786 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 17:01:52 +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
Jacques Le Roux 79c7a4fe25 Remove a bunch of <label>&lt;br/&gt;</label> which are not correctly rendered in screens.
This follow https://issues.apache.org/jira/browse/OFBIZ-3143

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832366 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:52:29 +00:00
Jacques Le Roux 816960bcd4 A patch from Erwan de FERRIERES "<br> is displayed in NewLeadFromVCard and is not necessary" (https://issues.apache.org/jira/browse/OFBIZ-3143) - OFBIZ-3143
a label just with <br/> was wrongly included in the NewLeadFromVCard screen
+ Better French label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832361 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:30:00 +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 37e49c5611 Fixed some screenlets rendering in SFA application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829500 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 06:20:29 +00:00
Bruno Busco abe8746f11 Fixed one more screenlet rendering in SFA application. Thank you Jacques for reporting this in ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829499 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 06:12:53 +00:00
Bruno Busco 674e88ca66 Fixed two screenlets rendering in SFA application. Thank you Jacques for reporting this in ML.
BTW I think that a better use of decorators is needed in SFA.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829498 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 06:07:52 +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
Hans Bakker 50ff4f98e9 reverted unwanted change in r820578 and fix display error in opportunity screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828284 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 02:58:41 +00:00
Jacques Le Roux c499d4ec38 Better i18n and l10n (please don't split sentences)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@827001 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 08:49:43 +00:00
Bruno Busco c2f42ae10e Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826472 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:37:00 +00:00
Jacques Le Roux 4eaff226b4 Forgot to commit blue light theme and commons screens in r823888
+ a better French translation
+ Follow the same path and fix Bizness Time : right and left were reversed
All sounds good now : I will backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823892 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 17:19:25 +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