[Erp5-dev] Problem with portal_selections tool

Shrenik Bhura shrenik.bhura at intelliant.net
Fri Aug 12 13:58:40 CEST 2005


Hi Jerome, 

> 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'.
This is not happening as whenever I click on the 'Add' button after
filling in the property name, etc it does not add anything and gives an
authentication failure even though I am logged in with manager account.
or,
2. Add a property to the AccountingTransaction.py by the above name. - I
realise this may not be possible as there is no existing property sheet
for the same.
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/4f92cfff/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/4f92cfff/attachment.png>


More information about the Erp5-dev mailing list