Commit Graph
14503 Commits
Author SHA1 Message Date
Nicolas Malin 10af80b1a8 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Five step these step break all the UI
#2 The MacroScreenRenderer class now resolve the macro ftl library location from the model theme
The widget.properties lost all definition now managed by the theme definition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806140 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 09:36:04 +00:00
Nicolas Malin aec57b51c5 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Third step, move macro ftl libraries and ftl template present on framework common to common theme
At this step, the common-theme is forced like the common component previously.

Main common screens present on CommonScreens.xml, LookupScreens.xml and HelpScreens.xml are moved to common screen with a forced rewrite to common-theme 
Warning this commit is going to follow with a other commit for CommonScreens.xml because LookupScreens.xml and HelpScreens.xml are recreated on common-theme, but to keep the history of CommonScreens.xml it was moved entirely, the second commit restore it with redirect call.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806091 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 21:55:06 +00:00
Nicolas Malin 15da786110 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Second step, move all images and js library on the common-theme component and move the dedicate webapp image (for continuous compatibility)
The components image is removed from framework.

Warning this commit raise the problem that many images has been uploaded on the framework directory (properties image.server.path and image.management.path) and we need to found a solution to set them out static folder to a dynamic folder like runtime.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806084 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 20:38:19 +00:00
Jacques Le Roux 99171d0afa Fixed: MimeType displayed in HTML encoded pattern
(OFBIZ-9621)

Steps to Regenerate –
1) Go to Content/DataResourceSetup and select File Ext tab.
2) Create or Update File ext with Mime Types available in the drop-down.
Result: File Ext created or updated with selected Mime Type but Mime Type 
displayed in HTML Encoded pattern. 

This issue also exists on Create DataResource page.

jleroux: checking with trunk demo I did not find it on "Create DataResource page" 
(content/control/EditDataResource) nor in the Search options) of 
"Find Data Resource" (content/control/findDataResource) 
But in the list of this find page and also in Navigate for template 
(content/control/navigateDataResource)
Anyway the patch fixed all the cases I found. 

I think there are more cases like that but I can't remember where.

Thanks: Ankit Joshi


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806036 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 12:57:40 +00:00
Nicolas Malin e3a7d54ba5 Fixed: No functional change, after the issue OFBIZ-9550, clean (second pass) marketing-entitymodel.xml file to realign correctly the file format (only withspaces changed on this commit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805965 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 21:39:24 +00:00
Nicolas Malin 8b61064808 Fixed: No functional change, after the issue OFBIZ-9550, clean marketing-entitymodel.xml file with remove all field empty body xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805962 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 21:29:38 +00:00
Nicolas Malin e1aa36e229 Improved: Manage life span of marketing related entites (OFBIZ-9550)
Add life span attributes (fromDate, thruDate) on entities :
1) MarketingCampaignPrice
2) MarketingCampaignPromo
3) MarketingCampaignRole
Complete related CRUD service with align service name on the best pratice for consistency.
The previous service name has been set as deprecated :
* addPromoToMarketingCampaign replace by createMarketingCampaignPromo
* removePromoFromMarketingCampaign replace by deleteMarketingCampaignPromo
* addPriceRuleToMarketingCampaign replace by createMarketingCampaignPrice
* removePriceRuleFromMarketingCampaign replace by deleteMarketingCampaignPrice
These service has been deprecated with release information Upcoming Release to align with Jira ofbiz version
Thanks to Suraj Khurana to suggest this improvement.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805961 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 21:23:16 +00:00
Nicolas Malin deebac1bb1 Fixed: Consistency and Readability improvements for make-value tag (OFBIZ-8986)
Consistency on the attribute order for make-value element as : entity-name, value-field
Thanks to Ankush Upadhyay and Devanshu Vyas for the issue and the corrective patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805956 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 20:44:44 +00:00
Nicolas Malin 2e9a000287 Fixed: Consistency and Readability improvements for view-map tag (OFBIZ-9110)
Consistency on the attribute order for view-map element as : name, type, page
Thanks to Ankush Upadhyay and Devanshu Vyas for the issue and the corrective patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805892 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 12:18:09 +00:00
Deepak Dixit eaef78840d Fixed typo, get locale from context properly, It was introduced long time back at r#1056812
Thanks Renuka Srishti for reporting this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805880 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 11:17:23 +00:00
Jacques Le Roux c5e9931cfa Improved: Use auto-attributes in ProductFeatureCategory CRUD services
(OFBIZ-9608)

ProductFeatureCategory CRUD services have explicitly mentioned IN/OUT parameters
 in their service definition, like
<attribute name="description" type="string" mode="IN" optional="false"/>

Rather, the IN/OUT parameters for this crud services should have been written 
using auto-attribute, like
<auto-attributes include="nonpk" mode="IN" optional="true"/>

Thanks: Rohit Rai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805867 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 08:26:52 +00:00
Deepak Dixit 0cdc258281 Removed duplicated request/view mapping
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805755 13f79535-47bb-0310-9956-ffa450edef68
2017-08-22 11:52:02 +00:00
Deepak Dixit cd65d7ac33 Move config data related to PaymentGateway configuration from seed-initial to demo (OFBIZ-9595)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805750 13f79535-47bb-0310-9956-ffa450edef68
2017-08-22 10:28:47 +00:00
Michael Brohl a2a7235704 Improved: Fixing defects reported by FindBugs, packages
org.apache.ofbiz.accounting.period and 
org.apache.ofbiz.accounting.tax.
(OFBIZ-9527)

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805466 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 20:18:58 +00:00
Michael Brohl b0f00304a0 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.accounting.ledger.
(OFBIZ-9505)

Additionally to the provided patch I removed the static ZERO variable 
and changed the assignment to BigDecimal.ZERO instead. An unused import
statement was removed also.

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805464 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 19:51:39 +00:00
Michael Brohl 8d73fdc232 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.accounting.finaccount
(OFBIZ-9504)

FinAccountPaymentServices.finAccountPreAuth(DispatchContext, Map)
A value is checked here to see whether it is null, but this value can't 
be null because it was previously dereferenced and if it were null a 
null pointer exception would have occurred at the earlier dereference. 
Essentially, this code and the previous dereference disagree as to 
whether this value is allowed to be null. 
Either the check is redundant or the previous dereference is erroneous.

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805463 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 19:39:26 +00:00
Michael Brohl 1e51879dab Improved: Fixing defects reported by FindBugs for package
org.apache.ofbiz.accounting.thirdparty.gosoftware.
(OFBIZ-9486)

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805460 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 19:28:12 +00:00
Michael Brohl 076a2f62d8 Improved: EmailServices.sendMailFromScreen improved to take multiple
attachments with appropriate type along with several email fixes.
(OFBIZ-9395)

This patch fixes a number of issues combined in a patch because of the 
code dependencies.

1. it enables to add BCC adress(es) to service 
OrderServices.sendOrderNotificationScreens to oversteer 
ProductStoreEmailSetting of BCC the same was as for CC.

2. a method UtilValidate.isEmailList(String) is added to check a 
comma separated list of email addresses, used for example to check the 
String passed to the new BCC field for an Order-Notification.

3. there are improvements in EmailServices.sendMailFromScreen. The 
attachment type of MailAttachments is now not only .pdf but depends on 
the specific file. This has not been the case before - the mime type was
always hard coded as .pdf. The same goes for the bodyPart content-type 
which is now set to the passed content type or the default text/html 
type. Before this was also always set to text/html. 
Additionally, an attachment that has the mime-type text/plain is not 
rendered with the fop-renderer anymore but with a simple text-renderer. 
Therefore it is possible to send an CSV file as attachment now.

The patch also refactors some catch-Blocks in the 
EmailServices.sendMailFromScreen by using multi-catch since the e
xception handling is always the same.

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805459 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 19:10:41 +00:00
Jacques Le Roux 658fc8ce10 No functional change
Fixes a missing English label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805424 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 13:27:02 +00:00
Jacques Le Roux eb75c874e4 Improved: Client side validation is missing in quick create accounting
transaction process
(OFBIZ-9583)

Thanks: Thanks: Suraj Khurana for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805290 13f79535-47bb-0310-9956-ffa450edef68
2017-08-17 14:09:30 +00:00
Jacques Le Roux 2482af2d72 Improved: Required field indicator (*) is missing on create contact list form
(OFBIZ-9587)

Thanks: Thanks: Suraj Khurana for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805286 13f79535-47bb-0310-9956-ffa450edef68
2017-08-17 14:05:03 +00:00
Jacques Le Roux be52744800 Improved: Required Field Indicator (*) / Form Validation is missing on Create
New Data Source Form  
(OFBIZ-7462)

Form Validation Required Field Indicator "*" is missing on Create New Data 
Source Form . 
Marketing -> Data Source -> Create Data Source -> Data Source Id

Thanks: Suraj Khurana for the completing patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805285 13f79535-47bb-0310-9956-ffa450edef68
2017-08-17 14:02:25 +00:00
Jacques Le Roux 0b235c737f No functional change
Removes redundant UserPrefGroupType data also present in common

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805140 13f79535-47bb-0310-9956-ffa450edef68
2017-08-16 06:30:58 +00:00
Jacques Le Roux 0d2b5c49a7 Improved: Required Field Indicator (*) / Form Validation is missing on Create
New Data Source Form  
(OFBIZ-7462)

Form Validation Required Field Indicator "*" is missing on Create New Data 
Source Form . 
Marketing -> Data Source -> Create Data Source -> Data Source Id

Thanks: Deepak Nigam

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805107 13f79535-47bb-0310-9956-ffa450edef68
2017-08-15 17:17:47 +00:00
Jacques Le Roux e4356bfb34 Improved: Required field indicator (*) is missing on some forms
(OFBIZ-9579)

It's missing in EditProdCatalog, this fixes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805103 13f79535-47bb-0310-9956-ffa450edef68
2017-08-15 17:04:25 +00:00
Jacques Le Roux bfd533ccc3 Improved: [DEPRECATION] Replace BigDecimal.ROUND_* by RoundingMode.*
(OFBIZ-9571)

No functional change.

We read at http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html : 
<<Using the integer fields in this class (such as ROUND_HALF_UP) to represent 
rounding mode is largely obsolete; the enumeration values of the RoundingMode 
enum, (such as RoundingMode.HALF_UP) should be used instead.>>

That's an easy global replacement. But it also needs to import the RoundingMode 
class. It was 26 files so I decided to rather clean all the imports in all files
 with the help of Eclipse.

This is a 1st step. I will need to closely look at 2 special class: UtilNumber
and Calculate.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804953 13f79535-47bb-0310-9956-ffa450edef68
2017-08-14 08:32:21 +00:00
Michael Brohl b235295726 Improved: Replaced unnecessary local variable ZERO with BigDecimal.ZERO.
(OFBIZ-9529)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804864 13f79535-47bb-0310-9956-ffa450edef68
2017-08-12 11:52:45 +00:00
Jacques Le Roux 78ce104d7e Reverted: [FB] Package org.apache.ofbiz.accounting.payment (Additional Bugs)
(OFBIZ-9529)

GiftCertificateServices.java:229, DLS_DEAD_LOCAL_STORE
GiftCertificateServices.java:306, DLS_DEAD_LOCAL_STORE
DLS: Dead store to balance in 
GiftCertificateServices.addFundsToGiftCertificate(DispatchContext, Map)
This instruction assigns a value to a local variable, but the value is not read 
or used in any subsequent instruction. Often, this indicates an error, 
because the value computed is never used.

It was late and I was too quick yesterday night. I see no reason why we would
replace ZERO by null (no assignment) in both cases, the variables are used. 
So I revert r1804847 and I rather replace occurrences of BigDecimal.ZERO by the 
locally defined constant ZERO


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804859 13f79535-47bb-0310-9956-ffa450edef68
2017-08-12 07:59:16 +00:00
Jacques Le Roux 21244f7979 Fixed: [FB] Package org.apache.ofbiz.accounting.payment (Additional Bugs)
(OFBIZ-9529)

GiftCertificateServices.java:229, DLS_DEAD_LOCAL_STORE
GiftCertificateServices.java:306, DLS_DEAD_LOCAL_STORE
DLS: Dead store to balance in 
GiftCertificateServices.addFundsToGiftCertificate(DispatchContext, Map)
This instruction assigns a value to a local variable, but the value is not read 
or used in any subsequent instruction. Often, this indicates an error, 
because the value computed is never used.

Thanks: Kyra Pritzel-Hentley


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804847 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 19:41:32 +00:00
Jacques Le Roux 12390bfc03 Improved: Deprecated Methods in OrderChangeHelper
(OFBIZ-9570)

The methods abortOrderProcessing and releaseInitialOrderHold have been 
deprecated since the workflow engine has been replaced by the ECA. 
Both methods only return _true_ and other code code that uses these methods 
is deprecated as well.

https://svn.apache.org/viewvc?view=revision&revision=665981
The revision in OrderChangeHelper shows that the methods used to have a 
comment which stated that the methods are no longer in use.

jleroux: forgot to send the removing of some useless code


Thanks: Kyra Pritzel-Hentley for starting the analysis and creating the Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804844 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 19:15:52 +00:00
Jacques Le Roux 743a9e88a0 (OFBIZ-9530)
In the method processAuthResult() line 1889 there is an empty if-statement for 
the case that authResult is null. It seems like somebody was planning to cover 
the case but forgot to add code.

I would suggest to return a service error when the authResult is null since 
otherwise it cannot be determined if the payment is authorized or not.

Thanks: Kyra Pritzel-Hentley


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804843 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 19:14:21 +00:00
Jacques Le Roux 85fb4721f5 Improved: Deprecated Methods in OrderChangeHelper
(OFBIZ-9570)

The methods abortOrderProcessing and releaseInitialOrderHold have been 
deprecated since the workflow engine has been replaced by the ECA. 
Both methods only return _true_ and other code code that uses these methods 
is deprecated as well.

https://svn.apache.org/viewvc?view=revision&revision=665981
The revision in OrderChangeHelper shows that the methods used to have a 
comment which stated that the methods are no longer in use.

jleroux: remove the 2 methods and all useless related code


Thanks: Kyra Pritzel-Hentley for starting the analysis and creating the Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804840 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 19:06:44 +00:00
Jacques Le Roux 98e89f33ff No functional trivial changes
When reviewing code, Eclipse complains: "Javadoc: Invalid param tag name"
when a param tag name "contains" a colon at end

Weirdly it does not complain about @return. Go figure! But I'll apply the same!

This removes all cases found in trunk. Another way could be to add a space 
between the tag and the colon. But that's not how it's recommended to write

http://www.oracle.com/technetwork/articles/java/index-137868.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804637 13f79535-47bb-0310-9956-ffa450edef68
2017-08-10 07:21:22 +00:00
Jacques Le Roux 75c40fef71 No functional trivial changes
When reviewing code, Eclipse complains: "Javadoc: Invalid param tag name"
when a param tag name "contains" a colon at end

This removes all cases found in trunk. Another way could be to add a space 
between the tag and the colon. But that's not how it's recommended to write

http://www.oracle.com/technetwork/articles/java/index-137868.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804635 13f79535-47bb-0310-9956-ffa450edef68
2017-08-10 06:31:38 +00:00
Jacques Le Roux 3dc4efff2c Improved: OEM Party Id field should have lookup on Edit Product page
(OFBIZ-9368)

As suggested by Jacques and Pierre, the patch includes removing all the traces 
of OEMPartyId (manufacturerPartyId) as it was some old approach.

Changes in Patch:
1. Removed manufacturerPartyId from Product entity
2. Removed its relations from view entities namely GoodIdentificationAndProduct
3. Removed it from forms EditProduct (Product), 
SearchInventoryItemsParams (EditFacilityInventoryItems screen in Facility) and 
SearchInventoryItemsDetailsParams (ViewFacilityInventoryItemsDetails screen in 
Facility)

Thanks: Aditya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804408 13f79535-47bb-0310-9956-ffa450edef68
2017-08-08 12:33:33 +00:00
Jacques Le Roux f41feebf57 Completed: Remove the never implemented deleteParty (pre Apache era)
(OFBIZ-9556)

In dev ML in this thread https://s.apache.org/pc90 
I suggested to remove the never implemented deleteParty (pre Apache era)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804315 13f79535-47bb-0310-9956-ffa450edef68
2017-08-07 10:00:55 +00:00
Deepak Dixit a0d99ed40f Improved: Replace fields with id-ne, id-long-ne and id-vlong-ne by id, id-long and id-vlong respectively which are not primary keys (OFBIZ-9355)
Thanks Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804026 13f79535-47bb-0310-9956-ffa450edef68
2017-08-03 17:51:07 +00:00
Deepak Dixit fcb3ea53ae Improved: Removing Assignment between UserLogin and SecurtyGroup does not work, (OFBIZ-9543)
Updated label from remove to expire while removing security group from user login, also added new entity-auto service to expire user login security group record. 

Thanks S. Yazied for reporting the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1803561 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 18:34:18 +00:00
Deepak Dixit dbbc2cd936 Fixed: Can't Create a new PartyAcctgPreference in 16.11.03 (OFBIZ-9542)
- Added missing code to set organizationPartyId
 Thanks Sharan for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1803525 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 12:17:55 +00:00
Jacques Le Roux a115d37998 Fixes a test issue introduced with r1802668
See https://ci.apache.org/builders/ofbiz-trunk-framework-plugins?numbuilds=30

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1803406 13f79535-47bb-0310-9956-ffa450edef68
2017-07-30 08:36:35 +00:00
Pranay Pandey 8a58ea6b3e Improved: User should be notified with success message on Update Quote page.
(OFBIZ-9519)

Created a new UiLabel for success message and returned it from 'updateQuote' service.

Thanks Aditya Sharma for reporting and thanks Sonal Patwari providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802972 13f79535-47bb-0310-9956-ffa450edef68
2017-07-25 16:12:15 +00:00
Arun Patidar 98d5d599f9 Fixed typo of entity name and invoke attribute in service defination.(OFBIZ-8834)
Thanks Devanshu for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802883 13f79535-47bb-0310-9956-ffa450edef68
2017-07-25 05:57:23 +00:00
Nicolas Malin c8fd7699e4 Fixed: remove uneeded makeValidContext call with Groovy DSL improvement on run service at revision 1802798
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802811 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 13:07:52 +00:00
Arun Patidar e8b73fbc18 Improvements in CommEventContentAssoc entity definition and services. (OFBIZ-8843)
Applied improved patch. thanks Devanshu for  your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802772 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 09:24:15 +00:00
Jacopo Cappellato 94bfda45e9 Fixed: MRP generates duplicate requirements when items are initially under
minimum quantity and have with pending approved purchase orders.
(OFBIZ-9526)

With this change the requirements to replenish the inventory up to the minimum 
stock quantity is generated, if needed, only when the first demand event is 
processed or at the end.

Thanks: Amit Gadaley for the help in recreating the issue and testing the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802766 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 09:09:38 +00:00
Deepak Dixit a4f0e1d626 Fixed: Improvements in Lot entity definition and services,
Applied slightly modified patch from jira issue OFBIZ-8273.
productionruntests test was failing, this will fix the test case.  

Thanks Devanshu for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802755 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 06:47:08 +00:00
Deepak Dixit acbf92baff Improved: Used ModelService.IN_PARAM instead of hard coded "IN" in groovy file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802753 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 06:13:11 +00:00
Deepak Dixit cd94155947 Fixed: Fixed typo done at r#1802668, Corrected service name from filteredRatesList to filterRateAmountList
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802752 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 06:01:41 +00:00
Nicolas Malin 0c9a81f118 Improved: With new groovy DSL for query one, simplify groovy rate amount services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802712 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 22:42:56 +00:00
Arun Patidar 1c9dd91b55 Improvements in Lot entity definition and services. (OFBIZ-8273)
Thanks Rishi Solanki and Devanshu Vyas for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802694 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 13:43:23 +00:00