Commit Graph
19 Commits
Author SHA1 Message Date
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
qsm-odoo d04a42022b [REF] website, *: review website access rights
* event, website_event, website_forum,
* website_hr_recruitment, website_sale

Website access rights were buggy. The editor assets and website editor
assets have to be loaded together to work so the previous behavior
which only loaded one with the restricted access right was not right.
Also, people which had the "Manager" access right for model like event
or job only got access to creation and edition of those objects if they
had the full access to website access rights.

Now the website module creates the two same groups :
* group_website_publisher: load all editor assets, give access to
page creation for model the user has access (event, job, ...) and
edition of those pages
* group_website_designer: implies the first one and give access in
creation and edition of all pages + access of all website menus

The manager access rights for event, product, jobs, etc now implies
the group_website_publisher group for the user (so that the manager
have the editor assets and editor ui).
Note: some python codes use the group_website_publisher for no right
reason, this has to be adapted.
2016-09-28 15:56:04 +02:00
Dharmraj Jhala 616f294786 [MIG] website_event: migrated into new API 2016-04-14 11:56:45 +02:00
Deep Bundela 6aee28e685 [MOV] website_event: reorganise module files
- group models and views
- remove useless 'doc/' directory
- adapt module manifest
2016-04-14 11:56:44 +02:00
Jeremy Kersten a360bc3126 [FIX] website_event: allow everybody to ready event.type. Else a user who is not public, not portal and not event user or event manager cannot read the event. 2014-08-26 09:45:25 +02:00
chm@openerp.com e09a8934b4 [FIX] website_event: access right for portal user
bzr revid: chm@openerp.com-20140502162138-qp2kci9i1bncsj1i
2014-05-02 18:21:38 +02:00
Christophe Matthieu 07adc071df [IMP] website_event: split module: remove depends with sale and move event's ticket form into a bridge: website_event_sale
bzr revid: chm@openerp.com-20140128113101-aon81actmpahyn58
2014-01-28 12:31:01 +01:00
Christophe Matthieu 163364e5fe [FIX] website_event: event.event.ticket access right
bzr revid: chm@openerp.com-20140117143752-0jpkcbhjsyavl08j
2014-01-17 15:37:52 +01:00
Christophe Matthieu 4ff74cbf99 [IMP] website: editor menus is displayed in function of users groups (event, blog...)
bzr revid: chm@openerp.com-20140116180535-c736cuxn12qghiea
2014-01-16 19:05:35 +01:00
Christophe Matthieu b958ece1df [IMP] website_sale: access rights
bzr revid: chm@openerp.com-20131115152716-86wb7yxq2s4hr633
2013-11-15 16:27:16 +01:00
Christophe Matthieu 3f1ff327ad [FIX] website: access right for demo user
bzr revid: chm@openerp.com-20131114152212-jcmyzbf6zcpkp999
2013-11-14 16:22:12 +01:00
Christophe Matthieu 514a6484bf [FIX] website_event: access right for product
bzr revid: chm@openerp.com-20131112171014-s95rpymdqq8v8upr
2013-11-12 18:10:14 +01:00
Xavier Morel fd6e59b5a0 [ADD] read rights on event.type for public group
so events filtered by category can be displayed

bzr revid: xmo@openerp.com-20131030122201-rbul0nxopmqayv4i
2013-10-30 13:22:01 +01:00
Christophe Matthieu 4cffb20e72 [FIX] website_event: name field in access rules
bzr revid: chm@openerp.com-20130808081400-gafdfykn9ds3rsp5
2013-08-08 10:14:00 +02:00
Christophe Matthieu 95e8504d5c [IMP] website_event: add function fields register on ticket model. Add onchange on sale.order.line for event tickets
bzr revid: chm@openerp.com-20130807112812-23l0b8pjdzutyixy
2013-08-07 13:28:12 +02:00
Christophe Matthieu 64ec795203 [IMP] website_event: managment of tickets for an event to defined price and max number registration
bzr revid: chm@openerp.com-20130807094734-4uwlezgr50m4lwwu
2013-08-07 11:47:34 +02:00
Christophe Matthieu 972d35b277 [IMP] website_event: access right for event and product
bzr revid: chm@openerp.com-20130806132041-84ubxx4hxgyqtwqk
2013-08-06 15:20:41 +02:00
Christophe Matthieu 56803c5814 [IMP] website_event
bzr revid: chm@openerp.com-20130802044915-zo5shxu4dw7zn05c
2013-08-02 06:49:15 +02:00
Christophe Matthieu 89ddff91e3 [IMP] website_event
bzr revid: chm@openerp.com-20130802043526-btxa9x3xi5co9oru
2013-08-02 06:35:26 +02:00