[Erp5-dev] Problem with portal_selections tool

Shrenik Bhura shrenik.bhura at intelliant.net
Fri Aug 12 13:35:53 CEST 2005


Hi Jerome,

> I've just commited some management screens for portal_selections in CVS. Now
> you will be able to see what are your selection parameters from the ZMI.

Thanks for this.

> In the current implementation of ERP5Defaults, (we also sometimes call them
> PortalMethods), you can 'dynamically' override these parameters by setting
> properties on the portal (using the ZMI), no need to modify the code for this.
> Looking at the code of ERP5Site.py, we can see that to override
> getPortalDefaultSectionCategory(), you can set a property named
> portal_default_section_category on the site.

Does this mean that:
1. We have to add a string property from the portal_type tool for the
Accounting Transaction portal type by the name -
portal_default_section_category and set it's value to whatever we
desire, like 'group/xyz'.
or,
2. Add a property to the AccountingTransaction.py by the above name.
or,
3. i am crapping about something i don't know, so pls clarify. ;-)

Cheers,
SB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050812/0f7ecd5b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-4.png
Type: image/png
Size: 822 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050812/0f7ecd5b/attachment.png>


More information about the Erp5-dev mailing list