From 22d4226c5781ae685cbcf47fd353eb80bab0c822 Mon Sep 17 00:00:00 2001 From: "ajay javiya (OpenERP)" Date: Mon, 14 Oct 2013 14:57:58 +0530 Subject: [PATCH] [ADD]: change log bzr revid: aja@tinyerp.com-20131014092758-j5e28vdtheivzt5y --- .../base_calendar/doc/calnedar_attendee.rst | 23 +++++++++++ addons/base_calendar/doc/changelog.rst | 29 ++++++++++++++ addons/base_calendar/doc/crm_meeting.rst | 38 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 addons/base_calendar/doc/calnedar_attendee.rst create mode 100644 addons/base_calendar/doc/changelog.rst create mode 100644 addons/base_calendar/doc/crm_meeting.rst diff --git a/addons/base_calendar/doc/calnedar_attendee.rst b/addons/base_calendar/doc/calnedar_attendee.rst new file mode 100644 index 00000000000..2aacf85424c --- /dev/null +++ b/addons/base_calendar/doc/calnedar_attendee.rst @@ -0,0 +1,23 @@ +.. _calendar_attendee: +calendar.attendee: +================= + +Fields +++++++ + - ``access_token`` : + unique value(token) for every new attendee. + +Methods ++++++++ + - ``do_accept``: + REF : post message in chatter when attendee accepted an invitation. + - ``do_decline``: + REF : post message in chatter when attendee declined an invitation. + +calendar.event: +=============== +Methods ++++++++ + - ``new_invitation_token``: + generate a unique token for every new attendee. + diff --git a/addons/base_calendar/doc/changelog.rst b/addons/base_calendar/doc/changelog.rst new file mode 100644 index 00000000000..bc387af5080 --- /dev/null +++ b/addons/base_calendar/doc/changelog.rst @@ -0,0 +1,29 @@ +.. _changelog: + +Changelog +========= + +Email Template of Meeting Invitation: ++++++++++++++++++++++++++++++++++++++ + - remove static code of HTML design of email of meeting invitation + - added new better layout of email of meeting invitation using MAKO Template. + +Web controller: ++++++++++++++++ + - ``accept`` : + handle request ('meeting_invitation/accept') ,when accepted an invitation it change the status of invitation as accepted , user do need to login in system. + - ``declined``: + handle request ('meeting_invitation/decline') ,when declined an invitation it change the status of invitation as declined , user do need to login in system. + - ``view``: + handle request ('meeting_invitation/view') ,when user click on accept,declined link button , it redirect user to form view if user is already login and if user has not been login it redirect to a simple qweb template to inform user has accepted/declined a meeting ,if user click on directly in openerp it redirect user to a meeting calendar view , if user is not login then it redirect to a qweb template. + - ``check_security``: + check token is valid and user is not allow to accept/decline invitation mail of other user from email template URL. + +Web Widget: ++++++++++++ + - ``Field Many2Many_invite``(widget): + display a status button in left side of every invited attendees of meeting , in many2many. + +Qweb Template: +++++++++++++++ + - added template ,to directly allow any invited user to accept , decline a meeting , if user do not need to login in the system to accept or decline an invitation. diff --git a/addons/base_calendar/doc/crm_meeting.rst b/addons/base_calendar/doc/crm_meeting.rst new file mode 100644 index 00000000000..284a16fd6ea --- /dev/null +++ b/addons/base_calendar/doc/crm_meeting.rst @@ -0,0 +1,38 @@ +.. _crm_meeting: + +Fields: ++++++++ + - ``is_attendee`` : + function field , that defined whether loged in user is attendee or not. + - ``attendee_status``: + function field , that defined login user status, either accepted, declined or needs-action. + - ``event_time``: + function field, defined an event_time in user's tz. + +Methods: +++++++++ + - ``_find_user_attendee``: + return attendee if attendee is internal user else false. + - ``_compute_time``: + compute a time from date_start and duration with user's tz. + - ``search``: + search a current user's meetings + - ``do_accept/do_decline``: + trigger when ,user accept/decline from the meeting form view. + - ``get_attendee``: + get detail of attendees meeting. + - ``get_interval``: + call from email template that return formate of date, as per value pass from the email template. + +views: +++++++ + - ``do_accept``: + Accept button in meeting form view that is allow a user to accept a meeting ,that is visible to only attendee and if attendee state is other than accepted. + - ``do_decline``: + Decline button in meeting form view that is allow a user to accept a meeting ,that is visible to only attendee and if attendee state is other than declined. + - ``chatter(message_ids)``: + show a log of meeting. + +security: ++++++++++ + - added record rule to restrict an user to show personal invitation on meeting , so user can't change other's status , from invitation tab.