With NotoSans by default, no need to specify the NotoSans "font-family" to write special characters in examples PDF (including content called from example).
This already worked in reports because of "fop.font.family=NotoSans" in fop.properties. It's also the way to use for custom reports.
I also added <auto-embed/> like we have <auto-detect/> but I'm unsure of what it does exactly (I suppose it embeds the fonts glyphs in the PDF) because the FOP documentation is unclear about it (to say the least). If someone knows better please chime in!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1675061 13f79535-47bb-0310-9956-ffa450edef68
The solution provided in this commit is to use, in these cases, the quantities instead of the amounts for pro rating of misc and shipping adjustments.
Thanks to Mohammad Kathawala for the bug report, great analysis and tests that have helped me a lot to implement this fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674908 13f79535-47bb-0310-9956-ffa450edef68
This is a 1st stage, we will add more later, notably totals as a 1st step and then a more complete report but still basic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674587 13f79535-47bb-0310-9956-ffa450edef68
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.
By defautl converted :
* FastMap by HashMap
* FastList by LinkedList
* FastSet by HashSet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
In this patch i add a control on reservPersons and add it to the entry map of updateWorkEffort services.
Being zealous, i'm adding specific labels, existing one where not good for the field they were checking.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668314 13f79535-47bb-0310-9956-ffa450edef68
Thanks Raj Saini for reporting the issue and thanks Bilgin Ibryam and Arun Patidar for providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668214 13f79535-47bb-0310-9956-ffa450edef68
Error:
FreeMarker template error: The following has evaluated to null or missing: ==> null [in template "component://order/webapp/ordermgr/return/returnItems.ftl" at line 155, column 48]
To reproduce just update the quantity or price of a return item to blank.
Fix:
Prevents Freemarker errors from appearing in the quantity and price input fields when they are set to blank. Perhaps logic should be implemented to prevent the fields from being updated to blank but as of right now its allowed which cause the errors to appear which make the screen look very messy. This patch basically cleans up the screen if either of those scenarios occur.
Prevents OrderView.groovy getReturnableItems error which prevents page from displaying when returnQuantity gets set to blank due to getReturnableQuantity in OrderReturnServices.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666836 13f79535-47bb-0310-9956-ffa450edef68
1. While creating an organization, it is possible to specify a meaningful party id through ofbiz setup.
2. But, it is NOT possible to specify the party id through GUI while creating a Party (Person or Party Group). this means, all the parties created get a sequence id for party id.
If the user inputs a party ID to any of the party creation screens (person, party group, customer, employee or prospect) then that ID will be used, otherwise it will pull a party ID from the sequence bank
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666794 13f79535-47bb-0310-9956-ffa450edef68
===========================================================
Sebastian Wachinger commented on OFBIZ-5893:
Now we have the issue that it is no longer possible to set up, edit or delete *Payment Settings for PayPal* on _catalog/control/EditProductStorePaySetup?productStoreId=9000_
These actions render a lengthy error message referring to _applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStorePaySetup.groovy_ ending with
bq. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])
As a quick fix we had to revert from revision 1647937 to be able to set up payment settings for PayPal.
===========================================================
Thanks Arun for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665198 13f79535-47bb-0310-9956-ffa450edef68
The Following Errors Occurred:
Error running the simple-method: Primary key map "estimatedArrivalWorkEffortMap" not found Method = updateShipment, File = file:/home/anon/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml, Element = <find-by-primary-key>, Line 215null
estimatedArrivalWorkEffortMap is passed to <find-by-primary-key> but never set which causes the error.
jleroux: I was curious about this (was weird), it was missed at r889656, anyway gone...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663912 13f79535-47bb-0310-9956-ffa450edef68
Onepage checkout process is broken for registered user.
Error in Service [createPartyRole]: Value found (with ids 10000::CUSTOMER), cannot create a new one
Its due to CheckoutServices.xml#createUpdateCustomerAndShippingAddress service, in this service if system try to create party role at line 54, as this service is used for create/update shipping address so at the time of create its working fine but at the time of update it fails to create same party role again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663202 13f79535-47bb-0310-9956-ffa450edef68
I guess it's due to
require-new-transaction="true"
when calling createProductFacility service, not sure why it was needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661977 13f79535-47bb-0310-9956-ffa450edef68
The issue is actually related with OrderQuoteDemoData.xml. Though I checked that 1st I somehow missed something
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661951 13f79535-47bb-0310-9956-ffa450edef68
If productStore.orderDecimalQuantity OR product.orderDecimalQuantity is set to N, then system should return error if we try to add to partial quantity then system should return error instead of rounding it to 0,
Actual Behavior: If partial quantity is not allowed in order process, and user enter 1.5 quantity then it rounded it and add 2 quantity.
Expected Behavior: if partial quantity is not allowed then system should return error instead of doing rounding if partial quantity passed during add/update item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661862 13f79535-47bb-0310-9956-ffa450edef68
When reviewing the profit page of a quote the profit percentage is calculated wrong. Instead of dividing the profit by the quote amount giving the margin, the quote amount is divided by the average cost (when provided). Thus giving the quote (amount) to cost ratio.
jleroux: there was an interesting discussion with Divesh Dutta who suggested to calculate the profit mark-up instead of the profit margin as done here.I agree we want the profit margin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661853 13f79535-47bb-0310-9956-ffa450edef68
Quote demo data is missing.
jleroux:
I modified the path to OrderQuoteDemoData.xml in ofbiz-component.xml, it was missing the data/ folder
I changed
Quote.validThruDate="2015-02-01 00:00:00.0"
to
Quote.validThruDate="2100-02-01 00:00:00.0"
To be used longer... enough...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661786 13f79535-47bb-0310-9956-ffa450edef68
This error occurred when I updated a purchase order containing an item with quantity > 0 but less than 1:
"Quantity must be >0, use cancel item to cancel completely!"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661778 13f79535-47bb-0310-9956-ffa450edef68