Jacques Le Roux
0968b7bd35
Fixes bad indentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1616954 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 13:56:36 +00:00
Jacques Le Roux
03aa3e8480
The updateApprovedOrderItems defines the itemAttributesMap, itemEstimatedDeliveryDateMap and itemEstimatedShipDateMap IN parameters as optional. But if you use this service (updateOrderItems) out of an event context then you cross NPEs. This is because in the context of an event the missing parameters are initialised as empty. This hid the issue so far because updateApprovedOrderItems is only used once, called by an event.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1616940 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 13:05:05 +00:00
Scott Gray
545851bebb
Replace the ServiceXaWrapper with a simpler Synchronization implementation. Helps pave the way for use of alternative transaction management libraries that don't work well with our XA wrapper implementations. Still DebugXaResource to go.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1616925 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 09:00:39 +00:00
Jacques Le Roux
6b819dc71b
Correct indentation, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614736 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:42:46 +00:00
Jacques Le Roux
341821ecd6
Better solution for the Party Tax Id, thanks to Adrian and Pierre comments
...
Now the Party Tax Id is shown under the other parties information
No needs for a differentiation between vendor and client
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614734 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:38:41 +00:00
Jacques Le Roux
9d43b28b60
Fixed a typo
...
Adds Vendor in English label of PartyTaxId to clarify
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614608 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 10:38:42 +00:00
Jacques Le Roux
1fa4852b76
Better formatting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614592 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 09:17:17 +00:00
Jacques Le Roux
c8f1640aeb
This is useful when you have more lines in the right header column. It then prevents an override from the header left column
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614590 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 09:07:57 +00:00
Jacques Le Roux
1436c1a16e
In accounting, replaces billingParty by billToParty which is more clear (actually billingParty was a wrong name)
...
Introduces a billToPartyTaxId, this is now mandatory in at least France for VAT (http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml ), and might exist in other countries as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614562 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:59:17 +00:00
Jacques Le Roux
d620c66a75
Fixes a possible ArithmeticException: Division undefined
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614556 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:40:23 +00:00
Jacques Le Roux
d37521bb59
Introduces few VAT data, to be used later (coming)
...
Introduces PartyClientTaxId which is mandatory in some country (France for instance: http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614555 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:18:42 +00:00
Jacques Le Roux
960e986646
Improves some French accounting labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614550 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:00:30 +00:00
Jacques Le Roux
7578beb570
Better label
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614428 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 17:29:09 +00:00
Jacques Le Roux
aecc972c1d
A patch from Pierre Smits for "AddOtherPartyRelationship allows user to select roles the selected party doesn't have" https://issues.apache.org/jira/browse/OFBIZ-5694
...
When a relationship must be set for a party to another party, the role selector for the party shows all roles available in the data set.
This, however, must be limitied to the roles the party has.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614366 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 14:37:48 +00:00
Sharan Foga
5be705f70b
Applied OFBIZ-5684 (OFBIZ-2219) updates to manufacturing help screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614280 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 08:03:53 +00:00
Jacopo Cappellato
ac30f4f09e
Fixed the event of an eca definition from in-validate to invoke; this fixes a service validation exception. Part of OFBIZ-4363
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614025 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 13:18:40 +00:00
Jacopo Cappellato
bd36135eef
OFBIZ-5692 Wrong eca event set on changeOrderStatus and updateReturnStatusFromReceipt; thanks to Deepak Dixit for the help in testing the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614019 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 13:09:50 +00:00
Jacopo Cappellato
ecfc14a6bc
${bsh: to ${groovy: scriptlet conversions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613432 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:28:20 +00:00
Jacques Le Roux
da2da66c39
Fixes some typos in comments of TaxAuthorityServices class
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613245 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 18:55:20 +00:00
Jacques Le Roux
cc2dc59e02
Fixes descriptions in createProductPrice service definition and implementation (no functional changes)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613121 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 13:35:15 +00:00
Jacques Le Roux
e3fc7fd412
Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
...
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.
This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacopo Cappellato
0e2d37fdad
This reverts most of the changes committed in rev.951013 for OFBIZ-3802 because they caused a few issues as reported in the same Jira ticket.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611321 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 10:58:10 +00:00
Jacopo Cappellato
3b4e2b7ec5
Fixed miscellaneous errors spotted while reviewing the logs generated by the ArtifactInfo tool.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610918 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 07:16:15 +00:00
Jacopo Cappellato
76ad4975fa
Fix for bug reported in OFBIZ-5338: prevent the risk of adding fields to the response map that are not part of the OUT attributes of the service definition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610692 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:35:56 +00:00
Jacopo Cappellato
b86c3bbdaa
Applied fix contributed by Leon in OFBIZ-4363: In the definition of service "CreateDataResource", there's a (optional) OUT attribute "dataResource" which is used by method "persistDataResourceAndDataMethod" of org.ofbiz.content.ContentManagementServices; the field was never returned by the service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610685 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:30:07 +00:00
Jacques Le Roux
9e17ac349e
No functional change, removes an useless commented out attribute line: locale is always present in services contexts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610380 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 10:39:36 +00:00
Jacopo Cappellato
50f4fa4135
Applied another contribution from Anahita Goljahani to OFBIZ-5592: UX improvement - aligment Chart of Account.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610355 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:45:21 +00:00
Jacques Le Roux
3aa0eabfd5
A patch from Pierre Smits for "user in securityPermissionGroup "CONTENT_USER" can't access content application" https://issues.apache.org/jira/browse/OFBIZ-5673
...
When assigning a user to securityPermissionGroup 'CONTENT_USER' this user can't log into the content application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:23:18 +00:00
Jacques Le Roux
ef9582c387
A patch from Pierre Smits for "User with update permission can't access screens in content application" https://issues.apache.org/jira/browse/OFBIZ-5676
...
When a user has security permission 'CONTENTMGR_UPDATE' he should be able to access various screens in the content application, but he can't.
This applies to screens associated to menu-items:
Content
DataSource
Content Setup
DataResource Setup
Template
CMS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609885 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:13:49 +00:00
Jacopo Cappellato
c786057c0f
Fix by Darrell Donati for bug reported in OFBIZ-5578: setPackedOnly parameter was not used to prevent a shipment to be moved to its final status.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 08:36:08 +00:00
Jacopo Cappellato
fe92b15e5b
Fixed bug reported by Christian Carlow in OFBIZ-5599: Facility Pick Stock Moves "Cannot compare: r-value is null" error when ProductFacilityLocation.minimumStock is not set.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609406 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 07:10:42 +00:00
Jacopo Cappellato
d059884bae
Fix by Deepak Dixit for bug reported by Vyom Jain in OFBIZ-5602: Sales Order with dropship item(s) uses non-existent GenericValue field to display supplier information.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609398 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:48:26 +00:00
Jacopo Cappellato
94e83e061d
Applied fix by Harsha Chadhar for OFBIZ-5203: after the user pressed a "delete employment position type" button the find screen was not working properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609394 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:28:44 +00:00
Jacopo Cappellato
a22679b352
Fix bug reported and fixed by Igor Ishchenko in OFBIZ-5185: Unable to delete rate associated with employee position
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:10:31 +00:00
Jacopo Cappellato
758c666192
Improved labels of production run associations: thanks to Pierre Smits for the contribution in OFBIZ-5527 (I have modified the Italian labels).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609184 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:43:01 +00:00
Jacopo Cappellato
4e25f81233
Fixed field name in edit customer request screen; thanks to james yong for the report in OFBIZ-3474
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609167 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:19:53 +00:00
Jacques Le Roux
bb8634ea7a
Reverts the change in r1608517, better to add a "no shipping" method in product store
...
Keeps the indentations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 13:32:53 +00:00
Jacopo Cappellato
c7b517df80
Fixed bug reported in OFBIZ-5595 by nguyenthang: invoices status change was not working after the refactoring of the screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609087 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:42:02 +00:00
Jacopo Cappellato
92fafc6905
Fixed broken and unnecessary column.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609076 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:22:52 +00:00
Jacopo Cappellato
f8453232f1
Fixed wrong tax adjustment types set by the "addtax" service used by the manual invoice editing screens; thanks to Aswath Satrasala for the bug report in OFBIZ-3255
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609065 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 09:40:13 +00:00
Jacques Le Roux
5d249cf54a
In certain cases you need to protect from possible bugs here. This is what these changes do.
...
Improves indentation
Use real description for "Carrier Shipment Method" instead of only ID
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608526 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 17:50:39 +00:00
Jacques Le Roux
890c43b335
If there are no shipping methods, at least show "no shipping"!
...
Fixes indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608517 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 17:22:02 +00:00
Jacques Le Roux
9d3acd9f3c
Fixes a bug: can't call PackSession.getShipmentCostEstimate() w/o orderItemShipGroup.contactMechId && orderItemShipGroup.shipmentMethodTypeId && orderItemShipGroup.carrierPartyId && orderItemShipGroup.carrierRoleTypeId)
...
Fixes indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608495 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 15:37:06 +00:00
Jacques Le Roux
e1caa558a9
Fixes a wrong NPE check
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608491 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 15:33:19 +00:00
Jacques Le Roux
bee28fe7bd
A patch from yashwant dhakad for "Promotion item added twice when we use "Add all to cart" via ecommerce order history page." https://issues.apache.org/jira/browse/OFBIZ-5671
...
Reported by Deepak Dixit:
Steps to reproduce:
- Create an order (productId:WG-5569) as a logged in user.
- Go to eCommerce order history screen.
- Select newly crate order.
- On order status screen we have option to "Add all to cart"
- Click on "Add all to cart".
Current Behavior:
- All item added to cart including promotion item and promotion item added for item WG-5569.
- Now promotion item display twice one for promotion and one a line item.
Expected Behavior:
- Promotion item should be excluded at the time of "Add all to cart"
jleroux: addToCartFromOrder is only used in ecommerce OOTB (request addordertocart) so it's OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607457 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 19:43:37 +00:00
Jacques Le Roux
90204837e7
Better to reuse what I introduced in r1547719, did not read my comment enough, amount can be null...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 21:03:21 +00:00
Jacques Le Roux
1de1e504c0
Fixes a bug I introduced with r1547719, simplifies another case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606225 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 20:59:48 +00:00
Jacopo Cappellato
3b55a49974
OFBIZ-5012: converted some of the marketing simple services to entity-auto services. Based on a patch contributed by Nicolas Malin, but manually applied and modified in several places because the original patch had some issues.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606097 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 13:48:15 +00:00
Jacopo Cappellato
96ddaf1818
Applied fix from OFBIZ-3551: Patch to only show organization's custom time periods at trialbalance screen dropdown; thanks to Willem Janssen for the contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605707 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 08:54:08 +00:00
Adrian Crum
714050ef33
Updated build files to use/require Java 7.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1605524 13f79535-47bb-0310-9956-ffa450edef68
2014-06-25 17:59:46 +00:00