[Vtigercrm-commits] [vtiger-commits] r7760 - /vtigercrm/trunk/Smarty/templates/RelatedListsHidden.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 06:18:08 EDT 2006


Author: saraj
Date: Tue Jul  4 04:18:05 2006
New Revision: 7760

Log:
* Modified to fix the problem that when create product from vendor relatedlist product saved but the product not displayed in Product Listview, avoid passing parent id

Modified:
    vtigercrm/trunk/Smarty/templates/RelatedListsHidden.tpl

Modified: vtigercrm/trunk/Smarty/templates/RelatedListsHidden.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/RelatedListsHidden.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/RelatedListsHidden.tpl Tue Jul  4 04:18:05 2006
@@ -18,7 +18,10 @@
 <input type="hidden" name="return_module" id="return_module" value="{$MODULE}">
 <input type="hidden" name="return_action" value="CallRelatedList">
 <input type="hidden" name="return_id" value="{$id}">
-<input type="hidden" name="parent_id" id="parent_id" value="{$id}">
+{* Avoid to pass the parent id when create product from Vendors relatedlist, product saved but not listed in Product LV *}
+{if $MODULE neq 'Vendors'}
+	<input type="hidden" name="parent_id" id="parent_id" value="{$id}">
+{/if}
 <input type="hidden" name="parenttab" id="parenttab" value="{$CATEGORY}">
 <input type="hidden" name="action">
 {if $MODULE eq 'Activities'}





More information about the vtigercrm-commits mailing list