[Erp5-dev] Allowed Content Types in a module
Łukasz Nowak
luke at nexedi.com
Mon Sep 7 22:12:34 CEST 2009
On Mon, 2009-09-07 at 21:43 +0530, Chetan Kumar wrote:
> ?ukasz Nowak wrote:
> > Hello,
> >
> > Does create module dialog run without any error?
> >
> Yes.
> > Is Mydoc portal type available?
> >
> Yes. It is listed in portal_types.
> > Is it possible to manually add Mydoc portal type to Mydoc Module portal
> > type?
> No. That is the surprising part.
> Is there something else to check here? I mentioned that
AFAIK if Mydoc portal type is in available portal types it have to be in
list of Allowed portal types for Mydoc Module.
I played your scenario on my quite recent instance - everything works
fine, so it might be problem in your configuration.
Regards,
Luke
>
> portal.mydoc_module.getVisibleAllowedContentTypeList() returns an empty list.
>
> Regards.
> Chetan
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev
More information about the Erp5-dev
mailing list