Commit Graph
240 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 4ef7b01b56 Fix a bug reported by Rong Nguyen "Tracking code report in Marketing doesn't work" https://issues.apache.org/jira/browse/OFBIZ-5556
I did not use Rong's proposed patch
The problem was simple and due to an error I made in r703816. 
I then replaced
-if (trackingCodeIdStr && !(trackingCodeIdStr.equals(""))) {
by
+if (trackingCodeIdSt) {
which was wrong
Then trying to fix an error reported somewhere (not mentioned) Hans went in a wrong direction with r761539+761541

So I reverted r761539+761541 and fixed the issue above in a clean way by setting the field in the calling screen. This way there are no possible issues with i10n and NPEs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576378 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 15:30:15 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +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 121c1f5f99 A patch from Nicolas Malin for "Send mail to a contact list, update screen for more user frendly" https://issues.apache.org/jira/browse/OFBIZ-5132
On marketing component when you will send a mail to a contactList, the screen is easy and effective but not really user-frendly. This screen is available on marketing/control/createContactListCommEvent

I improved :
 * force text/html by default on drop-down
 * set position 2 for content type
 * use advanced editor for content
 * labelise the communicationMethodType


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446875 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 11:49:38 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +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
Adrian Crum e99f864f55 A bunch of work in Marketing Campaign: fixed UI layout, removed redundant and unused services, fixed services that didn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1292343 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:26:39 +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
Hans Bakker 4102bee329 update websiteContactlist entity according Jacopo's comments, added services and screens to website and contactlist to maintain the data, a contribution of 'M', an employee of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 05:57:25 +00:00
Hans Bakker f5c4d6bb4c did not show active contactlist members only on start: fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1151051 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 10:08:29 +00:00
Jacques Le Roux b06b847f00 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
An improved patch for target-parameter functionality, now paramI indexing start with I=0 instead of 1.

JLR: I have updated the XSD to tell it must begin at 0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085671 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 09:17:17 +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
Ashish Vijaywargiya c74e3aeb45 Bug fix.
Applied patch from jira issue OFBIZ-3992 - Bug in contact mech lookup on communcation event screen.
Contact Mech lookup on https://localhost:8443/partymgr/control/EditCommunicationEvent?communicationEventId=9000 is not working.
Steps:-

Go to page https://localhost:8443/partymgr/control/EditCommunicationEvent?communicationEventId=9000
Set Party From = DemoCustomer.
Click lookup icon on From Contact Mech field.

Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1027962 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 13:51:11 +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
Jacques Le Roux 68ef437347 New simple Geo Management in Webtools. It still misses a Geo Assoc Find Screen.
For the moment in trunk the Link Geos screen use a standard multiple dropdown. It's not easy to use (see why at http://www.ryancramer.com/journal/entries/select_multiple). In the jQuery branch I have used the asmselect plugin, much easier for end users. Actually I'm not totally satisfied by it either. It's a beta and seems to be freezed. Also the way the field is shown is not flexible enough. It's a fixed size area and I tried to work around. I could be done better though. I will have a look. Sascha thought we could use jQuery.ui.sortable but I don't think it exactly corresponds to the feature needed.

I have also changed some labels names and removed/grouped some requests (only in common now)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996658 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:35:40 +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
Bilgin Ismet Ibryam 524e0f300e Added autocompleter to LookupContactList and LookupPreferredContactMech screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935657 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:34:09 +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 c1a6159f64 Removed unnecessary occurrences of <or> tag enclosure in a singleton condition expression. in all of the lookup screens. Also removed few empty new lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930252 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 12:05:17 +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 02974af2e3 Introduced the FindScreenDecorator in the Find Contact Lists Parties screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925625 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:10:47 +00:00
Bruno Busco f051693f1a Added proper styles to button bars.
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:08:03 +00:00
Bruno Busco 7387072b86 Removed a wrong "/" char from menu links
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925622 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:05:27 +00:00
Bruno Busco c11c5a4d20 Added proper styles to button bars in Contact list screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925483 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:22:26 +00:00
Bruno Busco edda9c7c5e Removed a wrong "/" char from menu links
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925482 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:21:20 +00:00
Bruno Busco f0ca4dc3a1 Introduced the FindScreenDecorator in the Find Contact Lists screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:10:23 +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