Commit Graph
113 Commits
Author SHA1 Message Date
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
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
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
Adrian Crum d81bf5b0c4 Bug fix: Limit internal organization list to parties that have the internal organization role.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622246 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 13:25:21 +00:00
Hans Bakker 8df9a52ca9 add a csv party import and export function to the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507200 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 07:00:28 +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 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
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 b6d7e26fe1 A patch from Carsten Schinzer for "Typo in new party-entitymodel" https://issues.apache.org/jira/browse/OFBIZ-5090
The entitymodel.xml for party contains a typo on agreement_facility_appl: it refers to faciliyId instead of facilityId.
This needs urgent fixing as otherwise any DB build done with the wrong definition will generate errors (as the reference is part of a constraint).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416366 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:34:29 +00:00
Adam Heath 12934702ec Add AgreementFacilityAppl entity and screens. There is no code that
deals with the data yet, however.  This is modeled after
AgreementProductAppl minus the price.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413810 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:09:17 +00:00
Jacques Le Roux 0cc786f9a3 Thanks to Roberto Benítez Monje's report: "Ofbiz uses a reserved word in a Party View definition" https://issues.apache.org/jira/browse/OFBIZ-5062
Inside the component Part, the view-entity 'PartyIdentificationAndParty' uses the reserved word of MAXDB "PI". Without change it the Party component doesn't work properly   

jleroux: I just changed form PI to PIN and PIM where relevant

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403370 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 15:33:39 +00:00
Adrian Crum 6eecbb9c20 Fixed the PartyAndTelecomNumber view entity that didn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231646 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 10:39:40 +00:00
Adam Heath 2343d4aee3 FIX: Correct several typos in various description fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144107 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 00:38:27 +00:00
Erwan de Ferrieres e9c98e2dda Forgot to update mimeTypeId field in CommunicationEvent at rev 1081848. Now corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082192 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 16:34:38 +00:00
Andrew Zeneski 7fa3382f21 fixed a few entities missing index names for foreign keys
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073943 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:55:16 +00:00
Hans Bakker 50cd9ce3ee make link from commevent to role optional so all commevents will be found even without a role
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 13:58:20 +00:00
Scott Gray e75b1d17b0 Fix bug reported by Pierre Smits in OFBIZ-3823, the PartyRoleAndContactMechDetail required at least one ContactMech before a Party would show up in the view. Changed to make the ContactMech stuff optional.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978996 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 07:34:49 +00:00
Hans Bakker 84294c5e48 corrected conflict in PartyRelationshipAndDetail on status Id introduced oin previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965711 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 01:51:59 +00:00
Hans Bakker 6ba2a55553 add statuisId field to view, be able to ignoe disabled parties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965225 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 13:17:02 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Erwan de Ferrieres 3ff5ceb39e Adding ressource name on PartyIdentificationType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925169 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 10:32:31 +00:00
Vikas Mayur 2ee3de963f Fixed PartyNameHistory entity title.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906421 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 09:48:52 +00:00
Hans Bakker b6a334c615 changed view entities so there are no warnings of duplicated fields at start-up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895583 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 09:03:38 +00:00
Bilgin Ismet Ibryam 9190cdeb89 Renamed AgreementWorkEffortAppl entity to AgreementWorkEffortApplic in order to change relation types so that assigning WorkEfforts to Agreements is possible w/o specifying an agreementItemSeqId.
Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:17:38 +00:00
Jacques Le Roux 5ccbd28e3b Revert r833113 & r833116 and remove title="Geo Point" as initially suggested by Erwan at https://issues.apache.org/jira/browse/OFBIZ-3153
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833264 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:44:33 +00:00
Jacques Le Roux 72331c96ad Change "Geo Point" title to "Point"
Change the type of relation for Postal Address to GeoPoint from one to many. Because of the elevation field in GeoPoint. A bit scifi for now, but maybe useful one day...)
Thanks to a discussion with Erwan "Relation title not needed on Facility entity" at https://issues.apache.org/jira/browse/OFBIZ-3153 - OFBIZ-3153

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833113 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 18:26:27 +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
Jacques Le Roux 9ddaeed98b Oops, forgot unique
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826216 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:06:34 +00:00
Jacques Le Roux 1f4e6d6c6f That's really what needs Person.CardId : long and unique
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826193 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 08:31:05 +00:00
Jacques Le Roux 1c6a186cf7 Finally I need now in POS a cardId with type id-ne since I logically can't use memberId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825681 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 22:16:26 +00:00
Hans Bakker 96cf78008e added the 'main-roletype' to the party list screen, also added a helpscreen to explain it...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814287 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 08:50:54 +00:00
Jacques Le Roux 89ddce4f54 A slightly modified patch (see comment in Jira) from Nicolas Malin "Add PartyIdentification feature" (https://issues.apache.org/jira/browse/OFBIZ-2848) - OFBIZ-2848
I also changed some "numéro" to n°, but I kepts numéros as n°s is bad (French language is really weird, full of exceptions ;o)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812532 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 14:38:30 +00:00
Adam Heath 636ef49a6f Add deceasedDate support on Person. Not added to ecommerce, as that
only deals with living customers, whereas Person might hold data for
people that have already passed away.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812312 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:39:13 +00:00
Jacques Le Roux fe0d7bca2c A patch from Erwan de FERRIERES " add entityLabels on the PartyContentType entity" (https://issues.apache.org/jira/browse/OFBIZ-2841) - OFBIZ-2841
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811841 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 17:21:54 +00:00
Hans Bakker 79e7db2def implemented OFBIZ-2536 to make a optional relation between comeventtype and contactmechtype and updated some comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780984 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:38:24 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
David E. Jones baba2459d3 Moved NoteData.noteParty field to an extend-entity in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757658 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 04:25:45 +00:00
Jacques Le Roux e3008bc483 Descriptions enhancements from the thread http://mail-archives.apache.org/mod_mbox/ofbiz-user/200903.mbox/%3C49BA7A4F.2000101@salmonllc.com%3E
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754657 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 11:38:29 +00:00
Marco Risaliti bb6169883c Removed default-resource-name from Content and PartyClassificationGroup entity definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748987 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 09:20:53 +00:00
Marco Risaliti b9601cfffb Some missing default-resource-name for entity labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748683 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 20:26:54 +00:00
Jacques Le Roux db6beccc53 Refactored in alphabetical order on David's advice. But I stopped since there would be much more to do. I'm ok to do it, but I was not sure it was OK in all cases (maybe in some case is better to keep related entities together even if they belong to the same package (in sort of sets inside the package) ?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@738396 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 07:56:05 +00:00
Jacques Le Roux 0500d6baef A 1st commit for "Add geolocation to data model" (https://issues.apache.org/jira/browse/OFBIZ-1923) OFBIZ-1923
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735404 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 09:09:32 +00:00
Hans Bakker a2c5b444ce OFBIZ-2097: show organizationPartyId in header(can be set in preferences), rewrote financial history to show currencies, invoice/p[aymentworker now can show in actual and organizationparty currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729396 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:26:14 +00:00
Hans Bakker 431937a120 first version of a party preferences screenlet on the party profile page. ----> load of seed data required
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725597 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 06:47:51 +00:00
Hans Bakker bf3ba6b30f convert from ftl to forms and show an extra field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@704774 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 03:59:02 +00:00