New Module Def & New DocType under it

Hi

i created a new Module Def and it appeared in the menu, now i created a new DocType and set the module to newly created one, and added this DocType as form item in the Module Def’s items.
however i am not getting the submenu when i click on the newly created module.
but if i add existing doctypes like leads or customers it appears in submenu.
any pointers regarding this?

Thanks
Gowthaman



You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/zc7dqCreldIJ.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi Gowthaman,

You need to add permissions on the DocType to make it appear. In the new version that I am working on currently, I am changing this logic so that the items appear automatically based on permission and whether the module is enabled. And remove the redundant Module Def Items 

On another note, really happy to know you are attempting to build a new module.

- Rushabh




On Oct 13, 2011, at 8:31 AM, techie2go wrote:

Hi

i created a new Module Def and it appeared in the menu, now i created a new DocType and set the module to newly created one, and added this DocType as form item in the Module Def's items.
however i am not getting the submenu when i click on the newly created module.
but if i add existing doctypes like leads or customers it appears in submenu.
any pointers regarding this?

Thanks
Gowthaman

--
You received this message because you are subscribed to the Google Groups "Web Notes Framework Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/zc7dqCreldIJ.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

---------------------------------------------------------------------------------
ERPNext - World's most affordable ERP - (Rs 299 / $7 per user per month)

Twitter: @rushabh_mehta






You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi

Yes, i added permissions, i simply added
All -> and all permissions to the DocType

but some how its not taking i believe

Thanks
Gowthaman



You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/zS2MfSi-Sf8J.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

You might be missing something

Did you do Tools -> Clear Cache?

You need to do his for role changes to take effect.

- Rushabh



On Oct 13, 2011, at 11:22 AM, techie2go wrote:

Hi

Yes, i added permissions, i simply added
All -> and all permissions to the DocType

but some how its not taking i believe

Thanks
Gowthaman

--
You received this message because you are subscribed to the Google Groups "Web Notes Framework Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/zS2MfSi-Sf8J.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

---------------------------------------------------------------------------------
ERPNext - World's most affordable ERP - (Rs 299 / $7 per user per month)

Twitter: @rushabh_mehta






You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Yes
i did that, and i can see , that the new doctype is seen in can_create, can_get_report,can_read,can_write in _startup_data   

Thanks
Gowthaman














You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/8G5DUGhCfccJ.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi

i am able to create the stuff

i just had to clear cache after saving Module, and after saving Permissions and after saving DocType ,

Thanks
Gowthaman



You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/l30bUlt10oYJ.

To post to this group, send email to wn...@googlegroups.com.

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.