Commit Graph
351 Commits
Author SHA1 Message Date
Jacopo Cappellato 2bb7fa616e Small misc cleanups to the form widget pdf template.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430094 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:55:09 +00:00
Jacopo Cappellato 017027d1ac Misc small improvements to the global widget decorator for pdf reports.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430083 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:57 +00:00
Si Chen ddce6ec6b0 Fixed bug where required OUT parameter wasn't being set in service getOrderedSummaryInformation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430082 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:18 +00:00
Jacopo Cappellato 2eb876901e New pdf report for the agreement item's products screen: this is mostly an example of how we can get a simple pdf report from a form widget definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429971 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 05:35:55 +00:00
Jacopo Cappellato d0cf4510fc First version of the class to render fo templates out of form widgets:
* a new FoFormRenderer class that implements the FormStringRenderer interface in order to provide a fo representation of a form widget definition.
* small change to ModelForm class (new getter method) needed because I have to read the form's list
* moved the initialization of the "formStringRenderer" object, from the ScreenRenderer class to the ScreenFopPdfViewHandler and ScreenWidgetViewHandler classes (so that the former can instantiate the new FoFormRenderer class and the latter the HtmlFormRenderer)

The FoFormRenderer class is far from complete:

* in single forms, the position attribute is ignored (nulti columns single forms are not still supported)
* all the style attributes from the form definitions are ignored
* in list forms, all the columns are rendered with the same size
* left/center/right alignment of cells' content is not supported
* field groups are not supported
* banner and image fields are not supported
* in general see the TODO comments near the methods that should be implemented

However we can now render both list and single forms in a nice PDF format without errors.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429966 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 05:09:45 +00:00
Si Chen 17f77e0953 Set some default values for lookup pages to avoid a negative first page
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429910 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 01:10:45 +00:00
Si Chen 0a589bb6f1 Change defaults of ModelFormField to be same as XSD and moved the dropdown box to before the entry field OFBIZ-64
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429909 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 01:09:54 +00:00
Si Chen c2728273cd Made email not required for order manager order entry customers
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 00:41:27 +00:00
David E. Jones 2c131ffaf1 Added a log message when auth fails with some details as to why for debugging purposes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429747 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 17:25:19 +00:00
David E. Jones 3e02ea2f86 Fixed bug caused when the addparty feature was introduced; the request routing in ecommerce was bad because it skipped the shipping and tax calc, and the payment verification
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429721 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 16:37:45 +00:00
David E. Jones ee7f36d989 Added countyGeoId to PostalAddress, and changed the TaxAuthority rate calc code to use it if populated to support county level taxes; note that this commit does not include UI or background service to populate the countyGeoId
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429697 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 15:49:13 +00:00
Jacopo Cappellato a543d99790 New global decorator for simple pdf reports: it is composed of a small header with the current date, screen name and logo and a footer with number of page/pages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429657 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 14:11:31 +00:00
David E. Jones 1ca55265cc Changed to use TransactionUtil instead of the TransactionManager directly
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429598 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:30:40 +00:00
David E. Jones f39198d6c3 Made change recommended by Scott Gray to move to better behavior when a mail store can't be connected to on startup, ie keep track of it anyway and just log messages over time about failure; I agree that it seems silly to give up on it for as long as the server is running just because we couldn't connect on startup; Apache Jira #OFBIZ-140
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429595 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:03:20 +00:00
David E. Jones 629af09f92 This should fix the MCA reload problem reported by Scott Gray; Apache Jira #OFBIZ-139
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429590 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 05:50:27 +00:00
Jacques Le Roux 4828c91776 Forgot China ;)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429479 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 21:07:44 +00:00
Jacques Le Roux 75fd0715f9 Minor changes, mostly formating and other cosmectics...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429478 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 21:05:00 +00:00
Jacques Le Roux 2184f911c3 A patch from Christian Geisert : the link to the Product Categories from Edit Tax Authority Product Categories was wrong.
Tested OK, thanks Christian.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429462 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 20:24:05 +00:00
Jacques Le Roux 7ec50b868d The height of one button was too weak under Linux (was ok on Windows). With all default values.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429377 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 16:14:02 +00:00
Jacopo Cappellato 71d55474f1 Implemented printer friendly screen for the inventory level report.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429356 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:52:20 +00:00
Jacopo Cappellato c800b3e869 Implemented printer friendly screen for the stock moves page: this is an example of how we can use the new SimpleDecorator.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429351 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:16:51 +00:00
Jacopo Cappellato f4264ff60e Simple global decorator for printer friendly screens (no logo and no application bar, header and footer).
A print button is also available at the top of the screen.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:06:57 +00:00
Jacopo Cappellato 358e81d2ca tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429337 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:26:07 +00:00
Jacopo Cappellato b1ee07d69a removeSpaces method was indeed removing digits.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:23:03 +00:00
Jacopo Cappellato 5792dbe0e0 New price list feature that can be used to set up price lists for specific customers. It is based on the Agreement data model.
There are only two relevant changes in this commit:

a) added a new price field to the AgreementProductAppl entity
b) added a new optional input parameter, "agreementId", to the calculateProductPrice service; if the agreementId is passed, and if a valid price for the product is found in the AgreementProductAppl entity, this price overrides the default price in the ProductPrice entity.

Here are the steps needed to test this stuff:
* create an agreement (of type sales) from the customer to the Company
* create an agreement item of type price list for a given currency
* associate products to the price list (agreement item) and set the price there (this is a new field AgreementProductAppl.price)
* when you start a sales order, select the agreement from the drop down list


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 10:28:51 +00:00
Jacopo Cappellato 29cd61f90d Implemented new lookup search for products limited by supplier's product if the order is a purchase order.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429290 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 10:12:53 +00:00
Jacopo Cappellato adfc40c71d tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 07:27:27 +00:00
David E. Jones 7f0bb66fdd Applied patch from Marco Risaliti, plus formatting correction and a name improvement to avoid confusion with a object variable; allows view entities to get i18n'ed labels from their member entities; Apache Jira #OFBIZ-129
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429250 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:26:49 +00:00
David E. Jones bea65ea45b Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
David E. Jones 16a808de60 Applied patch from Peter Goron in Apache Jira #OFBIZ-128; should fix issue with form widget prev/next URLs when cookie sessions not used; have not tested extensively, but should not have side effects
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429239 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 04:58:53 +00:00
Jacques Le Roux 35c7e40d2c This complete (save part and more) and finish the OFBIZ-734 issue.
I will add some comments in code later.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429165 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 17:56:24 +00:00
Jacques Le Roux 767f6dc529 Some french labels from Peter Goron and me.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429121 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 09:50:44 +00:00
Jacopo Cappellato 58e92aff76 Cleaned up the order entry tab bar.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429116 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 07:49:06 +00:00
Jacopo Cappellato 73221b112f Fixed npe while paginating on a result list after an unconstrained search (productId null).
Thanks to Jacques Le Roux of the bug report OFBIZ-130.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429114 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 06:35:07 +00:00
Jacopo Cappellato 7ccc3a2b4e tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429106 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 05:52:57 +00:00
David E. Jones 913e845060 Fixed bug reported by Al Byers where this was using the wrong attribute name, ie fail-message instead of just message; Apache Jira #OFBIZ-137
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429059 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 21:34:14 +00:00
Jacques Le Roux b625ad70b4 My last commit for Apache OFBIZ-90 (Deprecated operations replaced by set operations in PromoServices.xml)gets a comment from David J. :
The set operation is not equivalent to the if-empty + string-to-field. In other words, you  still need the if-empty around the set operation.
The set-if-empty attribute does not mean "set only if  empty" it means "set if empty or not empty".

-David

This commit resolves this problem.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429010 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 16:23:34 +00:00
Jacopo Cappellato 02a73406cf Added out parameter useful for ecas.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429009 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 15:53:23 +00:00
Jacopo Cappellato e8d67e9998 the decompose mkt pkg packages service now returns the list of inventory item ids created for the components.
Also, now the decompose task is no more a "production run" and it's status is set to COMPLETED.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429008 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 15:36:12 +00:00
Jacques Le Roux 4dc1dc8b80 Deprecated operations replaced by set operations in PromoServices.xml (Apache OFBIZ-90)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429000 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:57:23 +00:00
Jacopo Cappellato fa179ca9d9 Small improvements to the ui links between a product and its routing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428985 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 11:25:02 +00:00
Jacques Le Roux e642c46a25 Close Apache OFBIZ-92 : add information about plugin.jar in OPTIONAL_LIBRARIES
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428979 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 09:05:45 +00:00
Jacques Le Roux d117046744 Added "if (Debug.verboseOn())" where there are concatenations of strings (means "+") : faster
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428978 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 08:52:07 +00:00
Jacopo Cappellato 69e4615476 Added more information about the suggested/required stock moves:
* atp/qoh of the from and to locations
* minimum level and move qty of the target location

This shoud make the stock moves decisions easier.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 08:26:13 +00:00
Jacopo Cappellato 9167b0e74e A few minor additions and one important bug fix to the OFBiz stock movement services:
* the services now return, in the output list of maps, more information about the suggested/required stock moves (atp/qoh of the from and to locations and the GenericValue of the destination ProductFacilityLocation)
* the important bug fix is about the map "InventoryItemAndLocationByLocMap" that was not cleared after each iteration and this was causing errors in the suggested moves.
* a few minor cleanups to some minilang instructions


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428975 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 08:20:07 +00:00
Jacopo Cappellato ff05a3388b Implemented new "getInventoryAvailableByLocation" service.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428974 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 07:52:28 +00:00
Jacopo Cappellato 049b66e873 The Facility.ownerPartyId is now a mandatory field; if this is not set many of the cost and accounting routines will complain.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428973 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 07:49:27 +00:00
Si Chen afbfb1fd09 More comments about how standard cost services and the decompose inventory item service costing work
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428853 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 19:33:23 +00:00
Si Chen 1c21dddea9 added productId and workEffortId to the AcctgTransAndEntries view entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428845 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 18:52:19 +00:00
Jacopo Cappellato 51defe13ea Now the getProductCost service will consider the virtual's costs if the product is a variant and no costs are available.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428769 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 16:24:34 +00:00