Commit Graph
12781 Commits
Author SHA1 Message Date
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
Jacopo Cappellato aa7a75cb7e I have fixed two issues:
1) when an inventory item is updated using the "updateInventoryItem" service, the output parameter "oldOwnerPartyId" is mandatory.
   So, if the ownerPartyId field is not set in the InventoryItem (for example, it is not set in the OFBiz demo data) then an error is returned. I've fixed it by retrieveng the owner from the facility.
   Should we make the ownerPartyId a mandatory parameter for the createFacility service? If you agree I'll commit a patch for this.

2) when an inventory transfer is completed, the service that balances the inventory reservations must be called; it is now done using a seca


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428665 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 08:47:52 +00:00
Jacques Le Roux a6f48576ab Debug.logVerbose instead of Debug.logInfo in JavaMailContainer.java
Property name="mail.debug" to false in ofbiz-containers.xml
This close Apache OFBIZ-24



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428656 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 08:17:12 +00:00
Jacopo Cappellato 48f70fa9a3 New production run pdf report developed by Mario Cappellato.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428650 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 06:57:55 +00:00
Si Chen 63936c26bf Improved edit contact mech page by defaulting country geo to the country.geo.id.default set in general.properties.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428568 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 23:42:16 +00:00
Si Chen d95aae9cd1 Link to print the PDF version of invoices from order view
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428567 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 23:39:54 +00:00
Si Chen 2ac4a45a30 OFBIZ-132: Make paymentMethodTypeId optional and get it from paymentMethod. If neither is supplied, then return an error. Thanks to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428529 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 21:14:58 +00:00
Jacques Le Roux 5f80e8e526 Adding savesale.xml and changing sales.xml name to loadsale.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428407 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 14:05:41 +00:00
Jacques Le Roux 13a5fb401e Moved dialog.xml from pos/screens/includes to pos/screens/dialog
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428406 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 14:00:03 +00:00
Jacques Le Roux 73748a7fec Manages when no sales where saved
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428403 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 13:52:17 +00:00
Jacques Le Roux b357377897 I resized the buttons to hold labels in french under Linux (with default values)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428351 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 11:28:56 +00:00
Jacques Le Roux cfe3a85d94 To close this chapter of dynamic modification of xpos.properties (needed by XUI i18n mechanism) and mostly avoiding svn notifications I suppressed the $Id let in the ASL2 header written by UtilProperties.java.
But because java.util.Properties.store (called by UtilProperties.java to write in xpos.properties) always writes a date/time after the header there is always a difference between repository and working copy files.
So I decided to svn:ignore xpos.properties in its directory (applications/pos/config), hoping this will not bring problems in future...



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 09:47:18 +00:00
Jacques Le Roux ef3c401e39 path to sales.xml is now dynamic
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428276 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 07:29:22 +00:00
Jacques Le Roux 2f813e7f7b This implement the load part of OFBIZ-734 (POS Save and load sessions).
Actually they are not sessions but sales. You can add a shopping list (saved sale) to the current cart (current sale) or replace it.
The button to use is "LOAD SALE" (or "Charger une vente" in french)
This work was partly funded by Ray Barlow, thanks to him.

In the same time decided to commit the xpos.properties file in the state it is on machine to avoid futur svn conflicts for me. If someone thinks it's a problem let me know.
I commit also additions in posmain.xml : new product button to test the new scrollable panel.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428156 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 21:27:49 +00:00
Jacopo Cappellato 11fd6d8584 Found a better solution to fix a small bug in category drop down (it was messed up by a parameter set in the screen action).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428034 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 15:39:41 +00:00
Jacopo Cappellato fa0b690ddd Fixed small bug in category drop down (it was messed up by a parameter set in the screen action).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428024 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 15:25:45 +00:00
Jacopo Cappellato 81545a1e91 Only product types for physical goods are allowed here.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428018 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 15:08:22 +00:00
Jacopo Cappellato b9914401a1 added two more fields to the context for the upcoming pdf report.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427958 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 11:40:26 +00:00
Jacopo Cappellato 0d1b150e70 Two changes to the way search fields are rendered in form widgets:
1) in thext fields, the "ignore case" option is true by default and the "begins with" option is the defalt one
2) the available search options for text and date fields are now rendered with drop down boxes instead of radio boxes

OFBIZ-64

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 05:55:21 +00:00
Si Chen 6d86d55b22 Changed default price purpose on add price form to Purchase/Initial. (I hope this is OK--this seems to be what most people use it for. If not let me know)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427655 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 17:29:38 +00:00
Si Chen 8333712da4 Changed transaction time out of post accounting transaction service to 10 minutes to allow for larger transactions such as those from importing data
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427640 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 16:39:41 +00:00