No need to use this too complicated GenericScreenletAjaxWithMenu stuff.
The portlet attributes must not be used to select artifact to be rendered in a portlet. This creates security issues.
In next commits I will remove all the GenericPortlet stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023257 13f79535-47bb-0310-9956-ffa450edef68
I tried to make it look better by having only one Value column but I found that a field inserted by Prototype was not taken into account when submitted. As it's not possible to rename a DOM element I finally gave up and used use-when + hide/show instead. I will see if we can do better with jQuery...
I kept the old Screen + Groovy + FTL files, not for nostalgics, but in case someone has to quickly deal with fields with a lot of values (to avoid drop-down saturation). Then the Id will still be used. Note that it's also possible to do so with the new screen: you need only to put the field type in setPriceRulesCondEventJs.ftl and at top of getAssociatedPriceRulesConds service implementation in order to handle it as an Id with an input field (like it's done OOTB for Quantity and List Price)
I'd like to use the same mechanism for Promo Rules. I will do that later, hopefully before merging jQuery...
BTW, I like the now clear separation with Ajax onComplete event.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005861 13f79535-47bb-0310-9956-ffa450edef68
It was missing a paginate-target, hence the default target was used and, as it's updatePaymentMethodType, a security issue was raised when changes have occurred before the pagination. There are maybe other cases like this that will pop up from time to time...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004139 13f79535-47bb-0310-9956-ffa450edef68
I committed Sascha's patch in trunk at r1003836, but I finally reverted it as I'm not sure the EcommerceUiLabels will be there in all cases. And I guess if it's there, there should be a reason... I must say I did not take the time to dig it further... Also looks like Sascha's use case is specific (no English Labels) and OFBiz OOTB is not specific.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003909 13f79535-47bb-0310-9956-ffa450edef68
Sascha: I noticed an issue in the sendOrderNotificationScreen method. There is no need of loading uiLabels in the method, because the labels will be loaded in the screen (which will be used for the email). The point is, when someone (for whatever reason) don't add English uiLabels and the service try to access the default English labels the an exception will be thrown . This can be simply avoided.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003836 13f79535-47bb-0310-9956-ffa450edef68
2. add “Export with Invoice and Payment as PDF” into “FindAcctgTransEntries” screen
3. add these properties to AccountingUiLabels.xml
- AccountingCostOfGoodsSold = Cost Of Good Sold
- AccountingGrossMargin = Gross Margin
- AccountingOperatingExpenses = Operating Expenses
- AccountingDepreciation = Depreciation
- AccountingIncomeFromOperations = Income From Operations
- AccountingCurrentAssets = Current Assets
- AccountingLongTermAssets = Long Term Assets
- AccountingTotalAccumulatedDepreciation = Total Accumulated Depreciation
- AccountingTotalAssets = Total Assets
- AccountingCurrentLiabilities = Current Liabilities
- AccountingTotalLiabilitiesAndEquities = Total Liabilities and Equities
- AccountingExportWithInvoiceAndPaymentAsPdf = Export with Invoice and Payment as PDF
4. change balance sheet PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
5. change trial balance PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
6. change income statement PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
7. add new PDF report to show acctg trans entry of invoice (refer from “Acctg Trans Entries PDF” menu item)
8. add new PDF report to show acctg trans entry of payment (refer from “Acctg Trans Entries PDF” menu item)
9. add new PDF report to show search result of acctg trans entries (show only invoice ID and payment ID columns)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003469 13f79535-47bb-0310-9956-ffa450edef68
BJ: Login from ecomerce as DemoCustomer
click on
Create Customer Request
put in product # WG-1111
click on Add to cart
Following Errors Occurred:
Customer Request should have a 'Name' if not in the draft status
Hans: We decided that a customer request needs a name of the request when it is not in the draft status.
I try to find the 'create customer request' option in e-commerce but i cannot find it.
Attached a diff file which could solve the problem, but could not test it. of course need internationalisation.
JLR: I provided the i18n, but weirdly it always render in English (I tested in French and double-checked the labels I created)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002963 13f79535-47bb-0310-9956-ffa450edef68
(1) Save supplier information in inventory when receive product either by purchase order or direct.
(2) Shown suppler party id in searched inventory item results.
Thanks Akash for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001644 13f79535-47bb-0310-9956-ffa450edef68
While fetching shipping estimate it should compare countryGeoId instead shippingCountryCode. Now shipping rules along with quantity break will work without any issue.
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001185 13f79535-47bb-0310-9956-ffa450edef68
A small improvement in the Accounting payment map procs.
The Credit card number was only checked if it is empty. After the patch the map proc checks if it is a valid credit card number.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001098 13f79535-47bb-0310-9956-ffa450edef68