[Vtigercrm-developers] Documents Reference Field - cannot quick create
Alan Lord
alanslists at gmail.com
Fri Sep 25 09:56:22 GMT 2020
Documents have an n:n relationship with other modules, hence why no
related field.
Relationships are stored in vtiger_senotesrel.
HTH
Al
On 25/09/2020 10:47, Martin Allen wrote:
> Not sure if anyone has come across this issue before - if you add a
> related field to a module that relates to the Documents module, it is
> impossible to Quick Create a Document from the related field (unlike all
> other modules)
> It appears to be due to the fact that the Quick Create button on a
> related field simply triggers the click of the element in the Quick
> Create button on the header bar, but with an additional callback
> function that populates the Related field with the newly created record.
> However Documents are handled differently in the Quick Create header as
> it has its own sub-menu, which stops its working in this case.
>
> Has anyone seen this before and figured out a work-around? We tried to
> make it show the Upload file to vTiger Popup by default, but then are
> unable to call the callback function.
>
> Not sure if this is an issue in vTiger itself, as no-where is there a
> related field to Documents by default, they're all related lists,
> however it would be nice to be able to do this easily as it allows
> simple customisation/extendability of modules.
>
> Martin Allen
>
> *01392 248692 - Main Office
> 01392 690659 - Direct Line*
>
> *signature2*
>
> Have you visited our website recently? http://www.clystnet.com
> <http://www.clystnet.com/>
>
>
> The information in this email is confidential If you are not the
> intended recipient, you must not read or use that information. This
> email and any attachments are believed to be virus free however no
> responsibility is accepted by Clystnet for any loss or damage arising in
> any way from receipt or use thereof. Clystnet Ltd (company reg number
> 7164503) is based at Silverdown Park, Fair Oak Close, Clyst Honiton, EX5 2UX
>
>
> _______________________________________________
> http://www.vtiger.com/
>
More information about the vtigercrm-developers
mailing list