Commit Graph
14503 Commits
Author SHA1 Message Date
Hans Bakker f2c54c60f7 applications where not created when status direct to invoice-ready status
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498849 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 09:10:01 +00:00
Hans Bakker e8c8ef35e9 applications from invoice not working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498848 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 09:07:55 +00:00
Hans Bakker 926252a595 correction on commit 1495294 not working for foreign purchase orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498847 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 09:02:12 +00:00
Hans Bakker 92f9fbcfd4 only show organizations in purchase order entry which have a partyaccounting preference otherwise accounting will not work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498769 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:49:29 +00:00
Hans Bakker e961ad3f83 added missing invoiceitem type assignment for productType 'service'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498758 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 02:13:41 +00:00
Jacques Le Roux 52c0cecb40 A patch from Arpit Singh Pandya for "Added missing cancel/done link on Party Attribute page." https://issues.apache.org/jira/browse/OFBIZ-5253
While navigate from Party profile page to create Party Attribute, there is no back option. Added missing cancel/done link on Party Attribute page. Not available in trunk and 12.04, not sure about other versions. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498406 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 12:19:49 +00:00
Hans Bakker f5cb118761 have the productglaccount list and add screen the same field order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498261 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 07:08:05 +00:00
Hans Bakker 5ae6d40ccb only show product glaccounts available for the organization on that row
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498260 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 07:01:38 +00:00
Hans Bakker cd8aaa303a product gl accounts were now showing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498257 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 06:48:20 +00:00
Christian Geisert 84e5d59ec7 Fixed wrong schemaLocation for manufacturing help files, see OFBIZ-5076
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497822 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:57:00 +00:00
Christian Geisert 7a42ba3885 Fixed problem with default price on inventory report (parameter name typo)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497817 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:35:58 +00:00
Hans Bakker c7f2838741 unwanted commit in r1497674
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497675 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 08:20:49 +00:00
Hans Bakker 92c73d4050 when an order is in foreign currency with an agreement that does not contain a currency, the entered currency is set back to the base currency: corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497674 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 08:18:45 +00:00
Hans Bakker a542bc3343 not possible anymore to change generic entity maps. message: Cannot modify an immutable entity object. Quantity in invoiceItem was modified, now copied to other variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496721 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 03:15:41 +00:00
Hans Bakker 9febbb5ee6 reduce size of percentage field in costcenter screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496362 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 07:08:18 +00:00
Hans Bakker 7a52186af0 show on the costcenter screen that the content of the input fields is a percentage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496346 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 04:10:21 +00:00
Hans Bakker 965c7e16f2 additional changes belonging to 1495294 because the amount was set wrongly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496337 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 02:09:11 +00:00
Hans Bakker 1c4f6e4ef0 change service name from isInvoiceForeign to isInvoiceInForeignCurrency on suggestion from Adrian
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495791 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 04:03:42 +00:00
Jacques Le Roux 955118dc03 A patch from Pierre Smits for "Return pdf should be generated in a new window." https://issues.apache.org/jira/browse/OFBIZ-5240
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495717 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 12:31:45 +00:00
Hans Bakker 27ce087ab8 make automatic application also working with foreign invoices and payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495294 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 05:44:15 +00:00
Hans Bakker 0e01510dc0 another bsh scriplet causing a logerror, change to groovy solved it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495277 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 03:19:32 +00:00
Hans Bakker e8a588f95e total gave error in log when quantity was blank and 0 still gave the total of quantity 1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 01:41:06 +00:00
Jacques Le Roux 7de84afaaa A patch from Ankit for "The Invoice Item type dropdown have same description for different invoiceItemTypeId." https://issues.apache.org/jira/browse/OFBIZ-5225
The Invoice Item type dropdown have same description for different invoiceItemTypeId on Agreement Terms page in accounting.

https://demo-trunk.ofbiz.apache.org/accounting/control/EditAgreementTerms?agreementId=10000

The description should be different that the invoiceItemType is for sales or purchase.
Eg: Invoice Fee(Sales)
Invoice Fee(Purchase)

Something to differentiate between the same description.

jleroux: while at it I also changed the French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494682 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 16:32:04 +00:00
Hans Bakker 19ff1cb393 missng security check for add accounting company
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494491 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 08:06:52 +00:00
Jacques Le Roux 4859fe7ab5 A patch from Leon for "no error message displayed if there's any exception while cancel selected order items" https://issues.apache.org/jira/browse/OFBIZ-5231
Select one order item, and click "cancel selected items" link-button, if exception occurs, the exception message doses not display as expected.
I added the "locale" before invoke "cancelOrderItem" service in attached patch.

jleroux: I did not test but this makes sense since, in case of GenericServiceException, resultMap will not be available. The result on screen will maybe be ugly but at least something will show


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494485 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 07:40:59 +00:00
Hans Bakker ad53a69f28 now you can also (next to the payment method type) enter the payment on the sales order using the payment method used by the related receiving accounting company
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494466 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 05:59:13 +00:00
Hans Bakker a47a06a4b1 when a sales order is completed and no payment is created, this will create a payment in the 'not paid' status which can be disabled in the accounting properties file, when it is a order in foreign currency it will use the same exchange rate as when will be used for the related invoice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494464 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 05:53:20 +00:00
Hans Bakker cecc38b6b6 fixed problem of not able to add accounting company, caused by r1494034 and reported by Pierre at https://issues.apache.org/jira/browse/OFBIZ-5229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494435 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 03:59:17 +00:00
Hans Bakker d7227aa3e4 only show companies in accounting which have an PartyAccntingPreference entry and not the whole organization.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494034 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 06:28:46 +00:00
Jacques Le Roux 175da7680e A patch from Deepak Dixit for "Row submit not working on Inventory Transfers screens." https://issues.apache.org/jira/browse/OFBIZ-5228
Row submit not working for "Complete Requested Transfers" flow. It missed the use-row-submit="true"



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493683 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 08:39:48 +00:00
Jacques Le Roux 83af74034f A patch from Leon for "Allow text data of agrement and its items accept "<" and ">" characters" https://issues.apache.org/jira/browse/OFBIZ-5209
It's common that an agreement text body contains those "special" characters.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493682 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 08:26:43 +00:00
Jacques Le Roux 7bfc413625 A slightly modified patch from Ankit Jain from a previous work by Nandani Aggarwal for "No method to remove a promo code from the shopping cart" https://issues.apache.org/jira/browse/OFBIZ-4291
When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method 

{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}

but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?

Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.

jleroux: 
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493512 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:01:56 +00:00
Scott Gray 85f3137230 Groovy script cleanup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493507 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 13:06:04 +00:00
Scott Gray 99a58796d1 Groovy script cleanup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493506 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 12:57:18 +00:00
Scott Gray a5fc6fad11 FIX: The Sales/Purchase Invoice GlAccount Override screen would always so the Remove button even when no overrides were in place
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493505 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 12:51:52 +00:00
Scott Gray 57503bd2b5 Simplified filtering in groovy script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493500 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 11:55:28 +00:00
Jacques Le Roux 4c187842a1 A fixing patch from Sergei Biletnikov for "Search orders by good identification" https://issues.apache.org/jira/browse/OFBIZ-5031
currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false);
is not correct, the result is the list, so the remedy is simple:
  currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false));



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493393 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 16:22:53 +00:00
Jacques Le Roux 715e5554a2 A slightly enhanced path from Sergei Biletnikov for "Search orders by good identification" https://issues.apache.org/jira/browse/OFBIZ-5031
I propose to extend the search mask for the search orders forms with the "Good identification" field.
A thing which can be improved is :
<option value="">Any good identification</option>   (in "applications/order/webapp/ordermgr/order/findOrders.ftl")
adding : "Any good identification" to the resource bundle.


Also, I found a bug which exists from 10.04 at least:
search orders by shipment method does not work properly, because:
{noformat}
applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

 currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false);

is not correct, the result is the list, so the remedy is simple:

 currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false));

{noformat}
My patch has this fix, but it is necessary to make this fix for other OFBiz version.

jleroux: I simply added the ProductAnyGoodIdentification label, I will commit the groovy fix apart for easier backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493387 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 16:18:42 +00:00
Jacques Le Roux 5fd10548e9 A patch from Pierre Smits for "PrintProductionRun Function doesn't open in new target-window" https://issues.apache.org/jira/browse/OFBIZ-5223
When printing the production run the pdf is generated in the same browser window. This should be in a new target window

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493070 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 13:47:26 +00:00
Hans Bakker 7da5f80673 missing label on invoice pdf
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1492966 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 06:55:31 +00:00
Adrian Crum 7b84188235 First pass at removing cached DOM tree code from EntityConfigUtil.java. I converted some of the code to use the new thread-safe models. I also fixed some concurrency problems in related classes by replacing DCL with java.util.concurrent classes. I discovered the new multi-threaded component loader was creating duplicate resources, so these changes fix that.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1490541 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 08:39:44 +00:00
Hans Bakker 3d05d7acbc payment edit screen actual currency not correct, reordered the fields, removed the actions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488659 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 10:40:07 +00:00
Hans Bakker c262409c97 create payment in home currency when order was in foreign currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488656 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 09:57:32 +00:00
Jacques Le Roux 90e57da9da Fixes a bug reported by Skip on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488188 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 12:11:27 +00:00
Jacques Le Roux b4735dcfc3 A patch from Ankit Jain for "User is redirected to showcart page when any error comes on checkout page." https://issues.apache.org/jira/browse/OFBIZ-5206
On checkout page if any error comes it redirects user back to showcart page with an error message.
Expected : Error should be shown on the same page.

To reproduce the issue,
Goto OrderEntry -> Add any product to cart -> click on Quick finalize order now select shipping address & shipping method but don't select any payment option and now click on "Continue to Final Order Review" link. You will be redirected to showcart page and with a error message. "Please select a method of payment."
And expected behaviour is to show the error message on the same checkout page.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488127 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 08:27:48 +00:00
Jacques Le Roux 45fee0240d Reverts r1487997 and uses Stephen's patch for Fixes "CheckOutEvents setCheckOutPages" https://issues.apache.org/jira/browse/OFBIZ-4161
There was an extra check in CheckOutEvents.setCheckOutPages that prevented an error message from being produced when no payment method was selected on the "How shall you pay" step of the checkout process. 

jleroux: and you got redirected to the order entry page, with the patch you stay on the payment method page.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488000 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 20:42:31 +00:00
Jacques Le Roux 995111a5c3 Fixes "CheckOutEvents setCheckOutPages" https://issues.apache.org/jira/browse/OFBIZ-4161
Simply returns an error in request and get to the view, as does shipping

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487997 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 20:35:05 +00:00
Jacques Le Roux 890b2e0abb A slightly modified patch from Parimal Gain for "Find Order functions - Not working when junk values entered for product Id" https://issues.apache.org/jira/browse/OFBIZ-5201
Problem specification and step -
1) Go to Order Manager app > Find Orders
2) Enter valid product id for which order exists
3) Relevant orders with entered product value would be shown in search results
4) Enter invalid product id - JUNK value
5) Error behvaior:All orders on the system would be highlighted 
6) Actual behavior: No order should be shown as search results, as no order exists with this JUNK product id on system

Observation -
When looked into code level found that system apply check for two condition -
1) If passes productId starts or ends with % or * then add that in condition list as it is and it returns all order that contains the word for product Ids.
2) If the above condition is failed the check if the product corresponding to product id is present or not.
3) If exists then check for variants (if its virtual)all this.
4) If product not exists then the action is missing i.e. no condition is added and it returns all order available.

Recommendation -
There are two ways to solve the issue -
1) If product corresponding to passes productId is not present then return message to user that order is not present.
2) If the thought process for current behavior is show all record if product not available then user should get a message as well that "Order is not available for your search product but we have all these order in system" to convey the correct message to user. 

jleroux: The 1st solution is used. I simply added in label that no productId entered would return all the orders, also in French



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487854 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 13:21:28 +00:00
Hans Bakker 73eb987ddd make payment method field optional on the edit payment screen to show the paymentmethod is empty. when mandatory the field will always show filled even if empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487357 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 07:21:07 +00:00
Hans Bakker ff2c038a34 improve payment form to select payment method depending on organization party
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487323 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 06:41:13 +00:00