Commit Graph
14503 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 70cc71aebf Applied patch from jira issue OFBIZ-4263.
When we link party from https://localhost:8443/partymgr/control/linkparty?partyId=10000 screen.
It is showing error on console. For console error please refer jira issue.
Thanks Amit for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096441 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 09:29:04 +00:00
Jacques Le Roux 13e570bcbf A patch from Nicolas Malin "Enhanced way of displaying "missing/incorrect fields"" https://issues.apache.org/jira/browse/OFBIZ-2132
Initial demand by Michael Pätzold
At the moment we concentrate on increasing the usability of the backend application. One thing we recognized is the way form errors are reported to the users. Now it's done by showing a list of entity fields, that are required. A more common approach would be to highlight the form controls, that were not/wrongly filled. Was/Is there any task related to that or something similar?

Nicolas's solution
With integration of JQuery and validate function integrate by Sascha, I extend the Form renderer to apply required class and alert the form when she submitted to pass by JQuery validate function.

JLR: I have added a required field to InternalName field in Edit Product Form. There are maybe other cases like that which should be improved...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096293 13f79535-47bb-0310-9956-ffa450edef68
2011-04-24 09:48:59 +00:00
Andrew Zeneski 8767ee5911 make sure orderItemSeqId is never null when creating OrderTerm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 16:10:36 +00:00
Erwan de Ferrieres 025ca68ca9 Correcting French mistakes for ProductOrderDecimalQuantityExistsToOverride
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094439 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 10:00:50 +00:00
Jacques Le Roux d08bd66ac6 A patch from Pierre Gaudin "Error in stock reception on same inventory item with same unit price" https://issues.apache.org/jira/browse/OFBIZ-4250
During the reception of stock, if the reception is made on a line of stock which already exists with the same unit price, an accounting transaction due to the stock price value change is created with an amount of debit and credit of 0.

This is not normal and generate an error in the service postAcctgTrans.

This aim of this patch is to avoid creation of accounting transaction linked to the stock price value change if the unit price does not change.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094126 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 10:15:23 +00:00
Jacques Le Roux e609f74879 A patch from Pierre Gaudin "Add a parameter to forbid order decimal quantity" https://issues.apache.org/jira/browse/OFBIZ-4257
Behavior before the patch :

    * you can add decimal quantity on shopping cart item (front office and back office) even if the product is a unit
    * there is no rounding on quantity on shopping cart item thus you get amount with a large number of decimal
    * reorder widget display quantity to reorder with a large number of decimal

What does this patch :

    * a new field "orderDecimalQuantity" is added into ProducStore entity. The value of this field can be set from EditProducStore form (into shopping cart section). Value can be "Y", "N" or empty.
    * a new field "orderDecimalQuantity" is added into Product entity. The value of this field can be set from EditProduc form (into shopping cart section). Value can be "Y", "N" or empty.
    * a new method "isDecimalQuantityOrderAllowed" have been add into productWorker class. This method test if order decimal quantity is allow for a product and a productStore. Product is superior on producStore. Here is the table of value :
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = empty => return True
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = empty => return False
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = empty => return True
    * addToCat and modifyCart car method have been modify to call isDecimalQuantityOrderAllowed. If result is true then quantity is rounding with order config value. If result is false then quantity is rounding to 0. No message is return.
    * to fix reorder quantity, then getQuickReorderProducts method have been modify to call isDecimalQuantityOrderAllowed. If result is true then quantity is rounding with order config value. If result is false then quantity is rounding to 0.

What the result :

    * You can forbid or accept to manage order decimal quantity for all product
    * You can forbid or accept to manage order decimal quantity for one product
    * Decimal quantity are now rounded with order config value.
    * reorder quantity is rounded with order config value or rounding to 0


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094121 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 09:17:21 +00:00
Sascha Rodekamp e59cbc4930 Bug - Fixed a bug reported by Ravindra Mandre. When creating a party the first and last name were decalred as mandatory field but this was not checked in the service definition.
I extended the service definition, now first name and last name are not optional anymore.

Orig Msg:


> Hi list,
>
> In partymgr when I am creating a person then on the form first name and
> last
> name are required fields but If I submit the form without passing the first
> name and last name , form gets submitted , it means required validations
> are
> not working. so I am curious to know Is there any problem with Validations
> ?
> I tried for the following url
>
>
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editperson?create_new=Y


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094007 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 15:15:27 +00:00
Erwan de Ferrieres 1ad6652d24 should be using the role attribute and not looking for a child element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092711 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:11:56 +00:00
Erwan de Ferrieres 5792b9aba4 Using <span/> for anchor instead of <a/>, resolving errors with firefox or chrome when using help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092503 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 20:31:14 +00:00
Jacques Le Roux 4b9953049b A patch from Stephen Rufle "Missing partyId on "Geo Location" link on viewprofile screen" https://issues.apache.org/jira/browse/OFBIZ-4255
On the view profile screen in the "Party Manager" app. The "Geo Location" link in the "Contact Information" box is not passing the partyId so when you get to the map page the profile id for "null" when it should be for "DemoCustomer"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092479 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:49:59 +00:00
Christian Geisert e9f7f30441 Improvement of german Labels
See OFBIZ-4195
Submitted by Konstantin N.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092353 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:49:13 +00:00
Erwan de Ferrieres e57fecbc8e An idea from Scott on user mailing-list, adding a link in help for the authorize.net gateway responses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092290 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:36:10 +00:00
Erwan de Ferrieres f39fb4f019 OFBIZ-4232 A patch from Deepak Dixit : Agreement item product price should be display as per the currencyUomId set for respective agreement item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092197 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:45:58 +00:00
Erwan de Ferrieres 7df2292c9a Still some label resources for agreement screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092196 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:44:19 +00:00
Erwan de Ferrieres d8b6360b32 Missing ProductUiLabel resource for agreement screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092173 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:26:05 +00:00
Andrew Zeneski 4b8b77c4f5 added modifiedPrice field to ShoppingListItem to allow shopping lists to be used to stage orders when a shopping cart object is not available
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 18:05:12 +00:00
Bruno Busco 5296fe401f Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091478 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:45:58 +00:00
Jacopo Cappellato e3e1c12430 Fixed bug that was causing, under some circumstances (failIfItemsAreNotAvailable set to N with not enough inventory on hand), negative qoh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091339 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 09:29:52 +00:00
Bruno Busco d3cbef7810 Added proper class style for a create button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090759 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:10:21 +00:00
Bruno Busco 4e9d7ce52d Added internationalized label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090758 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:09:22 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Ashish Vijaywargiya f33fb16e98 Bug fix. Adding support of x_duplicate_window that will help us not to see any duplicate authorization that can occur with customer in the predefined time limit. The time limit for this duplicate window is 120(2 minutes) - 28800 (8 hours). For more details please refer Authorize.net developer guide - Here is the screenshot for direct reference - http://oi55.tinypic.com/2ziah51.jpg. We have made this settings configurable so anyone can enable it if they are facing this issue on production instance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090226 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 12:54:33 +00:00
Erwan de Ferrieres e3006fb134 Still missing French uilabels for accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089608 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 20:03:26 +00:00
Erwan de Ferrieres 3f36eab55f Error when creating the French translation for AccountingFindApInvoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089347 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 08:20:11 +00:00
Erwan de Ferrieres 26d953fd00 Missing ProductUiLabels for the CommonInvoiceDecorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089342 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 07:51:53 +00:00
Erwan de Ferrieres abb6f7aced Adding the right uiLabel for referenceNumber field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089341 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 07:50:54 +00:00
Erwan de Ferrieres 2656065a0c Misc. missing French translations for the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088523 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:30:01 +00:00
Erwan de Ferrieres e9985a39e3 Adding missing uilabels in menu AccountingAddTax / AccountingConfirmationCancelOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088506 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:43:32 +00:00
Sascha Rodekamp 7cc04db7d3 Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Jacques Le Roux 1756e1df40 A patch from Andreas König "EntityLabel support for Product Category Link Types needed." https://issues.apache.org/jira/browse/OFBIZ-4236
applications/product/data/ProductTypeData.xml defines an EnumerationType with enumTypeId="PCAT_LINK_TYPE".

The relevant elements next to this enumTypeId are used in the module "catalog / category / links" (see screenshot after applying the given patch).
Up to now we use the description given by the XML-Seeds above "hard-wired" in CategoryForms.xml, but it would be nice to have...

    * a way to add i18n support for the Product Category Link Types by using the ProductEntityLabels.xml and
    * support for a dynamic generation of the drop down list.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088017 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 13:09:40 +00:00
Jacques Le Roux a813ce990a Closes "You must set at least a price with PURCHASE purpose to get a displayed price" https://issues.apache.org/jira/browse/OFBIZ-4235
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088010 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 11:58:21 +00:00
Jacques Le Roux 63b2a85c6d allow-html="safe" in DataResource.textData like for ELECTRONIC_TEXT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 21:27:49 +00:00
Hans Bakker 4eac15e856 missed some files on commit: 1087599
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087622 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 08:26:32 +00:00
Hans Bakker 2af631974d Updates to the image management system:
- Fixed the resize function can resize any format flie
- Fixed share image screen to get host from contentURL (if it has content)
- Fixed product detail screen in ecommerce
- Create the function for set default image to product content screen


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087599 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:49:06 +00:00
Sascha Rodekamp 13cf8abcc4 Bug - Create (upload) content in Party Profile does not work (https://issues.apache.org/jira/browse/OFBIZ-4179). The bug occurs when trying to upload a zip file. Tika was missing a class for dealing with zip files. I added commons-compress-1.1.jar. I also updated the UX for the upload function. When no file purpose was set the upload crashes. Therefore i added a field validation.
Orig. Msg.:
As it does not work in trunk I 1st thought it was a jQuery migration issue. But it does not work either in R9.04 and I guess this is the initial reason

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087254 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 11:22:05 +00:00
Andrew Zeneski b7f1a93d84 minor bug fixes; approving PO requires newStatusId (was missing), errors on receive PO when no currency was found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087058 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:48:31 +00:00
Andrew Zeneski b363bf784b fixed error on page when receiving single product w/ no ProductFacilityLocations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087037 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 18:51:59 +00:00
Erwan de Ferrieres 2181b0b013 Consistency with the page title for the tab menu item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 12:02:08 +00:00
Erwan de Ferrieres 70004982d7 Removing uilabels that doesn't exist, as the associated formFieldTitles are present
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086915 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 12:00:25 +00:00
Erwan de Ferrieres af399d6ada Missing call to ProductUiLabels in invoiceOverview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086913 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:58:43 +00:00
Jacopo Cappellato 98a7cdb316 Fixed form action that was missing the ofbizUrl tag; resorted from attributes. Thanks to Divesh Dutta for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086514 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 08:17:15 +00:00
Hans Bakker fbdc5e20c9 catalog category tree now ordered by seqnum and category name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086436 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 22:59:50 +00:00
Jacques Le Roux 3c7721d647 Inspired by Paul Foxworthy's patch at "createAgreementItem doesn't set agreementId in result" https://issues.apache.org/jira/browse/OFBIZ-4224 - OFBIZ-4224
The createAgreementItem service in applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml doesn't set the agreementId in the result map properly.

Line 129 is
<field-to-result field="agreementId" result-name="agreementId"/>
and should be
<field-to-result field="parameters.agreementId" result-name="agreementId"/>

JLR: minor detail I rather used newEntity.agreementId like in the line below newEntity.agreementItemSeqId


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085774 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 17:42:55 +00:00
Jacques Le Roux d943265798 A patch from Rene Scheibe "Invoice items should be sorted." https://issues.apache.org/jira/browse/OFBIZ-4230 - OFBIZ-4230
When creating an invoice via the service "createInvoiceForOrderAllItems" the order items are currently just fetched from the database without any sorting. This can result in a different sorting of invoice items vs. order items. Or when creating a new invoice due to a changed order the sorting between invoices can be different.

Sorts invoice items (in case they are derived from OrderItems) by "orderItemSeqId".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085726 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:46:46 +00:00
Jacques Le Roux 2a51d7167a A patch from Mirko Vogelsmeier "Exception if a description for an item on main.ftl in accounting is null." https://issues.apache.org/jira/browse/OFBIZ-4229 - OFBIZ-4229
In the main.ftl of the accounting-module there are a lot of items listed (like paymentMethodTypes, paymentTypes, ...).
If one of these items does not have a description defined, an Exception is thrown.
As a fallback to the description i did add the Id.
Like if paymentMethodType.description doesnt exists, it gets the paymentMethodType.paymentMethodTypeId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085697 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:24:38 +00:00
Jacques Le Roux b06b847f00 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
An improved patch for target-parameter functionality, now paramI indexing start with I=0 instead of 1.

JLR: I have updated the XSD to tell it must begin at 0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085671 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 09:17:17 +00:00
David E. Jones 706ee8e74e Added code to saveUpdatedCartToOrder to save billingAccountId from cart if cart has one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085416 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 14:54:42 +00:00
Erwan de Ferrieres fb63adcf92 Adding line breaks so the next element won't be splitted on 2 lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085367 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:56:45 +00:00
Erwan de Ferrieres 975e52f1be Unexistant uilabel was used: ServiceName, should be ProductServiceName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085357 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:28:31 +00:00
Erwan de Ferrieres c3620a572f Missing uiLabel for UseCartQuantity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085356 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:27:19 +00:00