[Vtigercrm-developers] Inventory Record copying

Conrado Maggi comaggi at gmail.com
Tue Nov 7 08:04:11 GMT 2017


Hello Alan,

Know your pain, the vtws_revise is broken for all inventory modules. Maybe
this will help you: http://code.vtiger.com/vtiger/vtigercrm/issues/654
there is a commit in there that is supposed to fix it.

Conrado

On Mon, Nov 6, 2017 at 2:27 PM, Alan Lord <alanslists at gmail.com> wrote:

> On 06/11/17 12:48, Alan Lord wrote:
>
>> I don't really have a way to tell which type of save is which (Detail or
>> Edit) from the data passed into the Custom Workflow function.
>>
>> I don't believe that I can use the $focus->isLineItemUpdate value when
>> using the Server APIs.
>>
>> How am I supposed to achieve this?
>>
>
> This is a really horrible "hack" (and one you should probably not really
> be able to do), but it does seem to prevent the duplicate line items
> problem if, right at the start of my custom workflow function I add:
>
>     if($_REQUEST['action'] == 'Save') {
>>         $_REQUEST['action'] = 'SaveAjax';
>>     }
>>
>
> :-(
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20171107/df6a0265/attachment.html>


More information about the vtigercrm-developers mailing list