Commit Graph
42 Commits
Author SHA1 Message Date
std-odoo e0c2a8a2cc [IMP] event_*: clean ACL and add a new group "Registration Desk"
Purpose
=======

Clean the ACLs related to the Event application.

Add a new group to manage the registration in the entrance of an event. This
group should not be able to modify or remove records in Event but should be
able to create and manage the registrations.

Specifications
==============

Now, there are 3 event groups

  * ``Registration Desk User``, who can manage the registrations and
    read all event-related information;
  * ``Event User`` who can create event, sponsor, ticket... His role is
    to globally handle events on a day-to-day basis;
  * ``Event Administrator`` who can create event type, sponsor type,
    ticket type... His role is to manage the way events are managed withint
    its company:

Each group implies all previous groups.

Compared to previous event users gain a lot of rules, allowing to update
records like tickets, registrations, ... Low-end event users should now
use the registration desk group.

Links
=====

Task ID-2204364
COM odoo/odoo#57022
ENT odoo/enterprise#13984
UPG odoo/upgrade#1897
2021-04-02 13:40:50 +00:00
std-odoo d1125288e2 [REF] event_*: clean the ACLs files to be consistent in all sub-modules
Purpose
=======
In event, many files have different naming format. We want to clean
them, to group the lines by models before changing and adding a new
event group.

Task 2204364
PR odoo/odoo/pull/65867
Migration odoo/upgrade/pull/2150
2021-02-10 14:07:46 +00:00
std-odoo 3dfb3c1e74 [FIX] website_event(_*): improve user flow and experience from frontend
PURPOSE

Provide some fixes after internal test deployment of event online features.
Notably: user registration flow, various fixes in templates.

Also add some unit tests to avoid regressions while working on event features.

LINKS

Task ID-2169118
odoo/odoo#55967
odoo/enterprise#12438

X-original-commit: e66684b23eebaadc3df7b908427d3d7a83d4f0a0
2020-08-17 16:29:49 +00:00
qmo-odoo 91eded2eb2 [IMP] website_event, event: Add event.tag.category and event.tag + rename event.type display name
This commit changes the display name for the model event.type from
"Event Category" to "Event Template"

This change was needed before introducing the new model event.tag.category
which will be used to group tags (event.tag)

This commit introduces two new models: event.tag.category & event.tag

The tags will be grouped by category and will be used to filter events.

In the front-end, if the user activates the "filter by categories", each
event.tag.category will generate a new dropdown of related tags.
Clicking on one of these tags will add a new "tag badge" above the events
(same way as in eLearning).

LINKS:

TaskID:2162438
PR: #43856
2020-03-26 14:59:16 +00:00
Thibault Delavallée 6b09c1b8c6 [REF] event: move ticket definition from event_sale to event and use ticket templates
PURPOSE

Integration between event and eCommerce is required only when users handle the
entire selling process online. However users may require ticketing support
while managing payments outside of Odoo. Purpose of this commit is to support
tickets directly in event application without need of sales.

RATIONALE

Remove the need to have event_sale installed to manage basic multi ticket
event type. Integration with eCommerce is needed only when one wants to handle
the entire selling flow online, i.e. order, payment, ... Integration with
Sales is needed only when one wants to create sale orders linked to attendees.

Many event users do not need all of this. Their attendees pay through bank
transfers or they simply manage payments outside of Odoo while still
requiring tickets management.

SPECIFICATIONS

Remove the need to have event_sale installed to manage basic ticketing on
events.

Move ticket model (event.event.ticket) directly into event, copying most
fields from event_sale. Only sale specific fields and behavior should be kept
in event_sale :

  * keep product_id and price information in event_sale;
  * keep sales analysis in event_sale;

We also split tickets model used for event type (event.type.ticket) and
events (event.event.ticket). Indeed previously to this commit both are
modeled in the same table, with the following issues :

  * tickets on templates use only a subset of fields: name, seats availability,
    product, price;
  * a ticket has either an event_id, either an event_type_id, and there are
    constraints to try to avoid having lost tickets. This leads to a strange
    model where m2o fields are required only in some cases with a dual
    behavior;
  * tickets are not shared between event.type and event.event. They are copied
    and having a single model is therefore not necessary;

We therefore choose to have a light model for event.type.ticket. It is linked
to event.type when configuring template tickets. They are copied in the
onchange copying event template configuration to the event itself, leading
to event.event.ticket creation.

Some tests are moved / completed accordingly.

Access rights are copied from website_event_sale to website_even concerning
ticket access for public / portal. Currently they are kept as they are with
some rewording as it is not the purpose of this commit to rewrite them.

LINKS

Task ID 2177281
Community PR odoo/odoo#43488
2020-01-30 15:18:08 +00:00
Debauche Stéphane 412ff994f1 [IMP] event: replace state by kanban stage
Purpose
=======
Remove the state on the event and add a stage.
So, we can have more control on the event flow, and we will have less constrains.

Website event
=============
Before
------
People can register for an event if "seats are available" and if the state is "confirmed".

After
-----
People can register for an event if `event_registrations_open` is True,
- Event: seats are available and the event is not finished
- Event sale:  One or more ticket has `sale_available` set to True

Task #2088538
2020-01-08 09:11:50 +00:00
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
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
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
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) 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
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
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
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
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
vth 765584ec93 [REf] account_* clean
give rights to the Marketing user to read the event.registration.badge object

bzr revid: vth@tinyerp.com-20101013134645-tqxcms2ageteg1ik
2010-10-13 19:16:45 +05:30
AMP (OpenERP) 5d42b703b5 [MOD] event: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100806135358-yapv8rqd34ac6oms
2010-08-06 19:23:58 +05:30
AMP (OpenERP) 39d1c31b49 [MOD] usability improvement and changes in access rights
bzr revid: amp@tinyerp.com-20100730130247-1hvssj5z0f9gvd3a
2010-07-30 18:32:47 +05:30
AMP (OpenERP) 7e0180c254 [MOD] usability improvement in access rights
bzr revid: amp@tinyerp.com-20100729133057-gdhqqohzpkdnq8vl
2010-07-29 19:00:57 +05:30
Harry (OpenERP) d064da04d4 [IMP] Event: clean
event should not inherit anymore from crm.case.section: it's a new object
put a parent_id field to keep the hierarchy
sale team m2o is kept, but it's a widget=selection:  The reply-to on the event is also filled when choosing a sale team
put domain on locaiton room: same country as selected location country
cost: rename in registration cost 
demo data: not fixed date
maximum and minimum registration: return warning when we try to open an event that haven't not the requirements
Improved form view

bzr revid: hmo@tinyerp.com-20100715134144-lmfwa02wnsntdd9q
2010-07-15 19:11:44 +05:30
Vir (Open ERP) 5250951085 [ADD] event : access rules for Even/Manager
bzr revid: vir@tinyerp.com-20100708132116-nv1j2xtogcug0p4p
2010-07-08 18:51:16 +05:30
Mod2 Team (OpenERP) b93efbe7c4 [REF+IMP] event, membership:
Event :
 * Change button icon for all searchview.
 * Develop 'group by partner' functionality in make invoice wizard of registration form.
 * change yaml as per changes in make invoice wizard.
 * remove 'List of register event' wizard and put link on in event form.
 * ADD 'Send a new mail' button for mail
 * Improve history functionality.
 * add group : event/manager and event/subscriber.

Membership .
 * merge two sql query in one repor_membership file.
 * develop search view of that report.
 * change icon for search view.

bzr revid: hmo@tinyerp.com-20100626101340-bt77wjb8ug3a3flj
2010-06-26 15:43:40 +05:30
atp (Open ERP) 6be896b14b [ADD]: event: add new group event/manager, event/subscriber.
bzr revid: atp@tinyerp.co.in-20100622110023-5w6fnbtiwqyq7f6u
2010-06-22 16:30:23 +05:30
atp (Open ERP) 5a8aab4ce0 [IMP]: event: usability Improvement and Improve make invoice wizard.
bzr revid: atp@tinyerp.co.in-20100621060220-anjgndsm1jyhykl2
2010-06-21 11:32:20 +05:30
atp (Open ERP) 704d545952 [IMP]: event: use inherit in place of inherits.Improve report using report guidlines.
bzr revid: atp@tinyerp.co.in-20100607064312-3cl1vc0gfal7wvhe
2010-06-07 12:13:12 +05:30
Rvo (Open ERP) 5fd39ca156 [ADD]: access rights for osv_memory and osv_osv objects
bzr revid: rvo@tinyerp.co.in-20100421111435-v4u8cemnfir19kh0
2010-04-21 16:44:35 +05:30
qdp d8c7ae16e9 *splitted event into 2 modules (added event_project) in order to remove the dependancy to project
*small bugfix

bzr revid: qdp-launchpad@tinyerp.com-20081028162945-hk81vldgjt0y0cq3
2008-10-28 17:29:45 +01:00
Christophe Simonis 6ecdbc0e9d fix access rights
bzr revid: christophe@tinyerp.com-20081024070849-cjjlrvz52t67ll0m
2008-10-24 09:08:49 +02:00
Christophe Simonis 123a99c39a fix access rules
bzr revid: christophe@tinyerp.com-20081021153441-af1qtobtazu7rs28
2008-10-21 17:34:41 +02:00
Fabien Pinckaers 51f8c2b263 Better Security Rules
bzr revid: fp@tinyerp.com-20080903224650-u1oadqv9x75atmyl
2008-09-04 00:46:50 +02:00
Fabien Pinckaers b4d6690794 Improved Security
bzr revid: fp@tinyerp.com-20080903180400-df7l6wxg1zpirmmi
2008-09-03 20:04:00 +02:00