Commit Graph
14503 Commits
Author SHA1 Message Date
Vikas Mayur bffc35df33 Example:
1. The currency of accounting/facility set to Indian Rupees, its INR
2) Warehouse manager receive a purchase order with an item with price 10 USD
3) In the receive screen, the system prompts for the unit price of 500 INR (the currency exchange rate between INR and USD is about 50 i.e 1 USD -> 50 INR)
4) The user doesn't change the value and after the item is received both the order item (unitPrice) and the supplier product (lastPrice) price are updated with the new unit price of 500 USD.

This is automatically happening with setUnitPriceAsLastPrice service.

With the fix the receive screen now display the original price and its currency, and the price in the facility currency (if different); if the former is edited, and Ajax event update the latter; the latter will be used as inventory item's unit cost; if the former is not updated, then no event will be triggered to change item price or supplier product price.

Bug reported by Jacopo Cappellato and fix provided by Akash Jain. Part of OFBIZ-3389



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896010 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 11:50:19 +00:00
David E. Jones 6b72b196b1 Small change to allow caller to specify receiveDate instead of assuming now for completeInventoryTransfer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895963 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 09:42:33 +00:00
Erwan de Ferrieres 5ad6e255e4 Adding missing french translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895948 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 09:04:57 +00:00
Jacques Le Roux b1727893a2 Check for an NPE in case the partyId is not a valid partyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895742 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 18:38:09 +00:00
Erwan de Ferrieres f78ec10ac6 Wrong style was used for a subtabbar in rev. 893582 (was not a button bar as it was with the ftl file)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895593 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 11:05:06 +00:00
Hans Bakker b6a334c615 changed view entities so there are no warnings of duplicated fields at start-up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895583 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 09:03:38 +00:00
Jacopo Cappellato 422ffea453 Pretty important change in the way purchase shipments and purchase-order-to-shipment mapping are modeled:
* OrderShipment entity (that was mostly unused) has been enhanced to properly associate order items (OrderItemShipGrpAssoc) to shipment items: this entity is now used in place of ItemIssuance (that was improperly used, in po, for the same purpose)
* as a consequence of the above change, I have updated the purchase order receive screens and business logic triggered by them


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 18:20:19 +00:00
Bruno Busco d85edb6bde Removed settings of unused fields "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle"
Removed redundant <container style="left"> in leftbar screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 12:27:53 +00:00
Bruno Busco b4c1939cbf Fixed missing left-column decorator-sections in CommonOrderEntryDecorator and CommonOrderCatalogDecorator.
Thank you Jacopo for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895179 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 12:10:06 +00:00
Jacopo Cappellato 3949a8e6b1 Converted "shipment plan" screen to widgets; enhanced the page to be reused for purchase orders (upcoming new feature).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895175 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 11:34:43 +00:00
Jacques Le Roux 8b6b077837 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895162 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 10:10:37 +00:00
Erwan de Ferrieres 26eba78aa7 Changing the year as we are now in 2010. This corrects buildbot errors reported on the dev mailing list.
Some trailing spaces have been also removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895149 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 09:01:28 +00:00
Bruno Busco e5fea4b01f Fixed missing leftbar screen location in CommonFeatureDecorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895074 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:51:39 +00:00
David E. Jones db93ea2417 Small spelling correction: displaytFields to displayFields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894956 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 23:48:34 +00:00
Ashish Vijaywargiya 09209baf66 Setting contactMechId in service result.
Patch from Mridul(Thanks!).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894827 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 11:45:31 +00:00
Jacopo Cappellato dd84acb37e Added missing link parameter needed to load the right inventory receive screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894826 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 11:36:49 +00:00
Jacopo Cappellato b3cf2850e9 Implemented new shipment subscreen showing the list of shipment receipts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894817 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 11:16:28 +00:00
Jacopo Cappellato b3e8e4ef85 Improved shipment tab bar:
1) action links are now moved out of the menu, in the body of the page
2) fixed issue preventing the facility name to appear in the "receive inventory" tab



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894797 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 09:10:09 +00:00
Bruno Busco e07bba6c9d Components dependence clean-up.
This allows the build of an OFBiz configuration in which the Party component is installed but not the MyPortal.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894731 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:07:23 +00:00
Andrew Zeneski 72e4c26544 reverted screen include back to ApplicationDecorator (from SingleColumnDecorator) to get the workeffort app running again (broken in rev 894330)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894703 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 20:04:54 +00:00
Andrew Zeneski ef3c8aa7e6 fixed reversed sorting for inventory issuance. FIFO should be +datetimeReceived (assending) and LIFO should be -datetimeReceived (desending)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894700 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 19:53:20 +00:00
Vikas Mayur a5d3238d09 A test case for updateFixedAssetMaintAndWorkEffort service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894606 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 13:08:36 +00:00
Vikas Mayur 1f36c828bb Maintainenace for a fixed asset is also created based on the meter reading entered by the user. The code fails because of null value comparision when user does not specify any meter reading. These checks prevent the error. Bug reported and fix by Arun Patidar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894595 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 11:47:33 +00:00
Vikas Mayur c01971931d Test case for createFixedAssetMaintUpdateWorkEffort service with and without a product maintenance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894576 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 10:06:03 +00:00
Jacques Le Roux dbf369a3b7 A patch from Sharan Foga "Docbook Online Help: Help screens for Global GL Settings" (https://issues.apache.org/jira/browse/OFBIZ-3386) - OFBIZ-3386
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894570 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 08:53:30 +00:00
Erwan de Ferrieres d9d0a445f6 Corrected french uiLabels and removed some trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894563 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 08:04:22 +00:00
Vikas Mayur 0d5c43f802 A test case for createFixedAssetGeoPoint service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894387 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 13:49:15 +00:00
Vikas Mayur 984a6ca17a Additional check for updateFixedAssetRegistration test.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894382 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 13:32:03 +00:00
Vikas Mayur 9f73cbacab Test case for create/update/delete FixedAssetMeter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894380 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 13:24:52 +00:00
Vikas Mayur e5a6507478 Test case for create/update/delete FixedAssetRegistration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894369 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 12:34:40 +00:00
Vikas Mayur f824c990cd Added XML declaration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894360 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 11:38:24 +00:00
Vikas Mayur c4b7af2ce2 A test case for createPartyTelecomNumber service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894346 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:42:10 +00:00
Bruno Busco 1c0b238799 [OFBIZ-3274] - Using decorator sections to control the left-bar
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:22:45 +00:00
Bruno Busco 89a8e6571d Removed old, commented lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894326 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:08:49 +00:00
Jacques Le Roux 0f45f8e21d PartyUserNameInUse French localisation.
Replaced a bunch of hardcoded error messages by  PartyUserNameInUse 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894318 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 06:59:58 +00:00
Vikas Mayur 7e80e99125 Code simplified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894315 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 06:55:28 +00:00
Jacques Le Roux 91b800dfa5 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894245 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 21:01:31 +00:00
Jacopo Cappellato be5e0defbe Added ability to set multi ship groups also for purchase orders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894182 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 14:40:50 +00:00
Bilgin Ismet Ibryam dba0d2b021 Set ${paginate} string as default value for paginate attribute in form and screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894179 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 14:03:57 +00:00
Bilgin Ismet Ibryam bd19dc7e9f Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example). 
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Jacques Le Roux f64320bcf7 Fix 2 quirks reported by Scott. Anyway, as David suggested, I will rewrite all this using simple-methods and SECAs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894133 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 08:14:19 +00:00
Bruno Busco fc26f4a41a Removed old, commented lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894065 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 13:55:42 +00:00
Adam Heath 276cc7b501 Add a default-javadoc presetdef.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:01:39 +00:00
Marco Risaliti 6a90728606 I18n of an error/success messages of return services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894032 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:53:47 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 1c269fc012 Convert all javadoc calls to use fileset instead of sourcepath; this
allows excludes to be processed correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:24:20 +00:00
Adam Heath 05b3ea3230 Make use of the init target, to set excludes based on available
libraries, so that the common classes target can be used.  This also
sets src.exc.set correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894028 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:20:32 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Marco Risaliti f7671b4d7b I18n of an error/success messages of shipment services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894020 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 21:21:05 +00:00