Commit Graph
9106 Commits
Author SHA1 Message Date
Bruno Busco bcfe82099b Used the standard xxxxFormOnly pattern to handle the ajax update of this screen.
No need to use this too complicated GenericScreenletAjaxWithMenu stuff.
The portlet attributes must not be used to select artifact to be rendered in a portlet. This creates security issues.
In next commits I will remove all the GenericPortlet stuff.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023257 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:41:55 +00:00
Bruno Busco 1ccd2fa3f7 Used intra-app link so that this works also when this form is used from https://localhost:8443/facility/control/EditFacility screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023254 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:31:37 +00:00
Hans Bakker 37cac8d112 update blog info did not work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022517 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 13:19:45 +00:00
Erwan de Ferrieres dcf8b5f0f8 Must prepare the field before passing it to freemarker macro, else it is just a string and the lookup is not displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022091 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 13:10:21 +00:00
Hans Bakker 2650fb9cd0 missed some updates in the last blog commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022050 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 09:41:39 +00:00
Hans Bakker 3f5020065a some more error correction for the update blog in ecommerce
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022048 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 09:34:48 +00:00
Hans Bakker 2feb0cd91d allow safe html in blog services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021729 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 10:23:11 +00:00
Hans Bakker 5ad9d60310 correction on rev 1006104
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021719 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 09:54:00 +00:00
Hans Bakker e2bef93c5e make layout of the payment 'out' screen consistent with payment 'in', only show payment 'out' types on payment 'out' screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021706 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 09:29:07 +00:00
Jacopo Cappellato 08ad03d350 Added missing sorting to the agreement products screens (and reports): this was making maintenance of price lists very difficult. Thanks to Giorgio Tomaselli for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021650 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 07:54:42 +00:00
David E. Jones b848c3cee6 Small change to allow a null/empty productStoreId in the Product Store Ship Setup screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021337 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 13:20:20 +00:00
Hans Bakker cf88b9b338 when generate invoice fom timesheet combine invoice items with the same description and item amounts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006104 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 02:27:39 +00:00
David E. Jones 7137a8f81f Changed store shipping setup Geo drop-downs to lookup screens to better handle the case where a system has a more complete set of Geos, like an imported zip code database, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006041 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:00:04 +00:00
Jacques Le Roux 7a9a644f08 New Price Rules screen.
I tried to make it look better by having only one Value column but I found that a field inserted by Prototype was not taken into account when submitted. As it's not possible to rename a DOM element I finally gave up and used use-when + hide/show instead. I will see if we can do better with jQuery...
I kept the old Screen + Groovy + FTL files, not for nostalgics, but in case someone has to quickly deal with fields with a lot of values (to avoid drop-down saturation). Then the Id will still be used. Note that it's also possible to do so with the new screen: you need only to put the field type in setPriceRulesCondEventJs.ftl and at top of getAssociatedPriceRulesConds service implementation in order to handle it as an Id with an input field (like it's done OOTB for Quantity and List Price)

I'd like to use the same mechanism for Promo Rules. I will do that later, hopefully before merging jQuery...

BTW, I like the now clear separation with Ajax onComplete event.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005861 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:33:03 +00:00
Hans Bakker 47ecb48c98 when creating an invoice item from a customer request concatenate name, description and number
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004599 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:05:41 +00:00
Hans Bakker 07ba069d46 spelling error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 06:14:40 +00:00
Hans Bakker e1ce7ee8c7 move the WorkEffortAndTimeEntry from asset maint to workeffort because can be used in other specialized components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004527 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 05:36:03 +00:00
Erwan de Ferrieres 18ea53528a Simplifying bottom border on the header row for invoice report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004386 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:12:58 +00:00
David E. Jones d5c20ce0bb Fixed bug in getPostalAddressPostalCodeGeoId method so it doesn't try to modify and save GenericValue objects coming from the cache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004281 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 15:14:16 +00:00
Hans Bakker 78ab8826bf allow safe html is description and name of workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004155 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 09:13:31 +00:00
Hans Bakker ca1c8d4e40 enable blog demo data again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004149 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:57:05 +00:00
Jacques Le Roux efab8fd3f8 Fixes https://issues.apache.org/jira/browse/OFBIZ-3934 - OFBIZ-3934 " paymentMethodTypeId: Found this error when changing the records to show in the paginated list."
It was missing a paginate-target, hence the default target was used and, as it's updatePaymentMethodType, a security issue was raised when changes have occurred before the pagination. There are maybe other cases like this that will pop up from time to time...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004139 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:11:38 +00:00
Jacques Le Roux f71fb7e47f Related to OFBIZ-3969
I committed Sascha's patch in trunk at r1003836, but I finally reverted it as I'm not sure the EcommerceUiLabels will be there in all cases. And I guess if it's there, there should be a reason... I must say I did not take the time to dig it further... Also looks like Sascha's use case is specific (no English Labels) and OFBiz OOTB is not specific.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003909 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:24:11 +00:00
Jacques Le Roux 4af9a3ace7 A patch from Sascha Rodekamp "sendMailFrom Screen don't need to load uiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3969) - OFBIZ-3969
Sascha: I noticed an issue in the sendOrderNotificationScreen method. There is no need of loading uiLabels in the method, because the labels will be loaded in the screen (which will be used for the email). The point is, when someone (for whatever reason) don't add English uiLabels and the service try to access the default English labels the an exception will be thrown . This can be simply avoided.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003836 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 17:14:51 +00:00
Anil Patel e051abddf6 Bug fix, use delegator getter method instead of variable to avoid getting uninitialized object.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003829 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 16:35:54 +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 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
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 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
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
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
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 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
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 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