Commit Graph
642 Commits
Author SHA1 Message Date
Adam Heath 0062d852d7 Also check OrderAdjustmentBilling for an orderId linkages when
displaying InventoryItem records.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982872 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:47:10 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 327081a1bb Replaced all usage of CommonWorkers.hasParentType(...) with the EntityTypeUtil version.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981447 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 10:48:06 +00:00
Ashish Vijaywargiya 27e6d4fbc3 Applied patch from jira issue - OFBIZ-3872.
Error in Screen Ap -> Invoices -> Commission Run.

The following error screen appears when we click on find button with

partyId - Demo Agent (DemoCustAgent)
fromDate - (set current date)

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/ap/InvoiceScreens.xml#CommissionRun: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection (java.lang.String cannot be cast to java.util.Collection)

Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978806 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 06:13:06 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Vikas Mayur 25c3810fd8 Added payment lookup specific to Account Receivable and Account Payable application. This fix a bug with the payment types that was showing up wrong values in the lookup screen used before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950986 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 13:23:47 +00:00
Vikas Mayur 9740afd145 Added invoice lookup specific to Account Receivable and Account Payable application. This fix a bug with the status and invoice type
that was showing up wrong values in the lookup screen used before.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950936 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 10:24:02 +00:00
Vikas Mayur 17d428c0f6 Applied a slightly modified patch provided by Surya Kusumakar on jira issue OFBIZ-3337 (https://issues.apache.org/jira/browse/OFBIZ-3337)
This fixed a bug with inactive financial account(s) which does show up while creating a new payment or creating a batch of payments.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950892 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 07:12:21 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux 2b49c6049d Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:18:07 +00:00
Vikas Mayur c152093e71 Received status in not applicable on AR invoice as it was used in running mass operation on invoice selected from the find invoice result page. The correct status should be Sent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947055 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 16:13:38 +00:00
Erwan de Ferrieres e1ced942e4 XHTML validation errors round 2++ (accounting) - OFBIZ-3754 (https://issues.apache.org/jira/browse/OFBIZ-3754)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946309 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 17:52:57 +00:00
Bruno Busco 86c3e38bff A patch from Blas Rodriguez Somoza
OFBIZ-3720 - XHTML validation errors round 2+ (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3720
GlReconciledFinAccountTrans.ftl
Line 149: input can't be directly table must be inside td.
Line 203: invalid td close

manualCCTx.ftl
Lines 64,54,62: script can't be directly inside table must be inside td.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937670 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 18:50:15 +00:00
Scott Gray 63e75ce253 Fixed wrong class name, reported by Blas Rodriguez Somoza in OBIZ-3715
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935434 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:32:56 +00:00
Scott Gray 11ab7cdeac Fix bad variable reference, reported by Blas Rodriguez Somoza in OFBIZ-3713
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935432 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:23:08 +00:00
Scott Gray 911a066540 Added missing import. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3712.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:54 +00:00
Scott Gray 1a0df2ec7c As it turns out, Groovy's List.first() method doesn't quite behave as I'd assumed. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3711.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:41 +00:00
Scott Gray fbd346436a Replaced some commas with colons, fixes bug reported by Blas Rodriguez Somoza in OFBIZ-3710
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935401 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:14 +00:00
Scott Gray b2f2a17e27 A few more EntityConditionBuilder examples
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935330 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:46 +00:00
Scott Gray b9c89499a5 A couple of examples of using EntityConditionBuilder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935329 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:32 +00:00
Scott Gray d1c385bbfe A few examples of using groovy's first() list method instead of EntityUtil.getFirst(List)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 00:16:52 +00:00
Bruno Busco e96545ffc2 A patch from Blas Rodriguez Somoza
OFBIZ-3690 - XHTML validation errors round 2 (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3690
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

CostCenters.ftl
Lines 37,51: input must be inside td.
Lines 45,47: duplicated id, and invalid character "|"

EditCustomTimePeriods.ftl
Form must be outside table

CommisionReport.ftl
Line 77: invalid td outside tr and there is no open table at this point

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:52:20 +00:00
Erwan de Ferrieres e0033c6c5c Applying OFBIZ-3694 "Pass Accounting label to Common Label". The AccountingNoRecordFound is now CommonNoRecordFound
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 09:19:52 +00:00
Bruno Busco f97b63ac6e A patch from Blas Rodriguez Somoza
OFBIZ-3584 - XHTML validation errors (accounting)
XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

CommisionRun.ftl
Wrong markup at line 638. (td outside row and table.)
<td colspan='4'><h3>${uiLabelMap.AccountingNoInvoicesFound}</h3></td>

BatchPayments.ftp
Wrong markup at line 675 (opened h2 and closed h3)
<h2>${uiLabelMap.AccountingNoRecordFound}</h3>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931670 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:27:41 +00:00
Vikas Mayur 81c73e21de Fixed a potential NPE since ProductStore.storeName is an optional field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 11:54:40 +00:00
Bilgin Ismet Ibryam de0b52bfe6 Removed hardcoded width and height pixels from google map template, which now allows setting them also in percentages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:51:49 +00:00
Jacques Le Roux dd4729072e Of course the safe navigation changes at r928171 were not enough. This completes them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928180 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 10:33:27 +00:00
Jacques Le Roux e99da6a254 Forgot the 3d case in r928166
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928171 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:18:43 +00:00
Jacques Le Roux 81de2641d0 Use safe navigation rather than if(value) to avoid confusion in case of value=0.
From Scott's advice on dev ML, after a 1st remark on style by Adam

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928166 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:11:35 +00:00
Jacques Le Roux ad2a20a520 Fix a NPE I got on actualCurrencyAmount while working with R9.04.
Since the files are identical I commit in trunk and will backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927870 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:34:02 +00:00
Jacopo Cappellato 407f17ad61 Reimplemented "inventory valuation" report (that was buggy) and its csv and pdf variants: the new version is now based on the new LIFO and FIFO costing methods and it is more efficient because it is based on a single view-entity (that I have extended in order to be used in the new report).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927014 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:28:17 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Adam Heath 2abc4d4812 These were missing, needed to display errors properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921084 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 19:51:42 +00:00
Bilgin Ismet Ibryam c7c5d8831b Fixed NPE in Fixed asset geo location screen.
Commented out not used code and removed unnecessary isEmpty checks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911328 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 11:08:35 +00:00
Jacopo Cappellato 75a3c9f270 Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
Jacopo Cappellato 9be7fcdc5f Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907003 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 17:04:07 +00:00
Jacopo Cappellato a2cb431e4b Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907000 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:54:44 +00:00
Jacopo Cappellato 81990aea5d Another step in the implementation of automatic transactions for fixed assets: implemented screen to setup global mappings for a specific asset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900792 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:31:49 +00:00
Jacopo Cappellato 8c4dd5cb6e First step in the implementation of automatic transactions for fixed assets:
* new entity to setup account mappings for all assets, by asset type or for a specific asset
* screen to setup mappings for a specific asset



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900727 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:24:34 +00:00
Erwan de Ferrieres 595517b3bf JIRA-3381 : Update of the geolocation screen in party (https://issues.apache.org/jira/browse/OFBIZ-3381)
The geoChart screen is now used for all the geolocalization calls.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Jacopo Cappellato 04548bee96 Refactored fixed asset depreciation screen and improved data preparation service; replaced (poorly implemented) ftl template with a simple form definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899142 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:14:46 +00:00
Jacopo Cappellato bb17b94670 First step in the implementation of the screens and services to setup depreciation formulae for fixed assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898869 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 18:22:14 +00:00
Jacopo Cappellato cbe1eb6964 Removed old and unused services for data preparation of the balance sheet.
According to the discussion in the mailing list, moved the depreciation classes from Debit to Credit group; also modified data preparation script for balance sheet and financial time period closing.
Thanks to Adrian Crum and Mike Bates for the valuable information provided.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898710 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 10:44:07 +00:00
Bruno Busco f25115a45a Changed some FTL screenlet-title-bar titles to match with what is rendered by the screenlet widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897650 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 16:08:05 +00:00
Erwan de Ferrieres 72cd6fc782 Adding missing request-map when updating a fixed asset calendar event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896498 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 15:58:32 +00:00
Erwan de Ferrieres c0c2e29e8c Removing some trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896496 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 15:55:40 +00:00
Jacopo Cappellato c386b7f46d Fixed a series of bugs affecting payment applications; gl postings associated to payment application are now in a better shape (still need some enhancements).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 07:55:44 +00:00
Scott Gray 78b784e80e Convert all uses of json event types to chained requests with the common json event at the end.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00