Commit Graph
19930 Commits
Author SHA1 Message Date
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
Adam Heath dd6ba6d70b FIX: Oops, hot-deploy/docs building was broken, because I missed 2 lines
when I up-copied the externalsubant/hotdeployant feature tree.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497897 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:30:09 +00:00
Adam Heath d950b6fb05 FEATURE: Allow constant numbers to be directly added to a query, instead
of having to deal with some kind of map/generic value.  This makes it
simpler to use full-text-search queries thru the entity
engine(postgresql and oracle).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497893 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:39 +00:00
Adam Heath 35f83deb96 FEATURE: Add extension points to the controller login workflow; this
allows other components to automatically insert themselves, without
having to modify any existing files.  This can be used for integrating
with Jasig CAS, or with OpenID.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497892 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:32 +00:00
Adam Heath 256a4af82b FEATURE: Allow for externalLoginKey parameter generation to be turned
off; the use for this feature will become apparent shortly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497891 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:24 +00:00
Adam Heath e746f4da83 FIX: java.sql.Timestamp extends java.util.Date, and both have converters
registered.  In some cases, however, the Date convertor would be used
instead of the more correct Timestamp convertor.  This fix implements a
most-specific type algorithm to find the better convertor.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497890 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:16 +00:00
Adam Heath 8a497262d9 FIX: If using <extend-entity> to change the type of a pre-existing
field, then we need to be certain to remove the existing defined field
from the list of available fields.  Otherwise, you'll end up with the
same field being queried in SELECT, and the same field being updated in
INSERT or UPDATE.

This issue was discovered when changing the type of a pre-existing
field(so that the length of the field could be increased).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497889 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:09 +00:00
Adam Heath 3f0e1ff827 FEATURE: Export ofbiz.home.dir to external projects, so that they can
continue to either auto-detect the location of ofbiz, when built
separately, or do the right thing when called during a top-level ant
run.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497888 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:08:02 +00:00
Adam Heath 870f6d8ae7 OPTIMIZE: For all <subant> calls that need to deal with possible
extension compnonents, switch them over to a macro, <externalsubant>.
The reason for this will soon become apparent.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497887 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:07:57 +00:00
Adam Heath 909b82f487 OPTIMIZE: Make the targets clean and build use a common macro, so that
they both handle the case of hot-deploy/build.xml in the same way.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497886 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 19:07:52 +00:00
Jacques Le Roux 61e4de019a A patch from Arpit Singh Pandya for "Cancel/Done is not working correctly on Create User Login page." https://issues.apache.org/jira/browse/OFBIZ-5252
When we navigate on create user login page from party profile on clicking "Create New" link in User Name(s) Section, "Cancel/Done" is not working correctly on Create User Login page. partyId is missing with link. It is not working on trunk and 12.04, not sure about other versions. 

jleroux: 11.04 is concerned, 10.04 is OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497839 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 16:46:18 +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
Christian Geisert ce051d26c7 Missing UI Label translations to de Locale for Tags, see OFBIZ-5190
Submitted by Carsten Schinzer


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 14:01:17 +00:00
Jacques Le Roux 538938e115 A patch from Petr Pytelka for "Czech localization (CommonUiLabels.xml)" https://issues.apache.org/jira/browse/OFBIZ-5249
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497731 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 10:57:33 +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
Jacques Le Roux 2d2e190856 A slightly enhanced path from Leon for "in zh locale, state does not change to "No States/Provinces exist" if select a country without any state defined" https://issues.apache.org/jira/browse/OFBIZ-5246
With "zh" (chinese) locale, coutry-state associated list, if you choose a country there's no any associated state defined in system, the state filed does not change.
cause: incorrect translate of "CommonNoStatesProvinces" for "zh" locale. In that, it use full-width colon ":" instead of half one plus blank space(": ").
why half-width and blank space (": ")? see code in "getDependentDropdownValues" function:

jleroux; I added a comment to prevent such cases in future

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497376 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 14:32:10 +00:00
Jacques Le Roux 1922c31b56 A patch from Petr Pytelka for "Czech localization (conditional.xml)" https://issues.apache.org/jira/browse/OFBIZ-5247
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497341 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 13:13:18 +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
Jacques Le Roux 5dba698b83 No functional changes while working on OFBIZ-4794
* Organize imports
* Fix wrong comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495807 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 11:02:41 +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 bc998bde21 Fix a typo introduced with r1495716
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495726 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 13:35:30 +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
Jacques Le Roux 74adcb1b82 A patch from Pierre smits for "Enhancing Dutch WebPoS labels" https://issues.apache.org/jira/browse/OFBIZ-5242
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495716 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 12:29:33 +00:00
Adrian Crum 2c4a08ac5b Fix sort column styling in Flat Grey theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495301 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 07:21:47 +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
Adrian Crum b23cbb323e Fix for NPE introduced in rev 1494057, reported by Ankit Jain on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 15:52:27 +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
Jacques Le Roux 7cc0bd93c1 A patch from Ankit for "Priority field is missing on Add/Edit Project form." https://issues.apache.org/jira/browse/OFBIZ-5230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494202 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:00:37 +00:00
Adrian Crum 129144e2bc Form widget sort field improvement - add the ability to specify help text on column headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494057 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 07:58:25 +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
Jacopo Cappellato a4db370bbc Removed appender-ref reference that I forgot to remove as part of 1489461; thanks to Deepak Dixit for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493658 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 06:57:40 +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