Author: jleroux
Date: Mon Oct 26 18:39:43 2009
New Revision: 829895
URL:
http://svn.apache.org/viewvc?rev=829895&view=revLog:
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>