Commit Graph
14 Commits
Author SHA1 Message Date
rde c8c52cd272 [FIX] website_event(_track): changing event menu name break behavior
Before this commit:
To know if an event menu is an auto generated one (eg: location, register..),
it checks if the menu name is the same as the hardcoded one in
_get_standard_menu_entries_names.
If user change the menu name, the code won't retrieve it and will act as if the
menu had been deleted and it will recreate it.

This leads to 2 bugs:
*First (website_event)
 - Change menu name from website_event (eg: location, introduction or register)
 - Check/Uncheck 'Track on website' or 'Track Proposals on website' to force
   the code to rewrite missing menus.
 - Go back to the event front end, theses menus have now been recreated, and
   are duplicated.

*Second (website_event_track)
 - Check 'Track on website' on event's back end
 - Change the 'Talks' menu name in front end
 - Go back to backend, 'Track on website' is unchecked because
   _compute_website_track won't retrieve an event menu named exactly 'Talks'

Now:
We don't use euristics to try to recover missing menus.
We just create related menu when option is checked, and we delete them when
option is unchecked.
To know which menu item comes from which option, we store a value in a new
model 'website.event.menu'.

We don't want to try to check if the menus are all there and recreate them if
needed anymore. There is cases where user wan't to delete a menu and repace
it with a link to that menu's URL in the page content.
Before this commit, the option would've been unchecked since it won't
retrieve the menu.
2017-12-12 17:46:32 +01:00
Mitali Patel 531d641375 [IMP] event_track: make tracks easier to use
Purpose of this commit is to clean and ease the use of tracks in
event management.

 * status is change to stages. Those are global for all event as we
   consider track acceptation process as similar across events;
 * change speakers many2many to a one2many. Most event have only one
   speaker or at least a main speaker;
 * add various chatter features: tracking of template, subtypes,
   suggested recipients, ... Also add activities on tracks and their
   various filters;
 * add automatic mailing on stages like already done in tasks or
   issues;
 * tweak display of tracks on agenda. Event manager see unpublished
   tracks with the right label in order to know the status of the various
   event tracks.
2017-03-03 13:08:09 +01:00
Mitali Patel 66d8567a25 [LINT] event_*: apply small linting and guidelines
No functional change is implied by this commit. Some code is moved and
some files are renamed.
2017-03-03 13:04:36 +01:00
Deep Bundela 8a4ba5d21a [MIG] website_event_track : migrate the module to new api 2016-04-14 11:56:45 +02:00
Deep Bundela 07c84d08f8 [MOV] website_event_track: reorganise module directory 2016-04-14 11:56:45 +02:00
Thibault Delavallée 93f02c0c35 [CLEAN] website_event_track: cleanind / migration to new api of the module
- removed event.tag and event.track.stage models
- cleaning / linting
- fixed kanban view of tracks
2014-10-06 15:28:17 +02:00
Olivier Dony 4572ea9ef3 [FIX] website_event_track: employees should not be restricted to public events only
Also switched rule to noupdate. A manual fix of existing installations
will be necessary, as is usually the case for ir.rules changes.
This module has not made it into a LTS version yet, so it is acceptable.
+ Added a _description for the event.track model to avoid it being
replaced by inherited descriptions.

bzr revid: odo@openerp.com-20140225115742-ghnt3khn6hvycnnw
2014-02-25 12:57:42 +01:00
Christophe Matthieu 03a373f8ef [FIX] website_event_track: access right
bzr revid: chm@openerp.com-20131204133038-lhgp3fkbqbzl3irk
2013-12-04 14:30:38 +01:00
ddm ee2d4327a8 [FIX] access rights
bzr revid: ddm@openerp.com-20131203163131-g7o86fc08gv4if9v
2013-12-03 17:31:31 +01:00
ddm 16417844c7 [FIX] Event track sponsor access rights
bzr revid: ddm@openerp.com-20131203154142-ug8hcillq0cb18vb
2013-12-03 16:41:42 +01:00
Christophe Matthieu 07f7807e94 [IMP] website_event_track
bzr revid: chm@openerp.com-20131125143713-q9a0vlenbi7njix2
2013-11-25 15:37:13 +01:00
Fabien Pinckaers 1d0e4515e7 [FIX] misc fixes
bzr revid: fp@tinyerp.com-20131123212928-m7ppyl46nny8w0vd
2013-11-23 22:29:28 +01:00
Fabien Pinckaers 95c0865283 [FIX] misc fixes
bzr revid: fp@tinyerp.com-20131123104607-ndbx420pq35fsvud
2013-11-23 11:46:07 +01:00
Fabien Pinckaers 57585307fa [NEW] Adding tracks management for events (community meeting)
bzr revid: fp@tinyerp.com-20131123092728-jo2f197rjnt39z7g
2013-11-23 10:27:28 +01:00