Commit Graph
21879 Commits
Author SHA1 Message Date
Adam Heath d86f36d72a Fix axiom/axis paths after recent updated(svn revision 1001810).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003717 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 00:04:26 +00:00
Adam Heath 3d385599f0 Fix display of telecomContactMechId TelecomNumber entity, when the
areaCode has not been given.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003712 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:50:54 +00:00
Adam Heath b30d2a55fa Add management of telecomContactMechId into CartShipInfo; it's been in
the database since the beginning of time, but nothing has ever been able
to set it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003711 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:50:49 +00:00
Jacques Le Roux bf3bf43d48 Improves performance of regexp, from an Adam's advice on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003655 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:16:32 +00:00
Jacques Le Roux 07f9cdda68 A patch from Amit Sharma "Missing states of Mexico country" (https://issues.apache.org/jira/browse/OFBIZ-3975) - OFBIZ-3975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003597 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 17:59:47 +00:00
Jacques Le Roux 8efd5d6b16 Excerpt from a BJ's patch at "Message: In field [headerString] less-than (<) and greater-than (>) symbols are not allowed.In field [messageId] less-than (<) and greater-than (>) symbols are not allowed." (https://issues.apache.org/jira/browse/OFBIZ-2544) - OFBIZ-2544
I kept only the replacing lines (there were conflicts)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003596 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 17:59:13 +00:00
Hans Bakker 6a35c9bb4d 1. add “Acctg Trans Entries PDF” menu item to “InvoiceSubTabBar”
2. add “Export with Invoice and Payment as PDF” into “FindAcctgTransEntries” screen
3. add these properties to AccountingUiLabels.xml
   - AccountingCostOfGoodsSold = Cost Of Good Sold
   - AccountingGrossMargin = Gross Margin
   - AccountingOperatingExpenses = Operating Expenses
   - AccountingDepreciation = Depreciation
   - AccountingIncomeFromOperations = Income From Operations
   - AccountingCurrentAssets = Current Assets
   - AccountingLongTermAssets = Long Term Assets
   - AccountingTotalAccumulatedDepreciation = Total Accumulated Depreciation
   - AccountingTotalAssets = Total Assets
   - AccountingCurrentLiabilities = Current Liabilities
   - AccountingTotalLiabilitiesAndEquities = Total Liabilities and Equities
   - AccountingExportWithInvoiceAndPaymentAsPdf = Export with Invoice and Payment as PDF
4. change balance sheet PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
5. change trial balance PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
6. change income statement PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
7. add new PDF report to show acctg trans entry of invoice (refer from “Acctg Trans Entries PDF” menu item)
8. add new PDF report to show acctg trans entry of payment (refer from “Acctg Trans Entries PDF” menu item)
9. add new PDF report to show search result of acctg trans entries (show only invoice ID and payment ID columns)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003469 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:40:38 +00:00
Hans Bakker 1b8fbc9223 1. In BalanceSheet.groovy file, change balance value of “Contra Asset Account Class” to “debit amount – credit amount”
2. In BalanceSheet.groovy file, add “Total Accumulated Depreciation” , “Total Assets” and “Equities” to footer

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:26:57 +00:00
Hans Bakker 1851322166 In “IncomeStatement.groovy” file, add new gl account class for “DEPRECIATION”
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003465 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:24:56 +00:00
Hans Bakker 167e101211 In 'TrialBalanceReport' form, add value of 'totalEndingBalance' field to totalPostedDebits – totalPostedCredits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003463 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:23:17 +00:00
Hans Bakker fc59af11a1 add the invoice 'referenceNumber' field to 'invoiceHeader' and 'EditInvoice' forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003460 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:20:30 +00:00
Hans Bakker 3a4caa0038 add role set for 'th' locale into 'Rule Base Number Format Rule Sets'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003459 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 09:56:20 +00:00
Hans Bakker 615fccc55a Ebay Store updates:
1. Change Active list screen to be the Open List screen: Open screen shows the items that which have the active status in Ebay.
2. Merge the Sold- and the Unsold screen to be the Closed List screen: The Closed List screen shows the items that are sold and the items which are out of date.  
3. Create the services to get transactions and orders from eBay and show it in the Transaction screen and Order screen.
4. Create the services to import the transactions and orders from eBay to OFBiz.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003451 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 09:37:14 +00:00
Jacques Le Roux 4550ced162 Fixes 2 issues in previous commit (r1003434) spotted by Scott (index and XHTML compatible). Related to OFBIZ-3950
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003450 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 09:36:21 +00:00
Jacques Le Roux 66165451a1 Fixes "Categories removing in Product Quick Admin" (https://issues.apache.org/jira/browse/OFBIZ-3950) - OFBIZ-3950
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003434 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 08:42:15 +00:00
Jacques Le Roux 88f8238653 A patch from Sascha Rodekamp "The Job Sandbox should never be cached" (https://issues.apache.org/jira/browse/OFBIZ-3968) - OFBIZ-3968
Sascha: We noticed that OFBiz was sending cache clears over JMS every time the job sandbox is changed. That's not a problem with one OFBiz Instance but with 20, when every instance is sending JMS messages to each other ... you can imagine...

Scott: I'd agree with this, there is really no good reason to cache JobSandbox values even though I don't believe any code does this at the moment. On a side note I ran into some problems with the Job Poller when it's under a heavy load recently and as soon as I get a chance I'll be working to reproduce and fix the issues.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003418 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 07:49:30 +00:00
Hans Bakker ab77f16cba allow < and > in noteinfo field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003365 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 02:57:13 +00:00
Jacques Le Roux f058cd26ab A modified patch from Hans Bakker "Ecommerce Customer Request has error" (https://issues.apache.org/jira/browse/OFBIZ-3965) - OFBIZ-3965
BJ: Login from ecomerce as DemoCustomer
click on
Create Customer Request
put in product # WG-1111
click on Add to cart
Following Errors Occurred:

Customer Request should have a 'Name' if not in the draft status

Hans: We decided that a customer request needs a name of the request when it is not in the draft status.
I try to find the 'create customer request' option in e-commerce but i cannot find it.
Attached a diff file which could solve the problem, but could not test it. of course need internationalisation.

JLR: I provided the i18n, but weirdly it always render in English (I tested in French and double-checked the labels I created)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002963 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 08:49:15 +00:00
Hans Bakker 5e2b246042 corrected error in blogseed data as reported by Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002900 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 00:04:03 +00:00
Jacques Le Roux 82c88d191a Temporary workaround to allow ant run-install to run correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002825 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 19:42:22 +00:00
Jacques Le Roux 7ab7d8e9b1 Temporary workaround to allow ant run-install-seed to run correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002822 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 19:33:55 +00:00
Jacques Le Roux bfccb22656 Introduces a new checkUomConversion service which returns a boolean if UomConversion exists.
It may be used by a checkUomConversion javascript which uses the getServiceResult. I put it in the getDependentDropdownValues.js file for the moment. But anyway at term I will refactor all these Ajax related scripts (like in selectall.js) in a specific file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002353 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 20:58:21 +00:00
Hans Bakker 29b0dcefc5 make message more meaningfull and allow backtracing to entity with whereclase
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002056 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 08:55:29 +00:00
Anil Patel 4950bd2a00 Bug fix in GL posting of purchase invoice. Don't add add entry for tax that was not on invoice.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001962 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 23:27:47 +00:00
Jacques Le Roux b7824cddca Better labels. The new price rules screen will be "soon" contributed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001878 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 19:13:15 +00:00
Anil Patel 5cb27bb0e6 Bug fix in GL posting of customer refund payment. Its disbursement but not a payment to vendor so it should be treated differently.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 18:14:20 +00:00
Jacques Le Roux db847d831d Update ant test targets syntax for
run-single-test
run-single-test-suite

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001834 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:47:50 +00:00
Jacques Le Roux d0fda49879 Update Axis2 to 1.5.2 (with Axiom to 1.2.9)
According to http://ws.apache.org/axis2/:

1.5.2 is a maintenance release to fix the security issue described in CVE-2010-1632 as well as an XSS vulnerability in the admin console and some other minor issues. It also upgrades Axiom to version 1.2.9.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001810 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 16:25:04 +00:00
Hans Bakker 6ba5f17fae change one file from blog function from demo to seed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001748 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 14:04:45 +00:00
Ashish Vijaywargiya 9304b6e0d6 OFBIZ-3958 - Save supplier information in inventory when receive product either by purchase order or direct.
(1) Save supplier information in inventory when receive product either by purchase order or direct.
(2) Shown suppler party id in searched inventory item results.

Thanks Akash for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001644 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 09:32:53 +00:00
Hans Bakker 547b45594d make the blog more presentable and it looks it is now working again. Nice implementation by Al Beyers This blog is a nice demo to show the possibilities of the ofbiz content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001622 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 08:32:11 +00:00
Anil Patel abd253db5c bug fix, In case of purchase invoice invoice partyId is internal organization and not partyIdFrom.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001574 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 02:49:46 +00:00
Hans Bakker 325930e8a5 blog can be shown in http
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 07:38:33 +00:00
Hans Bakker 9588d6f6b9 correct blog demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001368 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 06:41:58 +00:00
David E. Jones 7fd290ef8e Removed very old functionality for form widget field actions entity-and and entity-condition that put their results automatically in the context with the field name from the form's list-name attribute, causing it to overwrite any existing list that might be in place for that; the effect was that you could not have any entity-and or entity-condition actions other than the one for the list or multi form's main list to iterate over; the proper way to do this for years now has been to specify which list you want, and this functionality was from the original approach where it was assumed for multi and list forms that you would only have one such query in the actions (which was an add-on to the original functionality that I never liked)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001330 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 22:44:13 +00:00
David E. Jones 0155bbdb93 Added another BshInterpreter clear to fix the problem where a value set in row-actions was not available to use-when conditions, or any BSH run within that row
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001326 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 22:20:29 +00:00
David E. Jones 1461401e71 Fixed NPE when a form field use-when attribute evaluates to null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001325 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 22:18:12 +00:00
Ashish Vijaywargiya c8ab3e7e19 Bug fix.
While fetching shipping estimate it should compare countryGeoId instead shippingCountryCode. Now shipping rules along with quantity break will work without any issue. 
Thanks Amit for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001185 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 10:11:45 +00:00
Anil Patel 01089338dd bug fix, In case of return invoice invoice partyIdTo is internal organization and not partyIdFrom. I see same issue purchase invoice posting case as well. Will fix it when I work on PO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 03:44:26 +00:00
Jacques Le Roux 52bc5a3dbd A patch from Weizhan Guo "multi-tenant function do not work correctly if switch from one app to another by click the menu" (https://issues.apache.org/jira/browse/OFBIZ-3956) - OFBIZ-3956
I found a problem when I switched from one app to another. The multi-tenant did not work if the username and password were the same in the main database and tenants (or different tenants). For example, the password of admin is ofbiz in main database and in DEMO1 tenant, first log in to catalog as admin of tenant DEMO1, and then switch to the content app, the data of content app is from the main database instead of DEMO1.

I debugged this problem, and the code was missing to check the userlogin tenant in checkExternalLoginKey.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001099 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 22:45:12 +00:00
Jacques Le Roux 70b9bc8b37 A patch from Sascha Rodekamp "Accounting Map Proc - CreditCard Validation" (https://issues.apache.org/jira/browse/OFBIZ-3956) - OFBIZ-3956
A small improvement in the Accounting payment map procs.
The Credit card number was only checked if it is empty. After the patch the map proc checks if it is a valid credit card number. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001098 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 22:36:11 +00:00
Jacques Le Roux 312bbae5a4 In linkGeos service I reversed the 2 geos (geoId and GeoIdTo) in GeoAssoc creation (backported from jQuery branch)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001050 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 19:43:38 +00:00
Bruno Busco bf83a9a2b8 Removed seed data depending on the Content application from the Example application.
This was causing a foreign key error during the run-install.
Thank you Scott for reporting in ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001005 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 18:17:05 +00:00
Anil Patel 49eedddd50 Bug Fix, Fixed typo error in return invoice gl posting. Now using correct invoice item type, credit account and party role.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000998 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 17:54:56 +00:00
David E. Jones 9b940f0056 Changed sendMailFromScreen service to support a list of attachments instead of just one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000753 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 07:47:05 +00:00
Ashish Vijaywargiya 63260b03ca Bug fix.
The passed field from the form was manufacturerPartyId but field that exists in the entity InventoryItemAndLocation is partyId. So search was not working if you are trying to search records based on supplier information. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000725 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 06:37:19 +00:00
Jacques Le Roux e09edea40a I had reversed the 2 events
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000638 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 21:31:25 +00:00
Anil Patel 49a3c05554 Fix bug in Gl posting Customer Return Invoice. It was handled as a purchase invoice when its totally different beast. All InvoiceTypes from PURCHASE_INVOICE type tree are still handled like always except for CUST_RTN_INVOICE. Added new service to handle CUST_RTN_INVOICE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000621 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 20:59:05 +00:00
Jacques Le Roux fdea7b2527 Change how Webtools/Geo Management is done:
* Now the link from the Find list goes to the Link Geo screen. It opens (focus on Geo field) with selected multiples (in function of assoc type) for the geo selected in Find list, and changes accordingly. In jQuery branch it will use asmselect for that 
* So the Create screen is now a Create/Edit screen with a lookup for Geo choice

This continues to allow geos Edition/Creation and to links them, but now shows also the links between geos in the Link screen. Due to native limitations of select multiples, it's not very useful in trunk but interesting in jQuery branch (I did not try to find an equivalent to asmselect in the Prototype worls, still doable...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000586 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 19:06:22 +00:00
Jacques Le Roux e842192d80 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000521 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 16:16:19 +00:00