El 15/05/14 16:31, Cédric Krier ha escrit:
On 15 May 14:49, Étienne Labaume wrote:
>Hello there,
>
>Just to mention something on the calendar module: Apparently, you can only
>have one calendar per user in Tryton. Is this limit supposed to stay (I'm
>running tryton 3.0.2 right now)? I'm pretty sure there's a good reason for
>someone to have coded it that way, but I would suggest that a user can have
>many calendars, so he can choose what
>kind of info goes in which.
It will not change because it is part of the protocol.
Because the calendar client will use the email as a key to know to which
calendar an received event must be posted.
As for now in Tryton, a user == an email.
But having only one primary calendar is not really a limitation as you
can create many other calendar without owner (not primary) but with
right access on it.

So basically this One2Many [1] must be a One2One.

[1] http://hg.tryton.org/modules/calendar/file/a9cfd97c28fa/res.py#l14

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Reply via email to