Commit Graph
14503 Commits
Author SHA1 Message Date
Jacopo Cappellato 7efc47a4ef Fixed: added missing default-entity-name attribute to the "entity-auto" service
definition for createReturnItemResponse. The missing attribute was causing a 
service execution error, preventing the processing of returns. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1790396 13f79535-47bb-0310-9956-ffa450edef68
2017-04-06 12:53:27 +00:00
Jacques Le Roux efe1096e93 Fixed: Sort Links in Lookup for Owner Content Id causes unwanted behaviour on
Find Content page
(OFBIZ-9279)

How to reproduce :
1. Log in the Content component
2. Go to the Content tab. https://localhost:8443/content/control/findContent
3. In the search form, open the lookup of the field ' Owner Content Id '
4. Click on any of the table header links to sort the table. Results will be 
displayed on a new unstyled window closing the Lookup dialog.

Problem:
1. Lookup dialog for ownerContentId uses "ListLookupContent" form to list 
   Content records.
2. "ListLookupContent" form extends "ListContent" form for all the fields.
3. Sort-field is set to true in "ListContent" form for all the fields.
4. Sort-field adds <a> hyperlink to "LookupContent" .
5. When clicked <a> link it moves to a new page and doesn't renders the response
   in the Lookup dialog.

Solution:
First of all it is a lookup to select ownerContentId so as the pattern followed
 in other lookups in OFBiz it should not have any sort-fields. 
To set it false, it should be overridden. If all fields needs to be overridden 
it is better not to extend "ListContent" form and add these fields right away.
Apart from that added 'header-row-style="header-row-2"' to form.


Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789874 13f79535-47bb-0310-9956-ffa450edef68
2017-04-02 12:11:44 +00:00
Jacques Le Roux 5f5dc1eb18 Fixed: Sort Links in Lookup for Data Resource Id causes unwanted behaviour on
Find Content page
(OFBIZ-9280)

How to reproduce :
1. Log in the Content component
2. Go to the Content tab. https://localhost:8443/content/control/findContent
3. In the search form, open the lookup of the field ' Data Resource Id '
4. Click on any of the table header links to sort the table. Results will be
 displayed on a new unstyled window closing the Lookup dialog.


Problem:
Problem:
1. Lookup dialog for dataResourceId uses "ListLookupDataResource" form to list 
Data Resource records.
2. "ListLookupDataResource" form extends "ListDataResource" form for all the 
fields.
3. Sort-field is set to true in "ListDataResource" form for all the fields.
4. Sort-field adds <a> hyperlink to "LookupResource" .
5. When clicked <a> link it moves to a new page and doesn't renders the response
 in the Lookup dialog.
Solution:
First of all it is a lookup to select DataResourceId so as the pattern followed 
in other lookups in OFBiz it should not have any sort-fields.To set it false, 
it should be overridden. If all fields needs to be overridden it is better not 
to extend "ListDataResource" form and add these fields right away.
Apart from that added 'widget-style="smallSubmit"' to dataResourceId according 
to the uniform pattern followed.

jleroux: I added the header-row-style="header-row-2" style

Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789863 13f79535-47bb-0310-9956-ffa450edef68
2017-04-02 09:26:36 +00:00
Jacques Le Roux b64830c092 Improved: Refactor lists related to gateway transactions in accounting
(OFBIZ-9282)

Refactor various list forms into grids.
Refactor various list form references in screen widgets.

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789781 13f79535-47bb-0310-9956-ffa450edef68
2017-04-01 09:14:49 +00:00
Jacques Le Roux 308b18ee83 No functional change.
Michael suggested in dev ML that we don't show the error in UI because VIEW_SIZE
 is only technical, which I agree with. The log is enough.
 
Actually it was already the case because I missed to move the
if (errMsgList) {
    request.setAttribute("_ERROR_MESSAGE_LIST_", errMsgList)
}
block below the now caught NumberFormatException

So I just need to remove the 2nd line in the catch, done.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789736 13f79535-47bb-0310-9956-ffa450edef68
2017-03-31 19:23:12 +00:00
Jacques Le Roux 4a3230c15c No functional change, fixes a C/P with wrong value name in errMsgList
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789711 13f79535-47bb-0310-9956-ffa450edef68
2017-03-31 17:00:58 +00:00
Jacques Le Roux ffc82e67ea Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

While working on OFBIZ-7759, I stumbled upon this by chance. 
It's unlikely that this NumberFormatException is ever caught, but not a reason 
to swallow it. 

I checked there are no other swallowed exceptions in Groovy files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789710 13f79535-47bb-0310-9956-ffa450edef68
2017-03-31 16:56:04 +00:00
Jacques Le Roux 58e5bececb Fixed: Link in LookupContent causes unwanted behaviour
(OFBIZ-7759)

How to reproduce :
- Log in the Content component
- Go to the Content tab
- In the search form, open the lookup of the field ' Owner Content Id '
- Click on the search button
- In the result list, click on a button link in the column 'Data Resource Id'
- The form to edit the Content will be displayed (a whole OFBiz seems to be 
  accessible from this new page)
- Close the lookup.
- Try to reopen it, it doesn't show anything anymore.


Problem:
1. Lookup dialog for ownerContentId uses "ListLookupContent" form to list 
  Content records.
2. "ListLookupContent" form extends "ListContent" form for all the fields.
3. As fields dataResourceId and ownerContentId are extended fields they creates 
  a link to Edit pages.
Solution:
First of all it is a lookup to select ownerContentId so as the pattern followed 
in other lookups in OFBiz it should not have any links to Edit page. If links 
are removed there will not be the problem as well.
Apart from that added 'widget-style="smallSubmit"' to contentId according to 
the uniform pattern followed.
Link to edit ownerContentId shows contentId in description rather than 
ownerContentId in "ListLookupContent" form , updated that too.

Thanks: Florian Montalbano for report and Aditya Sharma for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789665 13f79535-47bb-0310-9956-ffa450edef68
2017-03-31 12:10:40 +00:00
Jacques Le Roux 2f9a9ec030 Fixed: ERROR: Cannot do a find that returns an EntityListIterator with no
transaction in place
(OFBIZ-9286)

While working on OFBIZ-8202 ("Use try-with-resources statement wherever it's 
possible") I missed that you must begin the transaction before the 
try-with-resources, this fixes it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789045 13f79535-47bb-0310-9956-ffa450edef68
2017-03-28 05:25:01 +00:00
Jacques Le Roux 7a4dd6ba9c No functional changes.
Removes a superfluous empty line (ProductSearchSession class)
Removes usless same embedded GenericEntityExceptionS in another 
GenericEntityException (ShipmentServices class)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1789044 13f79535-47bb-0310-9956-ffa450edef68
2017-03-28 05:15:11 +00:00
Jacques Le Roux abc255e3b9 No functional change, as suggested by Jacopo on dev ML referring to r1788065
<<With code like the above, I think that embedding everything in the try
clause makes the code a bit less readable. One option would be to split the 
entity query code in two lines>>

I used this suggestion on all locations it made sense. In few places it was
better to let it as is; separating would rather make the code a bit less 
readable.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1788263 13f79535-47bb-0310-9956-ffa450edef68
2017-03-23 15:09:23 +00:00
Jacques Le Roux f9194f0a58 No functional change, removes a TODO I put there for later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1788202 13f79535-47bb-0310-9956-ffa450edef68
2017-03-23 09:16:38 +00:00
Jacques Le Roux e0cfe1aebf Improved: Use try-with-resources statement wherever it's possible
(OFBIZ-8202)

Use try-with-resources statements and a multi exceptions catch, format


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1788065 13f79535-47bb-0310-9956-ffa450edef68
2017-03-22 08:26:12 +00:00
Jacques Le Roux 16f0d33d79 Improved: Use try-with-resources statement wherever it's possible
(OFBIZ-8202)

Replace finally blocks closing EntityListIterator by 
try-with-resource, and refactors around

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787949 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 12:20:55 +00:00
Jacques Le Roux a8603796cd No functional change, just a TODO for later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787937 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 11:01:28 +00:00
Jacques Le Roux d5f275424d Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Removes swallowed exceptions, refactors

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787911 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 09:14:19 +00:00
Jacques Le Roux 5808874e25 Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Removes 2 swallowed exceptions, refactors

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787910 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:58:40 +00:00
Jacques Le Roux 7d4c3f380e Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Removes 2 swallowed exceptions, format


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787909 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:57:03 +00:00
Jacques Le Roux 44a3be2000 Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Fixes a bunch of swallowed exceptions and uses a catch multi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787908 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:55:47 +00:00
Jacques Le Roux 59ed8efd43 No functional changes, improves a bunch of exceptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787907 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:42:57 +00:00
Jacques Le Roux b68e5c2791 Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Fixes a bunch of swallowed exceptions

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787906 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:40:07 +00:00
Deepak Dixit ed45b78619 Improved: Make Create Menu tab bar for Contact consistent (OFBIZ-8201)
Thanks Avnindra Sharma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787823 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 18:05:23 +00:00
Deepak Dixit cd1da138ff Improved: Convert ShipmentMethodType entity CRUD service to entity-auto (OFBIZ-8664)
Thanks  Pawan Verma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787822 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:49:22 +00:00
Deepak Dixit deabc873e1 Improved: Convert QuoteTerm entity CRUD service to entity-auto (OFBIZ-8903)
Thanks  Pawan Verma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787818 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:39:21 +00:00
Deepak Dixit 0591d5fddb Improved: Convert CarrierShipmentMethod entity CRUD service to entity-auto (OFBIZ-8657)
Thanks  Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787816 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:31:11 +00:00
Jacques Le Roux 3a2497a7a1 Completed: Removes the now useless hot-deploy directory
(OFBIZ-9268)

The hot-deploy removal was discussed at https://s.apache.org/7Y2w

This completes the previous commit at r1787461

Note: 
We need to remove or implement with Gradle the "depends-on" feature in 
ofbiz-component files
IMO, the applyOfbizPatchesAndHotDeploy.sh and svnUpHotdeploy.bat scrupts should 
be removed, done




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787473 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 18:39:25 +00:00
Jacques Le Roux baca5bc2d5 Improved: partially refactor list related forms in Manufacturing widgets
(OFBIZ-9236)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787430 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:59:03 +00:00
Jacques Le Roux cdba59c521 No functional change, fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787428 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:49:49 +00:00
Jacques Le Roux 644a47615f Improved: Refactor lists related to contactlist forms in partymgr
(OFBIZ-9266)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787220 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 17:35:57 +00:00
Jacques Le Roux b1dce632d5 Improved: refactor list related forms in Lookup widgets
(OFBIZ-9232)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

This was reverted and is now back with bugs fixed

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787185 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:32:31 +00:00
Jacques Le Roux ba577d82be Improved: refactor list related forms in Cost widgets
(OFBIZ-9229)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

This was reverted and is now back with bugs fixed

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787184 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:32:06 +00:00
Jacques Le Roux 760ac284b8 Fixed: Error in accounting report inventory valuation with through date with
an empty value.
(OFBIZ-9265)

Go to https://localhost:8443/accounting/control/InventoryValuation and clear 
the Through Date, we get an error. 
The provided patch fixes this by setting the default thruDate to now.


Thanks: Francis Douet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787176 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:18:05 +00:00
Jacques Le Roux e342a0bb7a Fixed: While re-ordering an order, order terms doesn't set
(OFBIZ-9252)

Place an order and click on create as new order button on order detail page.
All the information is properly copied over to that order but order terms are 
not copied to newly created order.
Order Terms should be copied while creating cart object.


Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787133 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 07:16:40 +00:00
Jacques Le Roux a2fea6cc11 Improved: Disentangle unused Accounting labels
(OFBIZ-8290)

This removes some unused labels from the accounting component. 
Because of OFBIZ-8154 being unfinished (but mostly done), I all checked them by 
hand. So I'm sure they are really unused

Note: Remains 304 unused Accounting labels

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787132 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 06:41:40 +00:00
Jacques Le Roux dd2de6cee6 Improved: Make Create Menu tab bar for Routing consistent
(OFBIZ-8191)

Add a create Routing tab bar in the main decorator to maintain the consistency 
throughout the tab bar of Routing.

Thanks: Avnindra Sharma for the patch, Pierre Smits for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787087 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 18:06:48 +00:00
Jacques Le Roux 547b765835 Improved: Wrong <"zh_TW" instead of "zh-TW" in 2 labels files
(OFBIZ-9260)
This is not really a bug because IIRW, for historical reason, we handle both in
 labels management. But this is really a problem when you use the "Validate" 
 option in Eclipse. Because those errors add to others and make complicate to 
 spot important issues in XML code.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787024 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 11:00:41 +00:00
Jacques Le Roux add732cc07 No functional change, Attribute 'type' is not allowed to appear in element
'field-map'

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786988 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:28:07 +00:00
Jacques Le Roux b2bb3382d8 Reverted: refactor list related forms in Cost widgets
(OFBIZ-9229)

I found 1 error I did not spot earlier

<grid name="ListCostComponentCalc"
uses type="list"


I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786987 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:24:34 +00:00
Jacques Le Roux a2fe8c41b0 Reverted: refactor list related forms in Lookup widgets
(OFBIZ-9232)

I found 2 errors I did not spot earlier

<grid name="ListAgreements" 
uses type="list"

<grid name="ListPaymentGroupMember" 
does not end with </grid 

I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786986 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:23:50 +00:00
Jacques Le Roux 0933f18a11 Improved: refactor list related forms in Manufacturing widgets
(OFBIZ-9236)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786984 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 06:33:20 +00:00
Jacques Le Roux f592bf9ab5 Improved: refactor list related forms in Lookup widgets
(OFBIZ-9232)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786919 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:59:23 +00:00
Jacques Le Roux 315d0eaf5d Improved: refactor list related forms in Cost widgets
(OFBIZ-9229)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786916 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:51:38 +00:00
Jacques Le Roux 117ac9ce96 Improved: refactor list related forms in BillingAccount widgets
(OFBIZ-9215)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786915 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:47:52 +00:00
Hans Bakker 0b0b0912a6 ://issues.apache.org/jira/browse/OFBIZ-9257: various problems in SFA
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786622 13f79535-47bb-0310-9956-ffa450edef68
2017-03-13 01:30:17 +00:00
Jacques Le Roux be69af32f6 Fixed: catalog/control/FindReviews does not render proper column data
(OFBIZ-9133)

go to https://localhost:8443/catalog/control/FindReviews
find productId=GZ-2644
notice the table columns do not match the data

Here the problem is :
1. FindReviews page includes "ListReviews" form to render this content.
2. Here "use-when" attribute is used with "field" element on "productRating" 
  and "productReview" for conditions "statusId != 'PRR_DELETED'" and 
  "statusId == 'PRR_DELETED'"
3. Citing documentation of "ignore-when": "This attribute is defined to enable 
  ignoring a field on a form of type list or multi, which is not possible using 
  use-when attribute".
4. So when condition is not true it renders a empty <td></td> causing data to 
  be placed inappropriately
5. Here if the "use-when" attribute is replaced with "ignore-when" attribute 
  it will make the columns to match with apt data.

Solution:
Replace "use-when" attribute with "ignore-when" attribute amending conditions 
used accordingly.

Thanks: Wai Tam for the report, Aditya Sharma for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786525 13f79535-47bb-0310-9956-ffa450edef68
2017-03-11 19:25:31 +00:00
Jacques Le Roux 9000ac0f6e Fixed: compareBigDecimals in org.ofbiz.minilang.method.conditional.Compare does
not compare certain values correctly
(OFBIZ-6386)

After fixing the issue  in
trunk r1786079
R16.11 r1786080
R15.12 r1786082

These tests were broken
auto-invoice-tests.testGlPostingOnCancelCheckRun
auto-payment-tests.testGlPostingOnCheckRun

This is due to expressions like this
<set field="totalPayableDebitAmount" value="${payableDebitTotal + 36.43}" type="BigDecimal"/>

Using a local BigDecimal fixes the problem

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786332 13f79535-47bb-0310-9956-ffa450edef68
2017-03-10 12:23:29 +00:00
Jacques Le Roux 509b92eb55 Fixed: The ecommerce breadcrumb fails when you come from the catalog product
link
(OFBIZ-9234)

To reproduce
# Get to https://demo-stable.ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-1000
# Click on the "Product Page" button

You may notice an error which does appear erratically but most of the time, 
same on trunk demo and locally. 

This happens because sometimes the _BREAD_CRUMB_TRAIL_ session attribute is 
empty or null. "Why not alway?" you might ask. I had no time to investigate but 
I guess because there is no bread crum trail when coming from catalog, and for 
some weird reasons, it's sometimes there.

Anyway my fix is simple, if there is no _BREAD_CRUMB_TRAIL_  in session 
I bypass the bread crum block in BreadCrumbs.ftl. It's not perfect but look far 
better



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1784708 13f79535-47bb-0310-9956-ffa450edef68
2017-02-28 10:02:25 +00:00
Jacques Le Roux 4ba7d19982 No functional change, uses asmselect in findparty screen (LookupParty)
It was the last missing place, I did not notice last time. If I had enough time
I'd make that internal and not a ugly hack :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1784254 13f79535-47bb-0310-9956-ffa450edef68
2017-02-24 10:26:03 +00:00
Jacopo Cappellato 9537673e5b Fixed: straight line fixed asset depreciation method was not computing properly
depreciation transactions for assets that are used after their expected end of 
life.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1783388 13f79535-47bb-0310-9956-ffa450edef68
2017-02-17 12:45:31 +00:00
Jacques Le Roux 1ac56553bd Fixed: report GL Account Trial Balance
(OFBIZ-9216)


Go to Accouting --> Organization GL Settings -->Accounting button – >> 
reports --> GL Account Trial Balance
this report the give me an error 

Thanks: Moatasim Al Masri for report, Pierre Smits for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1783202 13f79535-47bb-0310-9956-ffa450edef68
2017-02-16 13:32:00 +00:00