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
Jacques Le Roux
1873e91a48
First uses of new posScreen methods setWaitCursor and setNormalCursor : during login and processing sale.
...
We will see later if other uses are needed (btw not sure during login si really useful)...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488821 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 21:52:44 +00:00
David E. Jones
b83e151ce6
Added valve to support incoming HTTP requests from an SSL Accelerator that are not HTTPS/SSL requests, but that should be treated by the server as secure
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488748 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 18:08:59 +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
Jacques Le Roux
e775b56afb
Resolves point 3 in https://issues.apache.org/jira/browse/OFBIZ-259#action_12459196
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488471 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 00:33:53 +00:00
Jacopo Cappellato
b74959d3ac
Removed invalid log parameter: thanks to Danny Gaethofs for the bug report (OFBIZ-551).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488284 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 14:33:26 +00:00
Jacques Le Roux
518daaa0ac
Corrects a strange behavior explained in https://issues.apache.org/jira/browse/OFBIZ-259#action_12459196 point 1.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488277 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 14:24:10 +00:00
Jacques Le Roux
31a914a741
Corrects a strange behavior explained in https://issues.apache.org/jira/browse/OFBIZ-259#action_12459196 point 2.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488273 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 14:16:27 +00:00
Jacques Le Roux
2d4ebae2ae
A patch from Stefan Huehner "JavaMailContainer is broken for all password not consisting of only lowercase characters" ( https://issues.apache.org/jira/browse/OFBIZ-543 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488137 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 06:49:52 +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
48cc1c73f1
Fixed update problem when there is no statusId on an existing Example, as an example
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488041 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:34:34 +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
Jacques Le Roux
3732a65dd9
Prevents to show Product selection when using SKU touch when there is only one product
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487991 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 14:53:29 +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
e80ed7c2aa
Trivial formatting improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487970 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 11:54:22 +00:00
Jacopo Cappellato
a4c602609a
Trivial layout improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487969 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 11:52:15 +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
Jacques Le Roux
a692142838
To resolve "Harcoded string to POS startupFile in GUIAPP component" ( https://issues.apache.org/jira/browse/OFBIZ-471 )
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487891 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 21:26:10 +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
Si Chen
e0356e3658
Reverting SVN r 486834. This caused a bug on certain types of forms where a column which should be there was not displayed properly.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487657 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:53:59 +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
Si Chen
ce38a5527d
Fixed off by one bug with rendering date fields. These were truncating the date fields from 2006-12-15 to 2006-12-1.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487653 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:36:04 +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