You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/10/26 19:39:43 UTC

svn commit: r829895 - in /ofbiz/trunk/applications: accounting/config/AccountingUiLabels.xml product/widget/catalog/ProductScreens.xml

Author: jleroux
Date: Mon Oct 26 18:39:43 2009
New Revision: 829895

URL: http://svn.apache.org/viewvc?rev=829895&view=rev
Log:
Add a button to create an agreement from a product.
I have also modified the content of PageTitleEditAgreement label in French (only) because translation of the sole Edit was not enough to give some sense.

Modified:
    ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml
    ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml

Modified: ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=829895&r1=829894&r2=829895&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml (original)
+++ ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml Mon Oct 26 18:39:43 2009
@@ -12519,7 +12519,7 @@
         <value xml:lang="de">Vereinbarung ändern</value>
         <value xml:lang="en">Edit Agreement</value>
         <value xml:lang="es">Editar Acuerdo</value>
-        <value xml:lang="fr">Modifier un accord</value>
+        <value xml:lang="fr">Créer/Modifier un accord</value>
         <value xml:lang="hi_IN">अनुबंध संपादित करें</value>
         <value xml:lang="it">Aggiorna Contratto</value>
         <value xml:lang="nl">Overeenkomst aanpassen</value>

Modified: ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml?rev=829895&r1=829894&r2=829895&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml Mon Oct 26 18:39:43 2009
@@ -142,6 +142,11 @@
             <widgets>
                 <decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
+                        <container>
+                            <link target="/accounting/control/EditAgreement" url-mode="inter-app" text="${uiLabelMap.PageTitleEditAgreement}" style="buttontext">
+                                <parameter param-name="productId"/>
+                            </link>
+                        </container>
                         <screenlet title="${uiLabelMap.ProductPurchases}">
                             <include-form name="ListSupplierProductAgreements" location="component://product/widget/catalog/ProductForms.xml"/>
                         </screenlet>