[Erp5-dev] Restricted traverse and module "concept" - confusion
Jérome Perrin
jerome at nexedi.com
Thu Mar 27 15:25:24 CET 2008
Łukasz Nowak a écrit :
> Hello,
>
> On 2008-03-27, 15:13:54
> Jérome Perrin <jerome at nexedi.com> wrote:
>
> (...)
>> Yes, it doesn't change restrictedTraverse, it changes
>> resolveCategory, which is used by category accessors, like when you
>> call getOrderValue or getDeliveryValue on a Simulation Movement.
>
> Ok - understood.
>
> So behaviour from my test is correct? System shall return object from
> same module using restrictedTraverse? (Just wanted to be sure.)
>
Yes, it's how zope's acquisition works in this case.
Jérome
More information about the Erp5-dev
mailing list