Commit Graph
1743 Commits
Author SHA1 Message Date
Deepak Dixit 23d692dd3f (OFBIZ-6563) Fixed lookup party search form, used correct name for groupName field. Fix the focus-field-name from partyName to partyId as partyName is not a valid field on lookup party form. Used correct jQuery.each method in for paginationMenus. Now lookup party is working fine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697674 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 13:43:12 +00:00
Deepak Dixit 509727e6a1 Applied patch from jira issue - OFBIZ-6566 -SecurityGroup doesn't get removed from a Party.
Thanks Pierre Smits for reporting the issue and thanks  Neeraj Kumawat for providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696234 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 10:53:20 +00:00
Shi Jinghai 4b8e259073 OFBIZ-6374 - PartyContentWrapper.getPartyContentAsText use wrong signature
Put Sebastian Leitner's patch on PartyContentWrapper.java into trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1690581 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 07:58:34 +00:00
Jacques Le Roux 7fb125b874 OFBIZ-6536 - The "Create new" link under partymgr has disappeared
This patch removes CreateNewParty intermediate screen. This screen used to just include a menu. This menu is now into findParty screen, the security has been moved from screen to menu.
The CreateNewParty screen is not used elsewhere so can disappear, so is findparty.ftl, replaced by form widgets



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687851 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 21:12:46 +00:00
Shi Jinghai 85bed69778 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
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
Nicolas Malin 7382855c7b Use as default on <entity-option> and <list-option> description attribute like <display-entity> element. Related issues OFBIZ-6489 and OFBIZ-6490. Thanks to Christian Carlow for this and Gil Portenseigne for the review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686673 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:28:12 +00:00
Nicolas Malin f9f1f01098 Migrate findParty.ftl to form widgets, related issue OFBIZ-6227. Added a new service performFindParty oriented only on search operation (do not contains screen information that managed by screen widget) and convert the FindParty form to works very similar of the older but with widget capacity. Thanks Gil Portenseigne for this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686667 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 19:43:49 +00:00
Jacques Le Roux ce2a5b3533 OFBIZ-6514 - All postalAddress simple-map-processors miss some fields
This could be seen as a moot point for some of them, but the main ones in party and product component should not miss these fields.

Here they are.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686071 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 16:41:43 +00:00
Jacques Le Roux 900ab6f291 OFBIZ-6513 - countyGeoId and geoPointId fields are missing in PartyAndPostalAddress entity view
Rather than adding both fields, I rather adds an allias-all. Then if ever we add new fields to PostalAddress they will not miss there.

Being only an addition, this does not need any data migration explanations


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686002 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 12:37:06 +00:00
Jacques Le Roux da0c36f015 Adds Postal Address templates for France
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684031 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:02:57 +00:00
Jacques Le Roux fd0c8a6c27 No functional changes, only syntax improvements
Replaces "?if_exists" occurences by ! 
Removes a test on "?has_content" when not needed (! is enough).
Removes "?if_exists" when useless (after ?has_content)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684030 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:00:27 +00:00
Jacques Le Roux 1c45038747 A slightly modified patch from Pierre Smits "Adding a Postal Address templates for the Netherlands" https://issues.apache.org/jira/browse/OFBIZ-6470
jleroux: I simply replaced "?if_exists" occurences by ! and removed a test on "?has_content" when not needed (! was enough). I will continue in the same spirit on files I committed recently (Forrest Rae's patch) and earlier



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684026 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 12:12:34 +00:00
Jacques Le Roux 8a0b8fbe21 A patch from Forrest Rae "Postal Address PDF Formatter Screen Problems" https://issues.apache.org/jira/browse/OFBIZ-6444
A couple updates are needed to the postalAddressPdfFormatter screen:
First, the screen template is set to use the HTML renderer which results in this error in the log:
    [java] 2015-06-03 13:44:53,400 |0.0.0.0-8009-exec-13 |ModelScreenWidget             |W| In platform-dependent could not find template for xsl-fo, using the one for html.

Second, the various PostalAddressXXXX.fo.ftl files do not escape XML properly, and addresses with an & in them end up causing a FreeMarker template error.

Test:  For number 1, just get a "Report" for a quote, and then look at your log file. For number 2, add an "General Correspondence" address to a party that contains an ampersand, like "5th & Oak Street", create a quote for that Party, and then get the "Report" for that quote.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683998 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 08:05:25 +00:00
Jacques Le Roux 51eed90c75 PartyClassificationType.description.SIC_CODE was missing in English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 13:42:18 +00:00
Jacques Le Roux 033d84eaf5 Fixes 2 duplicates labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682769 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 18:49:26 +00:00
Taher A. Alkhateeb 07cb144a6c Translate the framework to Arabic
Another part of the translation of OFBiz to Arabic 
project found in JIRA OFBIZ-6432.

The commit translates the following components (in varying degrees):
- Content
- Order
- Party
- WorkEffort
- more framework translations

refs https://issues.apache.org/jira/browse/OFBIZ-6432


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682725 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 12:13:45 +00:00
Michael Brohl e8272855ad Applied patch from jira issue OFBIZ-6305: German translations for various applications.
This adds translations (entity, error, UI) for the party component.

Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682466 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:44:48 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Jacques Le Roux bf07a94e42 Removes a now useless commentted out block
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679322 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 08:15:05 +00:00
Jacques Le Roux 98d5c597af Fixes "Some fields are missing in the person simple-map-processor" https://issues.apache.org/jira/browse/OFBIZ-6357
After some additions on the Person entity definition the person simple-map-processor has not been updated. I stumbled upon it while missing occupation. I though noticed some has been introduced in the validateCustomerInfo in ecommerce. This completes the person simple-map-processor, no fields are missing.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678882 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 07:45:08 +00:00
Jacques Le Roux 1711869690 Fixes "When used setDependentDropdownValuesJs.ftl precludes focus-field-name" https://issues.apache.org/jira/browse/OFBIZ-6346 with examples in FormWidgetExampleForms.xml and for NewCustomer screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678294 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:53:39 +00:00
Jacques Le Roux bdea0c167c Temporary reverts r1678291+1678292 to have only 1 commit easier for backporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678293 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:31:57 +00:00
Jacques Le Roux 4ea39c7cef Fixes "When used setDependentDropdownValuesJs.ftl precludes focus-field-name" https://issues.apache.org/jira/browse/OFBIZ-6346 with examples in FormWidgetExampleForms.xml and for NewCustomer screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678291 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:24:10 +00:00
Nicolas Malin 7d94967a68 Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Adrian Crum f315f0d5be Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Jacques Le Roux a7e97a9abd Patches from Taher Alkhateeb for "party id cannot be specified through GUI while creating a Party (Person or Party Group)" https://issues.apache.org/jira/browse/OFBIZ-3480 reported by Babu Sreekanth
1. While creating an organization, it is possible to specify a meaningful party id through ofbiz setup.
2. But, it is NOT possible to specify the party id through GUI while creating a Party (Person or Party Group). this means, all the parties created get a sequence id for party id.


If the user inputs a party ID to any of the party creation screens (person, party group, customer, employee or prospect) then that ID will be used, otherwise it will pull a party ID from the sequence bank






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666794 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 12:02:41 +00:00
Pranay Pandey df478974a1 [OFBIZ-6089] - Fixed error in locating service ensureNaPartyRoleTo by removing it and using ensurePartyRoleTo and ensurePartyRoleFrom services instead.
Thanks Deepak Dixit for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661334 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:12:31 +00:00
Jacques Le Roux 8c1ad843da A patch from Christian Carlow for "Trunk fails to compile with Java 1.8" https://issues.apache.org/jira/browse/OFBIZ-5835
Build errors occur for trunk due to missing build.xml fileset for party, workeffort, product, order, ebay, and pos apps when using Java 1.8

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660444 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 16:53:19 +00:00
Jacopo Cappellato 2b726298eb OFBIZ-6068: patch by Rohit Koushal that fixes a series of ClassCastException happening since rev. 1553890 when accessing some blog fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660053 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 08:59:35 +00:00
Jacques Le Roux 38e01206cd Fixes a typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658891 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 07:02:17 +00:00
Jacques Le Roux 0f284fb6af Slightly modified bunch of uilabels patches from Pierre Smits for Dutch translations (Manufacturing, Order, Party)
https://issues.apache.org/jira/browse/OFBIZ-6018
https://issues.apache.org/jira/browse/OFBIZ-6019
https://issues.apache.org/jira/browse/OFBIZ-6020

jleroux: I have fixed some trivial issues within these changes, 
Wrong change at <value xml:lang="fr">OFBiz: Gestion commerciale</value>
Removed all Dutch changes which were simply duplicating the English ones

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 07:40:50 +00:00
Jacques Le Roux 6a7b978678 A part of a patch from Bob Morley for "Storing supplier relationship sub-class & two related fixes" https://issues.apache.org/jira/browse/OFBIZ-3764
jleroux: this is only a part of the patch related to an improvement: Bob suggested:
<<It did not look right to have an empty dropdown for status – I created the standard "Created" status under the PARTY_REL_STATUS type so that we show the only applicable status. There does not appear to be any specific logic looking for party relationships with a blank status, so creating ones with this status should not cause any issues.>>
I added an expired status and a valid transition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651631 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 12:05:44 +00:00
Jacques Le Roux b8ca5543c9 Changes in all labels files: <value xml:lang="(.*)_(.*)"> to <value xml:lang="$1-$2">
Changes also listLocales.ftl to show dashes rather than underscores

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650880 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 09:59: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 91feff5f51 Updated the UI label files so they reference a schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649666 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:24:18 +00:00
Nicolas Malin ad65c5f333 add test on server ensurePartyRole, related to the issue OFBIZ-5853
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1648017 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 20:42:33 +00:00
Ashish Vijaywargiya 74e2175dd1 Applied patch from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647310 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 13:20:03 +00:00
Jacopo Cappellato 99b7f462f2 Refactoring of Visit/Visitor/ServerHit* (and related) entities in order to be able to maintain them in a database separate from the main transactional database:
1) removed foreign key relationship from/to this group of entities and the other entities of the OFBiz data model; the fields are still available but they are not enforced by a foreign key constraint
2) removed one view entitiy joining Visit with Party entities and refactored the code that was using it in order to provide the same behavior
3) added a new entity group ("org.ofbiz.stats") for the Visit/Visitor/ServerHit* (and related) entities; for now the group is not active so that the entities are still in the same database as before; however assigning them to a different database is now a matter of uncommenting the group file definition in framework/webapp/ofbiz-component.xml and provide the new datasource definition
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647271 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:19:33 +00:00
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Jacques Le Roux fc6eba04eb Reverts part of r1645950, thanks to Scott who spotted it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646546 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 21:48:44 +00:00
Ashish Vijaywargiya f8927d3d3e Applied patch from jira issue OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
We have removed the recent changes that we did for <property-to-field> in XML file because those changes was not actually needed.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646214 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:28:02 +00:00
Ashish Vijaywargiya f19b8bdfe7 Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 10:49:41 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya fa7cb8eb15 Applied recent patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646165 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 07:57:56 +00:00
Jacques Le Roux 768458ffc6 A patch from Leon for "correction to changeset r1626462 and r1626463 " https://issues.apache.org/jira/browse/OFBIZ-5869
Uses now timestamp to replace "null" value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1645950 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 13:45:54 +00:00
Ashish Vijaywargiya 9e044d163a Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Ashish Vijaywargiya a33a44d42e Applied patch from jira issue - OFBIZ-5901 - findParty screens show all party when the user uses some filters. Thanks youssef khaye for the contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643743 13f79535-47bb-0310-9956-ffa450edef68
2014-12-08 05:43:40 +00:00
Jacques Le Roux 243ed3437b A patch from Deepak for "Party Content Upload Ajax Is Broken" https://issues.apache.org/jira/browse/OFBIZ-5891, thanks to Adrian's report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643423 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 20:41:38 +00:00
Nicolas Malin 6c6f594b98 improve french label for PartyRoleTypeNotFoundForTheParty, thanks Jacques and Gil for their remarks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642647 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 08:42:00 +00:00