Scott Gray
23508aa989
Access static fields of HttpServletResponse directly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926175 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:46 +00:00
Scott Gray
6d4fe06c5c
Formatting tidy up, mostly adding missing spaces. No functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:42 +00:00
Jacopo Cappellato
c2d9606772
Implemented first version of FIFO and LIFO costing methods in accounting:
...
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2) added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Jacopo Cappellato
974579c6a8
Fixed typos.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926015 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 10:05:18 +00:00
Ashish Vijaywargiya
095356f237
Its better to pass partyId in context so that custom service could use it without any issue.
...
Patch from Arun(Thanks!).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926010 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 09:35:08 +00:00
Jacopo Cappellato
898c441a03
Fixed typo in comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925993 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 08:28:29 +00:00
Bruno Busco
eb414075bf
Used the new CommonButtonBarMenu in the ProfileSubTabBar and CommSubTabBar menus in the Party application.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925844 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:51:29 +00:00
Hans Bakker
b86b20baf3
allow custreq statuis change from submitted to completed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 09:11:21 +00:00
Jacopo Cappellato
7636f31260
Refactored event search mechanism for the workeffort calendar: there is now a calendar type (personal/manufacturing/..) that can be explicitly used to perform searches (constrained by the traditional fields like facilityId, partyIds, fixedAssetId, workEffortTypeId); previoulsy the concept of "calendar type" was somewhat impled in the search constraints (for example, if facilityId was set then production runs were included in the search results).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925741 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 08:34:32 +00:00
Hans Bakker
601ca11233
add the note view to the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 06:46:20 +00:00
Hans Bakker
55d1b45004
add new status to custrequest where one is waiting for an action from the customer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925726 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:09:09 +00:00
Hans Bakker
52c5a66b3c
update related portlet links in the commext commponent
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925725 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:06:54 +00:00
Bruno Busco
02974af2e3
Introduced the FindScreenDecorator in the Find Contact Lists Parties screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925625 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:10:47 +00:00
Bruno Busco
f051693f1a
Added proper styles to button bars.
...
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:08:03 +00:00
Bruno Busco
7387072b86
Removed a wrong "/" char from menu links
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925622 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:05:27 +00:00
Bruno Busco
1fd3a7cd58
Better and new Italian labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:52:15 +00:00
Bruno Busco
c11c5a4d20
Added proper styles to button bars in Contact list screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925483 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:22:26 +00:00
Bruno Busco
edda9c7c5e
Removed a wrong "/" char from menu links
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925482 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:21:20 +00:00
Bruno Busco
f0ca4dc3a1
Introduced the FindScreenDecorator in the Find Contact Lists screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:10:23 +00:00
Bruno Busco
1de9fda736
Better Italian labels for Contact list screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925467 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 22:50:49 +00:00
Bruno Busco
76747f1219
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:18:20 +00:00
Jacopo Cappellato
e39db74910
Improved search capabilities of the work effort calendar screens; converted ftl template to form widget.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925342 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:23:15 +00:00
Erwan de Ferrieres
3ff5ceb39e
Adding ressource name on PartyIdentificationType
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925169 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 10:32:31 +00:00
Jacopo Cappellato
ee63073271
Fixed a series of errors thrown by the depreciation algorithms on certain data (null pointer exceptions, divide by zero operations).
...
This also fixes a bug reported in the users list by Jhanneth Andrade Sajami.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925162 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 10:21:41 +00:00
Bilgin Ismet Ibryam
a61f299193
Allow passing from/thru dates to createFacilityContent service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925146 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 08:58:55 +00:00
Jacopo Cappellato
d401c7225c
typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924707 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 11:05:49 +00:00
Jacopo Cappellato
c5e85a38c3
Fixed wrong description of the minilang method (caused by copy and paste).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924689 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 10:29:55 +00:00
Bilgin Ismet Ibryam
90cec11dbd
Check the whole partyId for digits instead of first character only.
...
The following labels need to be fixed for languages other than English:
party.id_is_digit
partyservices.could_not_create_party_ID_digit
partyservices.cannot_create_affiliate_digit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924685 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 10:24:14 +00:00
Hans Bakker
3cd6582cef
make the custrequest tests work again (failed because of r924647 ) and move them from the party to the order component in their own file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924662 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 07:33:48 +00:00
Hans Bakker
be99e2da29
update status after other fields in cust request and check id name is filled in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924647 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:45:28 +00:00
Scott Gray
bc03d9a5b3
Fixed a FIXME, commented code was attempting to access a null array, month is a multiple of one so I just removed the multiplication attempt.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924577 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:57:06 +00:00
Scott Gray
603fb26337
Remove an exception declaration that is never thrown
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924576 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:57:02 +00:00
Scott Gray
c75bda5d7a
OrderHeader isn't cached so there's no point in trying to do lookups via the cache
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924575 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:54 +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
Hans Bakker
b04b03f88c
allow a commevent status change from created -> pending
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923675 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 10:40:57 +00:00
Hans Bakker
fbe463bfaf
spelling error in field name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923608 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 07:53:51 +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
9103de8a74
Fix bad formatting and code patterns(Integer.valueOf).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923350 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:30:44 +00:00
Hans Bakker
1a3f1ed2e7
move the check for filled in party id to the update reques status service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922851 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 14:02:46 +00:00
Jacopo Cappellato
b3c1fe01e3
Re-enabled automated test for production run date reschedule, now enhanced to support date ranges containing a DST change; thanks to Adrian Crum for the comments and Adam Heath for the bug report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922813 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 11:29:43 +00:00
Bruno Busco
644ca97f8c
OFBIZ-3516
...
Fixed wrong screenlets display due to a no-clear style in the menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922800 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 09:24:54 +00:00
Jacopo Cappellato
d6c3b8b27b
Disabled automated test that is sometimes failing because of bad calendar math. Thanks to Adam Heat and Adriam Crum for reporting this. I will re-enable it as soon as I will fix it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922514 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 10:22:59 +00:00
Ashish Vijaywargiya
b040749318
Applied patch from OFBIZ-3533 - Associate Image functionality with ProductPromo using content driven.
...
Associate Image functionality with ProductPromo using content driven.
Following work will be covered: -
1. Add new entity "ProductPromoContent" entity having composite primary key:
1. productPromoId
2. contentId
3. productPromoContentTypeId
4. fromDate
2. CRUD services for ProductPromoContent Entity.
3. Create wrapper ProductPromoContentWrapper
4. Add content tab at catalog -> promo
5. List and edit form for associating images to specific productPromoId.
6. Implement service addImageForProductPromo.
Thanks Amit for the contribution.
Special thanks to Scott for his valuable comments.
PS: Scott regarding to you point # 2 in the last comment, I think it would be fine if we keep association as it in the current patch. Because all the ContentType already exists in the ProductContentType entity. In general we can associate Image, PDF or word document with any promotion so reusing existing entity will be fine IMO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922506 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 08:46:57 +00:00
Ashish Vijaywargiya
2a808cfc42
Applied patch from jira issue OFBIZ-3550 - Use shopinglistType from request parameter instead of using default for addBulkFromCart event.
...
Thanks Parimal for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922504 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 08:39:57 +00:00
Adam Heath
ed33d7ca17
Add red/green like shades to orderinfo and orderitem status areas, but
...
only for APPROVED and REJECTED statuses for now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922483 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 05:50:00 +00:00
Adam Heath
cfb7efb850
Add support for filtering products inside categories based on their
...
introductionDate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922482 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 05:48:55 +00:00
Hans Bakker
fb05a37d04
allow story field of first requestitem to be updated together with the header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922187 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 09:09:27 +00:00
Jacques Le Roux
1b211fed29
A slightly modified patch from Geir Ove Grønmo "Calculation of promotions and price rules should support multi-level GROUP_ROLLUP" ( https://issues.apache.org/jira/browse/OFBIZ-3440 ) - OFBIZ-3440
...
The calculation of product prices given promotion and price rules do not currently take multi-level GROUP_ROLLUP party relations into account.
The calculation of price rules consider two levels of GROUP_ROLLUP only, while the calculation of promotions take just a single level of GROUP_ROLLUP into account.
The attached patch will calculate price rules and promotions for GROUP_ROLLUPs for an arbitrary number of GROUP_ROLLUPs. This is essential in the situation where there are hierarchies of parties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922177 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 08:27:42 +00:00
Hans Bakker
0856f9749a
missing relation between customer request and custrequestnote
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922154 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 06:52:56 +00:00
Hans Bakker
2e505334d4
add a draft status to the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922152 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 06:05:58 +00:00