Commit Graph
72 Commits
Author SHA1 Message Date
Lucas Perais (lpe) cda2ac9b71 [FIX] event, event_sale, website_event: allow portal access to own registrations
OPW 1859364
2018-06-26 15:07:42 +02:00
Christophe Simonis f1ae96e389 [MERGE] forward port branch saas-14 up to a50e7aa366 2018-05-15 18:36:16 +02:00
Christophe Simonis 13fc77daf4 [MERGE] forward port branch 9.0 up to 19878d011f 2018-05-15 16:51:34 +02:00
RomainLibert 19878d011f [FIX] event: fix bug with users
We need to fix a problem with the users where someone might get
informations on registrations.
2018-05-15 09:41:25 +02:00
Thibault Delavallée 91617bfc78 [IMP] event: ease event configuration and management through categories
This commit improve event.type (Event Categories) model and views in order
to ease event configuration through more detailed categories. The purpose
is to be able to define categories holding default data for website,
tickets, attendee mailing, ... Choosing a category on a new event takes
those default values to help users creating finely-tuned events.

Main configuration on event.type is

 * auto confirmation, replacing the old system-wide auto confirmation
   parameter
 * seats limitation
 * location: online events, timezone
 * communication: reply-to email address, twitter hashtag, automated
   mailing of attendees
 * ticketing
 * website parameters: display on website, display tracks, allow track
   proposal
 * question to attendees
2017-03-03 13:09:53 +01:00
Mitali Patel ddd4479d10 [IMP] event: apply various usability improvements
* reporting: remove report.event.registration as it can be replaced by
   pivot and graph views on event.registration model directly. The
   custom SQL view does not add any valuable information;
 * event: correctly take limitations from event category and check
   minimum seats is lesser or equal to maximum seats;
 * event: reorganize a bit the form view

  * avoid some kind of random ordering of buttons;
  * move seats availability directly in the form view;
  * ticket page is now used only for ticketing purpose, not a mismatch
    with seats;

 * registration: attendees can be set as done only for confirmed events
   to avoid confusion when working with draft events;

Misc usability

 * event.type: rename event type to event category to have a unified
   term across various event addons;
 * event: stop tracking active field as it does not add interesting
   information; it should not toggle everyday;
 * event: track location as it does add valuable information;
 * event: rename some labels to ease user experience;
 * event.mail: add missing description and rec name;
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
Yannick Tivisse ff63f5d0a3 [IMP] base_setup: Allow the admin to modify the default user acess rights
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights

The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
2016-08-23 11:14:37 +02:00
Thibault Delavallée 274e94d715 [REF] event: remove group_mail_scheduling as email scheduling is part of event management
In the interface using the email scheduler of events is limited to a group
that is not activated by default. However by default emails are sent and
therefore cannot be configured by the event maanger.

As managers should always be able to configure sent emails we decided to
remove the group and always give access to the email scheduling tab of the
event form view.
2016-08-19 15:49:37 +02:00
Thibault Delavallée 6b87c731fb [FIX] event: fix access right issues
* Limitate rights of event user to reading an event

Event user should not be able to create events. Its rights should be limited
to reading events, creating and updating registrations. Only event managers
are allowed to create and modify events.

* Sudo access on ir.values in event config settings

Configuring events imply modifying auto confirmation parameter which is stored
into an ir.values. As this model is limited to values with user_id = uid we
have to sudo the access here as it is not a user-defined value.

* Add some tests for the various fixed issues
2016-08-18 15:09:40 +02:00
Thibault Delavallée efd55ab8a5 [REF] various: rename openerp node to odoo in xml files 2016-08-10 15:48:10 +02:00
dut-odoo c83702a36a [IMP] event: change term 'Subscription' to 'Registration'
Changed term 'subscription' to 'registration' in event, event_sale,
website_event, website_event_sale modules
2016-05-13 11:28:28 +02:00
Yannick Tivisse 1ecba213f4 [IMP] Newly created users get all manager access right
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights
when created from the dashboard, which was leading to an error.

This bug leaded to a new discussion. Better to have basic employee having user
rights for all main applications. For bigger entreprises there is an admin that
will carefully remove extra rights, if necessary. The target is small businesses,
it makes sense that every way to create a user gives the same result.

In conclusion, each new user has a full access to the applications by default

How is it implemented ?
We added an inactive default user which original access right to the groups
'base.group_user' and 'base.group_partner_manager' in base. Each
application will extend the default user's access right by adding the maximal
access right for this application.

On user creation, we will use by default the 'group_id' field from the default
user. We will in the same time remove the ugly 'default_groups_ref' key which
was passed sometimes in the context for some fields in some views, and sometimes
nothing.

So, the user can modify the access rights for the default user, but he should be
aware that removing project user access rights for a default user will prevent
a *created on the fly in a task* user will not be able to access the task.
2015-11-20 16:27:32 +01:00
Gaurav Panchal 4898d3a598 [IMP] event: groups and config update
Move the module category declaration in base to fit the other categories
declaration. Use event groups instead of marketing groups.
2015-08-12 11:41:58 +02:00
Richard Mathot 5ab531f6d0 [FIX] event: unused group added at 581c2f1aa1 2015-04-28 11:23:12 +02:00
Yannick Tivisse 581c2f1aa1 [IMP] event: usability improvements
- New filter "not cancelled" for attendees management
- No more readonly nor invisibility on "minimum number of seats"
- Event questions and mail scheduling have been put under an optional
  tab
2015-04-22 09:25:26 +02:00
Mahendra barad ad48bf6d7d [IMP] [ADD] event: mail schedulign system.
This commit adds a way to configure scheduled emails on events. It replaces
existing automatic emails at confirmation and subscription. It proposes to
configure some schedulers, based on subscription or event, using a template
and a configurable timedelta.

A cron is added that regularly checks for event mailing schedulers to execute
and launch them. The granularity of send emails is therefore limited to the
granularity of the cron, aka 1 hour.

[TEST] Added tests for this feature.

Also cleaned a bit event, country_id is now a pure related instead
of a computed field trying to be a related. Also removed default templates
on event category. Configuration in the event itself should be easy
enough for most use cases.
2014-10-17 16:48:29 +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
sgo@tinyerp.com 2e272a7687 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130626111029-e6szwugpewn3cd2g
2013-06-26 16:40:29 +05:30
Thibault Delavallée 7c026132ff [REF] event: visibility moved from portal_event to event. Customized rules, removed now unnecessary files.
bzr revid: tde@openerp.com-20130410125117-m9ir36qhkp9fqax1
2013-04-10 14:51:17 +02:00
Foram Katharotiya (OpenERP) edc4077c54 [IMP] remove access rights in mail,crm,event
bzr revid: fka@tinyerp.com-20130222072757-0fain23pzyb8dzk9
2013-02-22 12:57:57 +05:30
Foram Katharotiya (OpenERP) 49ef7d89a8 [IMP] add yml file & add access rights in event
bzr revid: fka@tinyerp.com-20130220093227-uf6oom9fginl2jdc
2013-02-20 15:02:27 +05:30
Olivier Dony 3fe6987ce7 [MERGE] Harmonization of noupdate flag on security XML data, courtesy of Alexis de Lattre (Akretion)
ir.rule records are in noupdate data blocks to let the admin
alter them without fear of them being reset at next update.
Other records such as groups are in normal mode, so they
can be updated whenever necessary

bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
2012-12-19 00:20:01 +01:00
Hardik a41714da56 [IMP]User : Access rights in changed menu name
bzr revid: hsa@tinyerp.com-20120919085103-mmen7f0vzqvmp9bx
2012-09-19 14:21:03 +05:30
Antonin Bourguignon 74aa5cfa8e [IMP] identation, also remove useless 'noupdate=0' attribute
bzr revid: abo@openerp.com-20120725144039-o3kjxo065qhode33
2012-07-25 16:40:39 +02:00
Alexis de Lattre 5101771cd9 Harmonize the noupdate flag on security XML files :
- ir.rule objects are noupdate="1"
- all other objects are noupdate="0"

bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-07-13 19:08:38 +02:00
Fabien Pinckaers 2ed6acfea1 [MERGE] fix in access rights
bzr revid: fp@tinyerp.com-20120706150817-s01gbb4gga6dxybm
2012-07-06 17:08:17 +02:00
Dharti Ratani (OpenERP) a1b98b37a9 [IMP]merge with latest trunk
bzr revid: dhr@tinyerp.com-20120702050506-5vfw6o0ahrbbof5g
2012-07-02 10:35:06 +05:30
Sanjay Gohel (Open ERP) 1702b2335d [IMP]remove tabs and add spaces instead of them
bzr revid: sgo@tinyerp.com-20120628064005-zuerrpazumf5lf1q
2012-06-28 12:10:05 +05:30
Dharti Ratani (OpenERP) b886574065 [IMP]allocating read access of events to partner manager
bzr revid: dhr@tinyerp.com-20120618095630-svru4lbqlbtpgdr3
2012-06-18 15:26:30 +05:30
Dharti Ratani (OpenERP) f34c85369f [IMP]Event - applying proper access rights for user and manager
bzr revid: dhr@tinyerp.com-20120612102129-gqdlz6911b3h1ld6
2012-06-12 15:51:29 +05:30
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Quentin (OpenERP) 236ed739b9 [FIX] event: fixed the access rights in order to have that being in the manager group implies being in the user group too
bzr revid: qdp-launchpad@openerp.com-20120329085703-419271p8s81cl6zo
2012-03-29 10:57:03 +02:00
Sanjay Gohel (Open ERP) 4f69e02d1c [IMP]add share access to registration and changes in security view
bzr revid: sgo@tinyerp.com-20120326124825-xewmd0qc82k9hk11
2012-03-26 18:18:25 +05:30
Quentin (OpenERP) 6aa5b2e701 [REF] event: removed useless TODO statement
bzr revid: qdp-launchpad@openerp.com-20120301114523-8rrplgaojxhwdn51
2012-03-01 12:45:23 +01:00
Quentin (OpenERP) c530c27c2c [ADD] event: added security file
bzr revid: qdp-launchpad@openerp.com-20120224133302-w3fr4nxju54zs4nh
2012-02-24 14:33:02 +01:00
Quentin (OpenERP) e44b7b294d [IMP] event: removed the dependancies to crm, product and marketing module
bzr revid: qdp-launchpad@openerp.com-20120224132014-aw1ajxsjuub6jb7z
2012-02-24 14:20:14 +01:00
MVA bf30de82bf [CLEAN] cleaning the code
bzr revid: mva@openerp.com-20120124154628-634l3gbhfk9xbb31
2012-01-24 16:46:28 +01:00
MVA 79a5c4c41c [CLEAN] cleaning the code
bzr revid: mva@openerp.com-20120124153515-nl41fyx49gge3w7r
2012-01-24 16:35:15 +01:00
Raphael Collet 0c1021806d [MERGE] trunk-user-groups-rco: add category_id to groups
bzr revid: rco@openerp.com-20111213141949-ohvn0c9iq6tcl7jj
2011-12-13 15:19:49 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
Raphael Collet 70bb0dd810 [IMP] base_contact, event, knowledge, product, project, sale_mrp: avoid redefinition of sale groups
bzr revid: rco@openerp.com-20111212145128-zx64v0uwf8n0lwyu
2011-12-12 15:51:28 +01:00
Raphael Collet 857e45e84c [IMP] base_contact, crm, document, event: add group categories
bzr revid: rco@openerp.com-20111212134354-49p2gyf93qozplll
2011-12-12 14:43:54 +01:00
Raphael Collet ba6342174e add group implications
bzr revid: rco@openerp.com-20110802130811-pkdmw43ufifz0tpj
2011-08-02 15:08:11 +02:00
rpa (Open ERP) 6caca89f87 [IMP]: Moved reference of demo user from *_security.xml to demo file
bzr revid: rpa@tinyerp.com-20101119102525-8gyj1gmm1w29rwxu
2010-11-19 15:55:25 +05:30
Harry (OpenERP) 764b9f251e [FIX] correct regression on intalling module without demo data
bzr revid: hmo@tinyerp.com-20101114134821-7djwpr6nmmxu584q
2010-11-14 19:18:21 +05:30
vth 448fc93683 [IMP] account,hr,sale,point_of_sale,event: give user role to the demo user
bzr revid: vth@tinyerp.com-20101101124606-ia3nqngu19u8b7oa
2010-11-01 18:16:06 +05:30
rpa (Open ERP) 99ff117168 [FIX]: event: Fixed access right to open partner menu for sales user
bzr revid: rpa@tinyerp.com-20101020114139-xojcqy1kilkiy65l
2010-10-20 17:11:39 +05:30
Fabien Pinckaers fe9500c14e [IMP] access rights cleaning
bzr revid: fp@tinyerp.com-20101016164709-8w551aaosqx0dufu
2010-10-16 18:47:09 +02:00
vth 19d6512527 [FIX] change the id of event.registration.badge object in .csv file
bzr revid: vth@tinyerp.com-20101014053128-v5ahv229eu2z5oo8
2010-10-14 11:01:28 +05:30