Commit Graph
7832 Commits
Author SHA1 Message Date
Jacopo Cappellato a776f08193 A bunch of fixes for html validation for the order view screen; no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489999 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 07:51:17 +00:00
Jacopo Cappellato d1039ca839 Added checks to avoid NPE: this should fix the bug reported in anonymous checkout by Rohit Sureka in OFBIZ-561.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489992 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 07:05:11 +00:00
David E. Jones ad8d6c0674 Changed so price conditions must succeed on the product itself and not on the product OR the virtual product if the main product is a variant; I don't know why that was put in there in the first place, so just commenting out for a while to see if it causes any problems; considering the virtual product does cause problems in certain circumstances with false positives on conditions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489958 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 00:25:53 +00:00
Jacopo Cappellato 8ff7435f96 Minor change to fix an html validator warning.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489920 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 18:58:47 +00:00
Si Chen de001f6996 fixed incorrect entity name used in remove store promo service
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489516 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 00:04:22 +00:00
Si Chen ed3be9907d better classification of some customer credit, deposit, and prepaid expenses accounts
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489499 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 23:29:15 +00:00
Jacques Le Roux 425a44b063 Corrects "False message in receive return" (https://issues.apache.org/jira/browse/OFBIZ-550)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489476 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 22:09:40 +00:00
Jacopo Cappellato 821e4a4a68 Cleaned up variable to avoid incorrect information in the order detail payment box when billing account and other methods are both selected.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 16:59:00 +00:00
Jacopo Cappellato 536c8a546d Some minor refactorings to the way the billing account is set in the cart: now it is sufficient to set the billing account id using the setBillingAccount* methods (already available) and it is no more necessary to set the payment method to EXT_BILLACT in the cart.
In fact the correct OrderPaymentPreference for the billing account is created by the cart when the order is created (if a billingAccountId is set).
So now, if you want to add a billing account to the cart you can simply do this:
   cart.setBillingAccount(billingAccountId, maxAmount);
and you can remove the billing account from the cart with:
   cart.setBillingAccount(null, 0.0);

This also fixes a bug that was happening when a billing account was selected and an error was returned (no credit available): the EXTBILLACT method was left in the cart, leading to an incorrect order.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489337 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 12:12:28 +00:00
Si Chen deec93e27b Fixed invoice item type dropdown to be more flexible. Now it shows the item types for a given invoice type instead of using a non-extensible heuristic.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489239 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 01:14:09 +00:00
Hans Bakker dfae545b08 Add a description field to the subscription entity to be able to have a textfield search on this entity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489236 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 00:53:09 +00:00
Si Chen a19f8a1cf5 Fix invoice item type map seed data for commissions and interest invoice. These need to have distinct keys.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489234 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 00:33:50 +00:00
Si Chen 588c741791 map interest invoice to interest invoice item types in seed data
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489229 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 00:18:51 +00:00
Si Chen 963843a2e2 new commission expense gl account type
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489219 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 23:14:18 +00:00
Si Chen 05c7525892 new return reason: COD payment rejected
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489205 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 21:49:26 +00:00
Si Chen e17f30da69 Added support for selecting commission invoice item types for commission invoices.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489188 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 20:16:12 +00:00
Jacques Le Roux 2ad09d71b1 A patch from Lukas Steiner "Invalid link to product on invoice-overview" (https://issues.apache.org/jira/browse/OFBIZ-556).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489144 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 17:11:00 +00:00
Jacques Le Roux bb168d1d34 A part of a patch from Shi Yusen "More accounting UI labels into Chinese." (https://issues.apache.org/jira/browse/OFBIZ-555).
For now I took only the new file (AccountingEntityLabels_zh.properties) as it appears that there are conflits with existing file (AccountingUiLabels_zh.properties) and I'm unable to do anything about that.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@489139 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 16:55:19 +00:00
Si Chen 0d39ac5a98 refactored billing account worker to produce a getBillingAccountOpenOrders method
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488878 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 00:56:20 +00:00
Si Chen 54a8f52cae additional billing account available balance method
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488867 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 00:26:06 +00:00
Si Chen a967fc27ff Clear out rejected payment methods from cart so they don't get re-authorized.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488848 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 23:00:28 +00:00
Jacopo Cappellato 72323451c8 Misc fixes and cleanups for the checkout process:
1) cleaned up some old code
2) now the selected billing account (if any) will be stored in the cart

However this patch should be intended as a temp fix because there are some parts of the code there are still a bit obscure to me and will need further testing and cleanups.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488588 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 08:55:49 +00:00
Jacopo Cappellato 2b24624f0c Added default system currency for fixed asset std costs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488565 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 07:31:49 +00:00
Jacopo Cappellato 6a76fc7ffd Applied patch from Anil Patel to combine ListFixedAssetStdCosts and EditFixedAssetStdCost defined in FixedAssetScreens.xml into one screen: OFBIZ-553
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488562 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 07:24:01 +00:00
David E. Jones e2a6ead3ff Applied patch from Anil Patel in Jira #OFBIZ-549 to implement WorkEffort keyword indexing and a manual keyword admin screen; this is a good start but still a couple of things to do on it
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488043 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:37:42 +00:00
David E. Jones 142a03851d Fixed update problem when there is no statusId on an existing WorkEffort
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488040 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:34:08 +00:00
Jacopo Cappellato 6e6e8abd5a Added demo content for the following (mandatory) InventoryItem fields: currencyUomId, ownerPartyId, unitCost.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487971 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 11:56:32 +00:00
Jacopo Cappellato fe691e85c3 Small fix to the path for the noNamespaceSchemaLocation attribute.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487954 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 10:14:17 +00:00
Si Chen b855f15d73 Set width/height of batch generated shipping labels to 669x724 pixels
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487794 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 12:08:21 +00:00
Jacopo Cappellato c47b822de2 Added link and event to initialize a cart from an existing order: this implements the ability to clone an order.
The link to run it is at the bottom of the "order view" screen.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487781 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 10:06:36 +00:00
Jacopo Cappellato 18b0ee03ca When a cart is loaded from an existing order, if the ship group is associated to a supplier, then this information is stored in the cart.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487780 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 10:04:27 +00:00
Jacques Le Roux c8b4d5ae1a There was a little bug in Menus.xml in the patch from Anil K Patel for "Parameterize CommonFacilityDecorator location in FaclityScreens" (https://issues.apache.org/jira/browse/OFBIZ-538) that prevents to show last menu
Also wants to delete FaciltityTabBar.ftl

 	  	 



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487666 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 21:18:38 +00:00
Jacques Le Roux 28d60d45f1 A patch from Chris Howe "orderview dropdown of destination addresses sometimes doesn't show information as text in dropdown" (https://issues.apache.org/jira/browse/OFBIZ-367).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487654 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:36:44 +00:00
Jacques Le Roux 9c27d8b2c2 A patch from Anil K Patel " Parameterize CommonFacilityDecorator location in FaclityScreens" (https://issues.apache.org/jira/browse/OFBIZ-538).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487648 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:26:40 +00:00
Jacques Le Roux 0b6e21450c A new "debug SMTP option" in general.properties to allow easier debugging of SMTP emails.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487570 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 14:33:18 +00:00
David E. Jones a35b1ac478 Implemented initial WorkEffortSearch class with a few different constraints, etc; also add some entities for storing data about work effort searches and their results
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487512 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 10:29:34 +00:00
David E. Jones 004723c3fb Some cleanups on the DataResource text edit pages, and fixed the Html one to actually populate the ElectronicText.textData instead of always leaving it blank
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487467 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 06:54:27 +00:00
Si Chen cf55573682 Fix typo for commissions due gl account
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487384 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 23:14:30 +00:00
Si Chen 3762db260c New GL accounts and account types for supporting sales commissions on the general ledger
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487381 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 23:00:17 +00:00
David E. Jones 110db29a80 Added WorkEffortKeyword entity, which is like the ProductKeyword entity and intended to be used the same way; also added indexes on the keyword fields which can hopefully be used sometimes to speed up queries on this, though not always because of like and wildcards
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487378 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 22:41:02 +00:00
Jacques Le Roux be1404d20d A patch from Rashko Rejmer "Wrong request map in work effort component" (https://issues.apache.org/jira/browse/OFBIZ-541).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486864 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 22:19:35 +00:00
Jacques Le Roux 3254efb086 A patch from Rashko Rejmer " Not necessary link in invoice screen" (https://issues.apache.org/jira/browse/OFBIZ-545).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486829 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 20:38:05 +00:00
Si Chen 3560ffea41 oops. bad fk field from PaymentAndApplication to PaymentApplication
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486444 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 01:13:36 +00:00
Si Chen 11f3518ad8 misspelling of invoice status
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486443 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 01:13:11 +00:00
Jacopo Cappellato 1fe37f202e Minaor html fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486422 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 23:57:10 +00:00
David E. Jones a86f34cf2f Applied improvement patch from Anil/Ashish for WorkEffort* maint screens from Jira #OFBIZ-540; made one small change to this to make the 4 statusId fields on both sides of the WorkEffortGoodStandard entity optional (removed * and set allow-empty=true)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486370 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:23:12 +00:00
Si Chen 34b78990ff additional relations from the PaymentAndApplication view-entity to the Payment and PaymentApplication entities
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486267 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 18:24:39 +00:00
Jacopo Cappellato 3f03313083 If a Invoice is applied to a BillingAccount, Payment should be applied to Invoice and also set BillingAccountId in PaymentApplication record. So that the total Invoice amount and Payment amount whould balance for a BillingAccount number.
For details, see the interesting discussion here http://www.mail-archive.com/ofbiz-dev@incubator.apache.org/msg00970.html


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486056 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 08:18:38 +00:00
Jacopo Cappellato 25790a81cc Fixed bug where payment applications associated to a billing account and to a return invoice were considered in the billing account balance as outbound payment.
Part of OFBIZ-93

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486051 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 07:27:42 +00:00
David E. Jones 2a824a2694 Applied patch from Anil Patel and Ashish Vijaywargiya with admin screens, service, etc for the WorkEffortReview, WorkEffortContent, and WorkEffortGoodStandard entities; Jira #OFBIZ-540
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486033 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 05:19:30 +00:00