Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 5928ebd2e0 Related to https://issues.apache.org/jira/browse/OFBIZ-4332 "Pagination in find order screen doesn't work (With patch)" but not the real issue which is only for R11.04 and R10.04
This screen did not take into account the widget.form.defaultViewSize properties, here is the needed change

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487130 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 21:31:12 +00:00
Hans Bakker 48d62a2bfb remove partystatus from the PartyRoleAndPartyDetail view, causes demo data to not show up and multiple status records will show duplicates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1486016 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 11:31:06 +00:00
Jacques Le Roux 65c327a5f9 A sligthly modified patch from Jonatan Soto for "ConcurrentModificationException when cancelling an order" https://issues.apache.org/jira/browse/OFBIZ-5194
After the order gets cancelled, there is a loop in OrderView.groovy@122 that removes promotional order line items retrieved from the OrderReadHelper class when cancelled. This is what makes the ConcurrentModificationException to be thrown.

For further details, check out the following thread at the dev mailing list: http://ofbiz.markmail.org/message/vmm65cmbf5hkmqm6?page=2

jleroux: I simply put a comment and removed the useless temporary orderItemListFiltered variable

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1485432 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 21:29:02 +00:00
Jacopo Cappellato 352bed051d Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482689 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 06:27:41 +00:00
Hans Bakker 893b2db5f9 spelling error in accounting request corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482665 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 03:08:30 +00:00
Adam Heath ff32c8ebda FEATURE: In makeItem(), move the production validation code to a separate helper method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482505 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 18:09:08 +00:00
Adam Heath de328403ab FEATURE: In makeItem(), move the product lookup code into it's own helper method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482504 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 18:09:02 +00:00
Adam Heath 43e898976b FORMATTING: Add some final newlines in a few files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482066 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:05:56 +00:00
Adam Heath 64b3c95c45 FIX: Start using ${externalKeyParam} everywhere consistently. I only
did what was included by the main ordermgr view order screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482065 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:05:47 +00:00
Adrian Crum e12fd283bb Removed duplicate relationship.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481519 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 10:58:32 +00:00
Adrian Crum df4f66cf6b Reverted revision 1480891 and fixed the problem it tried to fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481367 13f79535-47bb-0310-9956-ffa450edef68
2013-05-11 16:12:05 +00:00
Jacques Le Roux 38504d481c revert r1481274
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481296 13f79535-47bb-0310-9956-ffa450edef68
2013-05-11 11:32:19 +00:00
Jacques Le Roux 6db2cef559 Fix "Name in List Related Contacts form doesn't get updated" reported by Karl Beecher at https://issues.apache.org/jira/browse/OFBIZ-5192
If a person is set as a related contact for a party, updates to their name are not immediately displayed by the ListRelatedContacts form.

To reproduce (with OFBiz demo data):
* In the Party Manager, go to the profile page of DemoSupplier (they have a related contact called 'Peter Manager'
* Follow the link to Peter Manager's profile page.
* Click Update and change the name (e.g. to 'Peter Manageress')
* Save
* Return to DemoSupplier's profile page. Observe that the name of the related contact is still 'Peter Manager'. Refreshing doesn't change that.
* Restart OFBiz
* Refreshing the profile page now displays the updated name.

jleroux: to test in trunk I used company and scrum employee

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481274 13f79535-47bb-0310-9956-ffa450edef68
2013-05-11 08:52:25 +00:00
Hans Bakker 8e3733c1df simplify and fix error: list always empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1480891 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 06:15:28 +00:00
Ashish Vijaywargiya 2d3cb10275 Applied bug fix from - OFBIZ-5085 - Search result for "Find Communications" does not work. Refer following section from OFBIZ-5085.
=========================
And secondly I think that in ListCommEvents form of CommunicationEventForms.xml partyId should be passed in place of the partyIdFrom. As in ViewCommunicationEvent screen, value of the partyIdFrom is set via parameters.partyId.
=========================

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1478499 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 19:31:33 +00:00
Christian Geisert eb60f61759 de UI Labels in Accounting (PayPal error messages), see OFBIZ-5181
Submitted by Carsten Schinzer


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1470483 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 12:49:27 +00:00
Jacques Le Roux ba91f07fab Fixes "Remove the relationship to PartyStatus from PartyRoleAndPartyDetail" https://issues.apache.org/jira/browse/OFBIZ-5141
Quoting Adrian in code (comment)

<!-- FIXME: This relationship does not make sense. There is no one-to-one relationship from PARTY to PARTY STATUS, so this relation will cause duplicate values for parties with multiple statuses. -->

I did not provide any paths for data migration since this is a view. Maybe some code will need to be changed in custom applications though. Should we provide a warning at https://cwiki.apache.org/confluence/display/OFBTECH/Revisions+Requiring+Data+Migration+%28upgrade+ofbiz%29 ?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1470139 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 09:57:07 +00:00
Jacques Le Roux 0fe1f8f088 Removes a duplicated line, thanks to aditya who mentionned it in https://issues.apache.org/jira/browse/OFBIZ-5157
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1469710 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 06:26:08 +00:00
Paul Foxworthy 570e4c8c4a Revert r1449615, which was only a partial solution. See https://issues.apache.org/jira/browse/OFBIZ-5163 for a discussion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1468865 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 12:26:51 +00:00
Christian Geisert fa0080cd08 Improved/corrected German translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1468127 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 15:45:32 +00:00
Christian Geisert 6d35eacefa Fixed wrong language label, see OFBIZ-5177
Thnaks to Atul Vani for reporting


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1467901 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 08:45:13 +00:00
Jacques Le Roux 2ba61c9514 Replace a <value xml:lang="FR">, noted by Atul on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1466837 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 11:21:17 +00:00
Jacques Le Roux 524aee52f9 A slightly modified patch from Sumit Pandit for "Enforce user to reset his password in a pre-defined regular interval of time." https://issues.apache.org/jira/browse/OFBIZ-5009
Reference requirement for the feature: http://markmail.org/message/sihxekwk6655t5gh#query:+page:1+mid:bcw2vva2hjxhsodq+state:results

For a user account in system, we can set password age for an additional security.
Proposed system will start suggesting to user to reset his password few days before password expiration. Then Once password expired, system will enforce him to reset his password before processing further.
Following will be control points and would be part of system configuration- 
* *Control Points -*
** Admin can enable/disable the reset password functionality.
*** -It will control by a flag in propriety file where admin can enable/disable it by setting true/false.
** Number of days in which password will expired.
*** - It will defined in propriety file so that admin can control it.
** Number of days before when password expiration alert display at user's screen.
*** - It will defined in propriety file so that admin can control it.

* *How should it processed -*
** After user logged-in, display password expiration notification message to user if his password will expire in comming days.
** After user logged-in, display change password screen, when password is expired. i.e. The difference in days since last time password updated is exceed to number of days specified in system policies. Enforce user to reset his password.

* *What will be the out-put -*
** Password is about to expire : : alert message after login.
** Password is expired : Password-Expired-Alert : alert message with reset password screen.

Following is implementation plan -

    security.properties : Provide configuration for following control points :
        Enabling / Disabling of the functionality.
        Maximum number of days within user has to change the password.
        Number of days back to password expire date, when user start getting password expiration alerts.

    Data model
        Entity name : UserLoginPasswordHistory : Existing entity.

    Business logic
        Create UserLoginPasswordHistory record when a new user is created (if configured).
        Expire and then Create UserLoginPasswordHistory record when user update existing password.
        Everytime, when user login check for password expiration. If password expired then display change password screen to user. And if password not yet expired but it is close to expire display alert message to user about its expiration.

jleroux: I just changed 
from 
if (reqToChangePwdInDays != 0) {
tp
if (reqToChangePwdInDays > 0) {

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 04:54:14 +00:00
Adrian Crum 5095484077 Converted Mini-language bsh: scripts to groovy: scripts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1464779 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 22:01:07 +00:00
Jacopo Cappellato 400d48ab4c OFBIZ-5167 Applied patch from Leon to fix a wrong array index that was causing the proliferation of subfolders in the runtime/uploads directory.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463989 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 12:59:10 +00:00
Jacopo Cappellato 7cc03f767b Removed unused lib folder from the marketing component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463886 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:01:09 +00:00
Jacques Le Roux 90b27b543a No functional change, just a small indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 09:22:34 +00:00
Jacopo Cappellato 028e08bc3b Reorganized test data and unit tests to remove wrong dependencies from accounting to assetmaint and from order to scrum; all tests are now successful even when all specialpurpose components (*except* ecommerce) are disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462421 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:07:59 +00:00
Jacopo Cappellato 47cc76394c OFBIZ-4908 Added missing target attribute from form definition that was preventing the update to work: thanks to Harsha Chadhar for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461551 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 12:48:45 +00:00
Paul Foxworthy efd5104e1d Fix spelling of successful and some other words
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460654 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:33:09 +00:00
Paul Foxworthy 95a78a7c6a Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460653 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:27:53 +00:00
Paul Foxworthy 0079816733 Undid r1460637, should be two separate commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460647 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:14:10 +00:00
Paul Foxworthy 4882b2b62d Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460637 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 12:46:16 +00:00
Jacques Le Roux 28b891cb20 A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId.  After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00
Vikas Mayur b132e06101 OrderItemAttributes not correctly saved while creating an order due to a typo in a variable name, reported and patch provided by Mirko as part of OFBIZ-5158.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1459222 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 10:49:38 +00:00
Vikas Mayur db0922d7b2 Slightly different patch to fix the auto save cart functionality for anonymous user reported by Mirko on OFBIZ-5157.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1459220 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 10:38:28 +00:00
Paul Foxworthy 90d8cfb75d Exclude expired product category members from tax calc (OFBIZ-4940)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1456897 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 11:16:38 +00:00
Jacques Le Roux 0ccbd4df4f A patch from Shi Jinghai "Apply desiredUomId in ProductWorker.getProductWeight" https://issues.apache.org/jira/browse/OFBIZ-5147
In getProductWeight method of applications/product/src/org/ofbiz/product/product/ProductWorker.java, the desiredUomId is not applied when calling convertUom service. I replaced "WT_lb" with desiredUomId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1452382 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 16:42:33 +00:00
Paul Foxworthy 8c6a68202d Display states for default country in New Shipping Address for order https://issues.apache.org/jira/browse/OFBIZ-5125
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1451195 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 13:45:34 +00:00
Paul Foxworthy d65c92988b In geoAutoCompleter.js, the jQuery UI function name should be autocomplete,
not autcomplete


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1451183 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 12:49:42 +00:00
Hans Bakker 52326232ef currently tax is calculated before promotion, added am option in the productstore to be able to set the tax calculation after promotion. This in order to remain backward compatible. Also added a junit test for this. Contribution from Tom, employee from Antwebsystems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 08:25:07 +00:00
Adrian Crum 590f46f032 FIXME comment. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449430 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 00:29:25 +00:00
Jacques Le Roux 53c89e0757 Still not sure why Eclipse complained about
request.getSession().getServletContext()).getContextPath()

anyway
request.getContextPath()
is enough

see bottom of oracle.com/javaee/6/api/javax/servlet/ServletContext.html#method_detail

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449290 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 09:51:34 +00:00
Jacques Le Roux b530f6d96d I was pretty stupid to blindly follow mad advice from Eclipse. I really don't understand why it finds an error there, nevermind
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449286 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 09:07:05 +00:00
Jacques Le Roux 0d85c7eeab No functional changes, just formatting and adding a required cast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449282 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 08:47:28 +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 57bdc795b7 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for party, pos and product components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 07:56:32 +00:00
Jacques Le Roux cc9fa9624f A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for oagis and order components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447170 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:35:51 +00:00
Jacques Le Roux 675a2794a0 A patch from Chatree Srichart for "The createDataResourceRole service does not check if partyId exists" https://issues.apache.org/jira/browse/OFBIZ-5133
The createDataResourceRole service has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a DataResourceRole value.
The ensurePartyRole service also has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a PartyRole value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446876 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 11:54:50 +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