Commit Graph
14503 Commits
Author SHA1 Message Date
Hans Bakker 4f35d31201 missing file in r1199130
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1199141 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 07:44:29 +00:00
Hans Bakker aa3d73675b also introduce keyword size limit(configurable) in product and move property setting to content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1199130 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 07:02:16 +00:00
Hans Bakker f644018217 create a configurable maxlength keyword for content search keywords
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198709 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 12:04:16 +00:00
Jacques Le Roux 3b09c04ddd Fixes "Unable to Manage Picklists" https://issues.apache.org/jira/browse/OFBIZ-4541 reported by Sam Hamilton
This really needed a correct formatting :(

We have also currently an error on trunk demo with "Cannot locate service by name (getLastSystemInfoNote))" Will restart...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198708 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 11:37:20 +00:00
Hans Bakker aae280b3d6 remove button was not displayed properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198630 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 06:28:08 +00:00
Hans Bakker c969e7c654 repeat type of veriable, looks like minilanguage does not remember the rype assigned before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198629 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 06:12:38 +00:00
Hans Bakker 432a4f2d18 allow html=safe in comments and descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198615 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 03:34:52 +00:00
Hans Bakker 167c9804ef create also blog alternative urls connected to a website
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198611 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 03:27:58 +00:00
Erwan de Ferrieres c61f47bc23 A patch from Olivier Heintz - OFBIZ-4509 - EditProductionRunDeclRoutingTask is not usable because javascript calendar is not working for date fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198545 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 20:13:06 +00:00
Vikas Mayur 817211c628 Bug fix: Order detail page doesn't show the invoices for purhase orders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1197045 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 10:17:57 +00:00
Jacques Le Roux 1546762647 A patch from Kiran Gawde "WeightPackage.groovy is missing import for GenericValue" https://issues.apache.org/jira/browse/OFBIZ-4539
Added import for GenericValue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1196778 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 19:43:26 +00:00
Hans Bakker 9fa06ff678 on the opportunity find list change the edit button in a close button and set the close dat when not supplied, edit is available with clicking on the opportunity name/number
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1196444 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 03:45:57 +00:00
Hans Bakker b610742900 similar error as in OFBIZ-4538 but in different place and in the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195901 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 09:53:09 +00:00
Erwan de Ferrieres 62c76c8942 A patch from Luís Alfredo Harriss Maranesi - OFBIZ-4537 - Portuguese translation for Content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195860 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 07:50:51 +00:00
Erwan de Ferrieres 2f12ef83f2 Reducing PKs which were too long and then producing errors when inserting in db (>20 char.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195180 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 15:39:56 +00:00
Jacques Le Roux d2f50da17e A modified patch from Pierre TALLOTTE "Managing of lot number and tracking" https://issues.apache.org/jira/browse/OFBIZ-4172
This patch adds features which allows a, user to manage products by lot id :
    when s/he buys a product, s/he can specify the lot id ;
    each time s/he produces an inventory item in manufacturing, s/he can specify the lot id ;
    s/he can choose the lot s/he wants when s/he makes a sale order or a manufacturing process ;
    there is a new screen which allows the user to realize the tracking of lots.

jleroux: apart some formatting and typos, I used only availableToPromiseTotal (instead of also quantityOnHandTotal) when checking the stock of a lot while editing a Picklist Item. 
Note: I only reviewed the code, but did not find enough time to test. As the code was straightforward I decided to add it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195037 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 21:09:38 +00:00
Jacques Le Roux 6d73d4177d A patch from Carsten Schinzer https://issues.apache.org/jira/browse/OFBIZ-4208 "Product page meta-tag does not contain i18n content"
The groovy script that produces the content meta information is only partially using i18n information from the Content Wrapper. Namely, it does NOT use the Product or Category ContentWrapper to receive internationalized content for Product Name and Description or Category Description but rather the direct properties of the product entity. Using the ContentWrapper will overcome this shortcoming.

It is assumed that ContentWrappers will handle primitive over related Content properly, ie. if there is no related Content entity but only primitive content, it will return that. And if there is i18n content missing in the desired (current session) locale, it will return the default locale translation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1194958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 18:04:48 +00:00
Hans Bakker d3697aee42 show payrol history on the HRM employee profile screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190181 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 07:19:53 +00:00
Hans Bakker 3420b210a6 move blog labels from ecommerce to content and use them from there.....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190180 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 07:17:34 +00:00
Anil Patel 624b3f8f12 [OFBIZ-4519] Bug fix while Prorating adjustments for orderItem when its partially canceled. Martin Kreidenweis, Thanks for the fix and helping me understand the problem.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190134 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 02:06:37 +00:00
Anil Patel db51969bd6 [OFBIZ-4521] Code improvement. Thanks Manuela Gruendlinger for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189710 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 11:51:13 +00:00
Hans Bakker fa99376e69 only show employ positions in the HR tree which are active: status and from/thru dates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189692 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:46:18 +00:00
Anil Patel 7f1e47817e [OFBIZ-4516] Commit fixes bug in Invoice cancel process. Martin Kreidenweis, Thanks for reporting and providing fix patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189601 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 04:14:06 +00:00
Anil Patel b2b1ce7f61 [OFBIZ-4520] Changed method used for enabling submit button. Issue reported by Martin Kreidenweis. Thanks for reporting and giving a fix patch. The code changes are not same as the patch on jira issue. Now the bulk printing for invoices is working. Will be better if we were will push invoices to the printer directly like in order manager. May be some other day :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189592 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 03:08:58 +00:00
Hans Bakker cc3702ccb5 allow safe html in workeffort name and desciption
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189555 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 00:36:17 +00:00
Erwan de Ferrieres 93dbae25a6 A patch from Olivier Heintz - OFBIZ-4506 - BigDecimal issue, when changing quantity to produce for a ProductIonRun
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189404 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 19:33:00 +00:00
Erwan de Ferrieres 5a12353c47 A patch from Olivier Heintz - OFBIZ-4508 - Product Price Action Type, first drop-down in Price rule management, is not translate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189368 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 18:34:25 +00:00
Erwan de Ferrieres 186907b72a A patch from Olivier Heintz - OFBIZ-4512 - French spelling correction in manufacturing uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188870 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 19:24:04 +00:00
Erwan de Ferrieres 9c931fb647 reverting OFBIZ-4503 until a better solution is found, see http://s.apache.org/R1z
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188862 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 19:13:07 +00:00
Sascha Rodekamp 6062def96c Optimize Promo code generation. Promo Codes which llok like: GT4eI1a are bad to enter for a customer, furthermore there are some literals which could esaylie mixed up (ie "0" and "O"). So the generation should be a little bit smarter.
So we add three different options to generate a PromoCode:
1.) "clever" only capital letters ans numeric values (no O,0,I,1 ...)
2.) "normal" all aplha numeric charachters 
3.) "sequenz" a sequenz number (default like before)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188607 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 11:19:35 +00:00
Jacques Le Roux ba54de86ff A patch from Kiran Gawde "originalFacilityId is not populated in order" https://issues.apache.org/jira/browse/OFBIZ-4499
Order gets the facilityId from shopping cart. But facilityId is never set in shopping cart.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188564 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 08:33:24 +00:00
Hans Bakker 8efa6c396f fix some test cases which did run on derby but not progresql
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188521 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 06:01:41 +00:00
Erwan de Ferrieres 0df2322108 A patch from Olivier Heintz - OFBIZ-4507 - French spelling correction in uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188389 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 21:21:22 +00:00
Erwan de Ferrieres 6cba4e2f6d Adding new uiLabel OrderChangedByUser, and adding uilabels when missing in OrderQuantityHistory, OrderUnitPriceHistory, OrderShipmentMethodHistory and ReturnAndReceivedQuantityHistory forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188359 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:29:36 +00:00
Erwan de Ferrieres 4344f6993b A patch from Olivier Heintz - OFBIZ-4505 - Order history screen display an error when a new ShipmentPlan have been created with no shipment method, even if it's corrected after
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188349 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:12:14 +00:00
Erwan de Ferrieres f3056a41f3 A patch from Olivier Heintz - OFBIZ-4504 - add a purpose to a CommEvent does'nt work, link is currently on AddCommContent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188343 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:05:44 +00:00
Erwan de Ferrieres cc48c68519 Missing French translation for PartyFindCommunicationsByOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188339 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:59:12 +00:00
Erwan de Ferrieres 9f7aa6f483 A patch from Olivier Heintz - OFBIZ-4503 - wrong jquery.custom.min address in product/commonScreens.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188334 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:45:02 +00:00
Jacques Le Roux b6e8b0e26b A patch from Leon "Append order item overrides the exist one if the last order item is "canceled"" https://issues.apache.org/jira/browse/OFBIZ-4470
Set the correct nextItemSeq of shopping cart. It the "next" item sequence id, not the miximal item sequence id.

The problem occured after OFBIZ-4485 patch was applied (see the third change: make order item sequence id more compact and truely "sequential").
Also with and  empty order (order without any valid items or all order items cancelled), then the problem will also occur if all the order items have been cancelled and the new order item is appended after that.

In the code level, if the nextItemSeq is set to the sequence id of last order item but not the true "next" one, then in ShoppingCart.makeOrderItems method, the problem will occur if the cart does not contain any exist order items (all cart items's orderItemSeqId are null):

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188042 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 08:39:46 +00:00
Jacques Le Roux cc1af0dfc5 A patch from Leon "Minor update to order and cart service" https://issues.apache.org/jira/browse/OFBIZ-4485
The patch is related to following issues:
1. after append a new item to created or approved order, the externalId data of original items are lost
2. after append a new item to created or approved order, the itemDesiredDeliveryDate value is wronly set to shipBeforeDate field
3. make order item sequence id more compact and truely "sequential"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187944 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 18:09:28 +00:00
Jacques Le Roux 526d518879 A patch from Kiran Gawde "Warnings while approving the purchase order" https://issues.apache.org/jira/browse/OFBIZ-4495
Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product.

[ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID
[ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null.

The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items.
The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 17:05:59 +00:00
Jacques Le Roux 6b763c3b83 A patch from Varun Bhansaly https://issues.apache.org/jira/browse/OFBIZ-4500
"Promo condition - Shipping method gets lost."

Steps to replicate -
1. Create a promo rule having condition with Shipping Total in LHS, an(y) operator, some value in RHS and some value in "Select Shipping Method". Click create.
2. Try updating RHS value, notice value for "Select Shipping Method" get lost.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187528 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 19:46:32 +00:00
Hans Bakker badd567bf3 remove the possibility to update payment applications: is too complicated and can cause posting problems, only allow add and delete, this is at the payment side
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1186102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 11:19:21 +00:00
Hans Bakker 9270f2c6c6 make sure the defaut image is shown in the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185724 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:33:44 +00:00
Jacques Le Roux 0c93d8e16f A patch from Wai "disable Page Push/Following...Push URL...Follow session feature" https://issues.apache.org/jira/browse/OFBIZ-4488
The UI associated with this functionality has been disabled to prevent confusion.

Associated postings for this issue:
http://ofbiz.135035.n4.nabble.com/Page-Push-Following-Push-URL-Follow-session-td3903077.html
http://ofbiz.135035.n4.nabble.com/Fw-Page-Push-Following-Push-URL-Follow-session-td3910266.html

jleroux: this is not really a bug, rather an incompleted feature, so I will not backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185270 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 15:56:45 +00:00
Jacques Le Roux 60161e2d26 A patch from Paul Foxworthy "Order not completed when filled from more than one InventoryItem" https://issues.apache.org/jira/browse/OFBIZ-4386
There is a nasty bug in IssuanceServices in the situation where the order is filled from more than one InventoryItem. When the order is created, there are OrderItemShipGrpInvRes reservations created for all the inventory items needed to fill the order.
In the simple method issueOrderItemShipGrpInvResToShipment in IssuanceServices, at line 173 (https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?hb=true#to173), there is an assumption that if the OrderShipment already exists, we are some sort of adjustment, and we should adjust the OrderShipment quantity by the difference between the old OrderShipment quantity and the new one. This all works fine in the situation where there is only one InventoryItem needed to fill the order. However, if there are two or more InventoryItems, the simple method is called twice, and an incorrect quantity is calculated.

The crux of the problem is that OrderShipment doesn't care about InventoryItems, so there will be only one OrderShipment row for a given product. In contrast, ItemIssuance does care about InventoryItems, so there will be more than one if the product is supplied from more than one InventoryItem. The ItemIssuance code doesn't take account of this distinction.

I have provided two patches. One is a new unit test that exemplifies the bug. If you just apply this patch to trunk, the unit test will fail with an OrderShipment quantity of 4 when it ought to be 6.

The other patch is my fix for IssuanceServices, which now looks for a relevant ItemIssuance to decide if we are adjusting quantities, or creating a new ItemIssuance (and possibly a new OrderShipment).

jleroux: only the test part (not backported)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185188 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 14:07:41 +00:00
Jacques Le Roux d8255c4c62 A patch from Paul Foxworthy "Order not completed when filled from more than one InventoryItem" https://issues.apache.org/jira/browse/OFBIZ-4386
There is a nasty bug in IssuanceServices in the situation where the order is filled from more than one InventoryItem. When the order is created, there are OrderItemShipGrpInvRes reservations created for all the inventory items needed to fill the order.
In the simple method issueOrderItemShipGrpInvResToShipment in IssuanceServices, at line 173 (https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?hb=true#to173), there is an assumption that if the OrderShipment already exists, we are some sort of adjustment, and we should adjust the OrderShipment quantity by the difference between the old OrderShipment quantity and the new one. This all works fine in the situation where there is only one InventoryItem needed to fill the order. However, if there are two or more InventoryItems, the simple method is called twice, and an incorrect quantity is calculated.

The crux of the problem is that OrderShipment doesn't care about InventoryItems, so there will be only one OrderShipment row for a given product. In contrast, ItemIssuance does care about InventoryItems, so there will be more than one if the product is supplied from more than one InventoryItem. The ItemIssuance code doesn't take account of this distinction.

I have provided two patches. One is a new unit test that exemplifies the bug. If you just apply this patch to trunk, the unit test will fail with an OrderShipment quantity of 4 when it ought to be 6.

The other patch is my fix for IssuanceServices, which now looks for a relevant ItemIssuance to decide if we are adjusting quantities, or creating a new ItemIssuance (and possibly a new OrderShipment).

jleroux: I commit patch by patch to be able to backport the fix, here only the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185179 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 14:03:30 +00:00
Hans Bakker 2c234661ac update the backend top left logo by specifying a url in the current accounting company partygroup or uploading a logon in partycontent. the logo will also show in the partyprofile. All themes are updated. Contribution of Antwebsystems employee 'Nop'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 10:58:47 +00:00
Jacques Le Roux 1e755c13db A patch from Leon with help from Martin https://issues.apache.org/jira/browse/OFBIZ-4469
"Load product dimension when and only when the product is created successfully"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184999 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:58:39 +00:00
Jacques Le Roux c7b706cedc A patch from Kiran Gawde https://issues.apache.org/jira/browse/OFBIZ-4473
"ListProductStoreFacility in StoreScreen.xml is missing decorator-screen element"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184996 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:47:56 +00:00