The issue exists also in the older version.
The field "requirementByDate" form "FindApprovedProductRequirements" in
RequirementForms.xml has been set wrongly and it should be "requiredByDate".
This causes the result could not be queried out properly as indicated as below:
The result is governed by the service "getRequirementsForSupplier",
where reads the list from the view "RequirementAndRole".
In the view entity definition, the field is defined as
<alias entity-alias="RQ" name="requiredByDate"/>,
but it is not the case in the form "FindApprovedProductRequirements" above.
After changing it to the correct name, the bug is solved.
jleroux: Same exists in OrderEntryForms::FindRequirements
Thanks: Schumann Ye for report Pierre Smits for creating the initial PR494
Fixes random object created and used only once in classes:
SSLUtil
OrderTestServices
FinAccountHelper
GiftCertificateServices
Also related minor formatting in HashCrypt and ContextFilter
Currently the create buttons for the main objects of the order components are located within the find and profile widgets/templates of those object.
In order to improve the usability of OFBiz (and thus the appeal of it for adopters and users) these create buttons/links/etc. should be in a main action menu visible at all times when a user is working within the component.
Modified:
added: MainActionMenu for the order component, having:
menu-item to start the order creation
menu-item to start the quote creation
menu-item to start the request creation
menu-item to start the requirement creation
menu-item to start the return creation
menu-item to start the allocation plan creation
removed: menu-item to create a request from RequestSubTabBar
AllocationPlanScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
CommonScreens.xml
improved: grouping regarding customer requests
CustRequestScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
removed 'menu-bar' decorator section
OrderEntryCommonScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
OrderReturnScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
removed: 'basic-nav' container
OrderViewScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
QuoteScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
removed: container with create quote link
QuoteWorkEffortScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
ReportScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
RequirementScreens.xml
added: decorator-section for pre-body to include the MainActionMenu
removed: container having create link
Fixes a possible null dereferencing in OrderServices.java
I put it apart because it's a simple change but the indentation
makes things complicated with some formatting changes
This only fixes a 1st issue found while debugging.
Adds the order package to be able to debug Groovy in Eclipse. We need to add
packages to all Groovy scripts to be able to easily debug Groovy in Eclipse.
Adds .first() in updateReturnStatusFromReceipt at OrderReturnServices.groovy[506]
That is the fix
A lot of non functional formatting
There is no usage of generateRandomFinNumber OOTB
I though put: // FIXME number is null!
because it passes null to UtilValidate.getLuhnCheckDigit if isId is true
Steps:
Locate any completed order.
From the order's view screen "Action" section click Create Return.
Select some items to return then accept the return.
From the "Return Item" menu click Receive Return button.
You will land on the facility application "Receive Return" screen.
Try receiving items, which will generate an error
Thanks: Nameet Jain
Currently OFBiz is broken and hard to fix. You can't even create an order !
Revert "Improved: visibility of expire button (OFBIZ-12362) (#331)"
This reverts commit e3b125ef4c.
Revert "(OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#330)"
This reverts commit a8ab2be55a.
Revert "Improved: seed data (OFBIZ-12355) (#328)"
This reverts commit b204b867b4.
Revert "Reverted: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 85e066deb3.
Revert "Reverted: damn I did not revert the right push :/"
This reverts commit b867b2a89f.
Revert "(OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#325)"
This reverts commit 8ed2252df8.
Revert "Reverted: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 5b5e03f71b.
Revert "Improved: Have the ability to revoke (expire) roles of a party (OFBIZ-5980)"
This reverts commit 46f7ee91d3.
Revert "Improved: seed data (OFBIZ-12353) (#324)"
This reverts commit fade92bb57.
added/changed/updated:
- added field definition for from and through date to the entity
- added service for expiration
- request-map for expiration
- appropriate forms to work with added entity fields
- added groovy code to check existing when adding PartyRole record and call expiration service if needed
- adding fromDate value to seed, test and demo data
Reverts commit 46f7ee91d3
Reverted on Pierre Smits kindly asking for authoring by pushing a PR, not only a
thanks while committing his patch after testing it locally
Reverts commit 46f7ee91d3
Reverted on Pierre Smits kindly asking for authoring by pushing a PR, not only a
thanks while committing his patch after testing it locally
Currently it only possible to delete a role. That can lead to potential error
messages, when a particular role is associated with records where the roleTypeId
is used as a foreign key in the entity-model/database and the user tries to
delete that role from the list.
In order to avoid such, it is better to revoke the PartyRole record by setting
an expiration date (end date) on the record.
Thanks: Pierre Smits
Jira title: OutOfMemory and stucked JobPoller issue
On ecommerce website with strong frequentation and shopping cart saving, when the service autoDeleteAutoSaveShoppingList run, it failed due to the data quantity to delete and sature the server ressources.
The solution to escape this case is :
* filter shopping list to delete directly by the data search
* split quantity by transaction
Thanks: Giulio Speri
If you set explodeItems to true on your productStore, tax and adjustment wasn't correctly calculate when you ordered some finish goods.
Thanks: Suraj Khurana and Ankush Upadhyay
When the webshop (ecommerce component) has been set up for retail (B2C), with
the tax setting 'Show prices with VAT tax included' set to 'Y' in store 9000
the appropriat Tax Auth Geo and Tax Auth set in store 9000
the flag 'Include Tax In Price' set to 'Y' for the Tax Auth
the price for a virtual product is shown including VAT.
However, for a selected variant the price shown is without VAT
Thanks: Pierre Smits to raise the issue and Priya Sharma for solved it
When you create a product as a marketing package, you attempt when you ship this product to have the same constraint as you ship each product that compose it separately.
Marketing Package | Composed product | Product Feature
GIFT_PACKAGE | |
1 | GIZMO_HEAVY | (WEIGHT) HEAVY_SIZE
2 | GIZMO_TINY |
On this example if I ordered a GIFT_PACKAGE, during the order process, currently you never see that you ordered a product with a feature HEAVY_SIZE, feature that can have some consequence for select a shipping method.
So when we need to analyze the features linked to a product, if the product is a marketing package, we propage the search to all products that compose it
This prevented to run the stable demo, hence the next, weirdly the trunk had
not this problem. Anyway better safe than sorry... Maybe related to Gradle
version or rather libs loaded?
The reason why the stable (and old) demos were not running is because the
EntitySaxReaderTests did not pass
Menus link defaut parameters for height and width are not considered when the
link is generated. When parameter with empty value is passed to the macro, macro
default values are not retrieved.
To reproduce
you can create a "layered-modal" type link in a menu and click on the link
(without height nor width):
this will generate the link with parameters "data-dialog-height" and
"data-dialog-width" empty
Patch provided
When applied, the MacroMenuRenderer.renderLink will not send empty values to
the macro so that default value will be retrieved (what is actually done on
MacroFormRenderer.renderLookup)
Thanks: Leila
Currently, session timeout is configured in apps separately, but session is
shared globally, so the smallest one take effects, and it will not take effect
separately for different apps.
Then it is both inconvenient and confusing to increase session timeout value,
as all values in those files need to be updated.
A global web.xml is needed, to simplify session timeout configuration.
Thanks: Xin Wang
(OFBIZ-12239)
After a fresh data base init with only seed, if you create your company without invoice or quote prefix, your sequence will be generate with 'null' string where the invoice or quote prefix should be have :
> null10001, null10002, ...
asm select library is already replaced with select2 library, but the library files still exist in code base unused.
asm_asmListItemPercentOfForm varaible was used to set the width of the selected items which were displaced distictly from select fields. With select2, the selected items display inside the input field so it is no more needed
Thanks Jacques Le Roux for reporting it
Migration of OFBiz wiki 3.1-3.2-3.3 Order Entry page and Sales Order Management page
Create Order Diagrams
Order Status Diagrams
Add link from screen to help
This handles the "'(' should be on the previous line?" rule of MethodParamPad
Actually not completely, because there are still some cases that can't be
handled by changing code, notably when a casting is necessary. I believe there
is an error in checkstyle code. I'll discuss that in dev ML before sending
checkstyle team a report.
There is no "basePrice" resulting from calculatePurchasePrice service calling but
a simple "price".
This was put in with d04f777 commit and OFBIZ-11955
Thanks: Woyce Batkins for report
When a dropship only (or dropship on low ATP) product with no qualified supplier
added to shopping cart and cart converted to sales order. System should return
errors and should not create sales order.
Thanks: Amit Gadaley