Author: jleroux
Date: Sun Oct 22 08:51:08 2017
New Revision: 1812888
URL: http://svn.apache.org/viewvc?rev=1812888&view=rev
Log:
Improved: Facility main screen relies on demo data
(OFBIZ-5321)
In facility you are normally supposed to choose a facility on main page.
Because the POS component was removed in 13.07 it had a small side effect.
You can't anymore choose one facility. Because there is only one so you get
directly to the update page of the web facility, which is confusing.
The Facility main screen was not designed to support a system with just one
facility defined and the issue is now evident in 13.07 because the demo
facility defined in the POS component (facilityId="MyRetailStore")
is no more loaded. We should not rely on demo data for the proper functioning
of the system.
It's related to r734037, but too much time passed since, easier to explain on
screen with a label, so not considered a bug but an improvement
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/config/ProductUiLabels.xml
ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/config/ProductUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/config/ProductUiLabels.xml?rev=1812888&r1=1812887&r2=1812888&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/config/ProductUiLabels.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/config/ProductUiLabels.xml
Sun Oct 22 08:51:08 2017
@@ -23258,6 +23258,10 @@
<value xml:lang="zh">å¿
é¡»å¨èå´å
</value>
<value xml:lang="zh-TW">å¿
é å¨ç¯åå
§</value>
</property>
+ <property key="ProductOnlyOneFacility">
+ <value xml:lang="en">If there is only one facility, you need to select
it to continue, no search available</value>
+ <value xml:lang="fr">S'il n' y a qu'un seule Lieu de stockage, vous
devez le sélectionner pour continuer, aucune recherche n'est
disponible.</value>
+ </property>
<property key="ProductOnlyShowingFirstN">
<value xml:lang="de">ANMERKUNG: Es werden nur die ersten ${viewSize}
von ${listSize} Produkten angezeigt. Um die restlichen Anzuzeigen verwenden Sie
den Produkt-Bereich dieser Kategorie.</value>
<value xml:lang="en">NOTE: Only showing the first ${viewSize} of
${listSize} products. To view the rest, use the Products tab for this
category.</value>
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml?rev=1812888&r1=1812887&r2=1812888&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml
Sun Oct 22 08:51:08 2017
@@ -31,6 +31,7 @@ under the License.
<widgets>
<decorator-screen name="main-decorator"
location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
+ <label style="h3"
text="${uiLabelMap.ProductOnlyOneFacility}"/>
<section>
<condition>
<if-service-permission
service-name="facilityGenericPermission" main-action="VIEW"/>