Commit Graph
128 Commits
Author SHA1 Message Date
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Jairo Llopis e7fdd6df73 [IMP] website_event(_sale): make registration form responsive
+ remove redirect that create loop if not child menu and state == 'done'

TODO: make attendees registration popup responsive

This commit closes #15473
2017-03-24 17:03:20 +01:00
Jeremy Kersten 14d1f6f6c1 [FIX] website_event[_sale]: don't allow register when event is done
Some previous links could still point to old register page and so display an
error 500 if product of ticket has been already archived.
2017-02-24 19:18:31 +01:00
Raphael Collet 75dc39e042 [REF] openerp.http: make request.context consistent with request.env.context 2016-08-31 17:21:58 +02:00
Christophe Simonis 235ed4b2c1 [MERGE] forward port branch saas-12 up to 9ad5f26 2016-08-20 18:08:19 +02:00
Jérome Maes 8a399930f3 [REF] website_*: remove render method on website
Since saas-3, website controllers use `request.website.render`
to render the template of a web page. This was kept for retro
compatibility. It's time to stop using deprecated stuff.
Same for `_render` method on website.

'json' route don't use `request.render` since
`JsonRequest` has no `render` method.
2016-08-04 12:02:14 +02:00
Christophe Simonis 53015e11a9 [MERGE] forward port branch saas-11 up to eb83ab2 2016-08-03 16:16:30 +02:00
Jeremy Kersten 944db71f21 [FIX] website_event: fix get_formated_date to avoid traceback
Avoid AttributeError: 'WebsiteEventController (extended by WebsiteEventSa' object has no attribute 'env'
Self is the controller and not the event.
2016-08-02 11:18:05 +02:00
Christophe Simonis c16d5bc750 [MERGE] forward port branch saas-11 up to 87e9639 2016-07-15 16:35:48 +02:00
Olivier Dony 87e9639a97 [FIX] website_event: correct typo in new API conversion
event.event's field is 'country_id', not 'country'

Cfr 616f294786
2016-07-15 14:02:01 +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
Dharmraj Jhala 616f294786 [MIG] website_event: migrated into new API 2016-04-14 11:56:45 +02:00
Jérome Maes ca8a47c352 [IMP] website_event, website_event_track, website_event_sale : prepare migration
- change method decorator (api.one -> api.multi) for `_set_show_menu`
and `_set_show_menu`
- rename controller class
2016-04-14 11:56:44 +02:00
Jeremy Kersten ce3f797068 [FIX] website_event: avoid traceback when page doesn't exists
The controller /event/<event_id>/page/<page> raise exception if page is not existing.

Allow to pass the template reference when user are creating a new page.
Without it, it is impossible for the end user to create a website_event page without
change manually the xml id because the xml id is based on the module from the template.

This fix is retro compatible, because from_template will be ignored until next update
of website. And during update from website, website_event will be updated because it's a
dependance and so the default_page template created.
2016-01-08 23:19:29 +01:00
Thibault Delavallée 5885e5d9d0 [FIX] website_event: categories display
Indeed the type field has been renamed to event_type_id. However some code
was still relying on the type and type_count names, instead of event_type_id
and event_type_id_count.
2015-09-23 16:22:35 +02:00
Thibault Delavallée 4592be3bfa [RENAME] event: type -> event_type_id
At last I will be able to remember that the type of an event is not
a string, but a m2o to event.type model.
2015-08-20 11:09:43 +02:00
Denis Ledoux fc09d3755a [FIX] website_event: add route alias /events
Having as URL /event (not plural), for the list
of events, is not really user friendly.

opw-644476
2015-07-10 10:11:54 +02:00
Christophe Simonis 4647778758 [MERGE] forward port of branch 8.0 up to ea59856 2015-06-15 12:28:32 +02:00
Goffin Simon eabf7df5f9 [FIX] website_event: format event periode
The format period defined by the start_date and end_date of an event
can be set according to the language.

opw:640011
2015-06-02 10:42:46 +02:00
Goffin Simon 50182d0dfe [FIX] website_event: month in local events
The month inside the local events snippet must be in the user language.
Inspired from def _read_group_format_result in models.py

opw:640011
2015-05-29 16:56:14 +02:00
Thibault Delavallée 09992333f3 [FIX] website_event: call method as current user, not superuser
because this makes no sense.
2015-04-01 10:11:30 +02:00
Richard Mathot 194d95cd47 [ADD] website_event_questions: ask questions to event attendees
[IMP] event,event_sale,website_event_sale: refactoring to be more easily extended

(code portions are courtesy of Thibault Delavallée <tde@odoo.com>)
2015-02-19 11:22:59 +01:00
Paramjit Singh Sahota ca862e7b85 [IMP] event: Split Ticket: registration are now for one attendee only.
Registration are now for one attendee only. When buying several seats for an event
you have now one registration for each attendee.

event: nb_register field is removed; as well as unnecessary user_id and it subscribe /
unsubscribe behavior. Also slighly cleaned some views.
event_sale: do not auto confirm registrations linked to a draft sale order. Note: strange
origin is a char field, not a sale_order_id. Added a small wizard to edit attendees
data when confirming a sale order containing event related lines.
website_event: when buying free tickets, ask for attendee details. Added template,
controllers to handle that behavior.
website_event_sale: when buying tickets, ask for attendee details. Events ecommerce
should be better integrated with online events, using inheritance to add details
instead of being very different.
2014-10-09 10:09:06 +02:00
Thibault Delavallée 9353c101de [CLEAN] website_event: migrate models to the new API + some code cleaning.
Updated some code in website_event_track, inheritance with new API.

Controllers need a major cleaning, but, hey, they are too creepy.
2014-10-03 14:00:28 +02:00
Goffin Simon 5f258c831e [WIP] Multi website 2014-09-16 14:11:08 +02:00
Thibault Delavallée f5c60d482b [FIX] website_event: pager now takes into account the searches performed
by the user. Otherwise it was resetting the search to all events.
2014-08-27 11:41:51 +02:00
Olivier Dony e11eddf753 [MERGE] Forward-port of saas-5 up to 20cc18d 2014-08-13 20:46:47 +02:00
Denis Ledoux fe83c11301 [MERGE] forward port of branch saas-4 up to b49755b
The forward port of the fix 3609ba10f2 will be done separately, as the mrp scheduler has been completely refactored from saas-5.

Conflicts:
	addons/l10n_be_coda/wizard/account_coda_import.py
	addons/point_of_sale/static/src/xml/pos.xml
	addons/procurement/schedulers.py
2014-08-13 10:45:36 +02:00
Denis Ledoux fc74431c1a [MERGE] forward port of branch saas-4 up to 7ecaab9 2014-08-12 16:27:57 +02:00
Jeremy Kersten 541cfc93a3 [FIX] website_event: show online in event in all country. Add filter online event. Keep the date between filter. 2014-08-11 17:15:57 +02:00
Denis Ledoux 23436ca259 [FIX] website_event: display unconfirmed events too 2014-07-28 19:34:12 +02:00
Olivier Dony 34bfa1b44f [MERGE] Forward-port saas-5 up to d9cda97 2014-07-05 01:45:45 +02:00
Olivier Dony d9cda97cf4 [MERGE] Forward-port saas-4 up to 5ceded9 2014-07-05 01:28:19 +02:00
Jeremy Kersten 58ad25d0e3 [FIX] website_event - Check that template exists before to render it 2014-06-30 10:46:30 +02:00
Christophe Matthieu 890a9ac652 [IMP] website: set geoip in user session 2014-06-18 14:50:24 +02:00
Antony Lesuisse c05584a4d9 [FIX] website_sale and website_event imports
missing import prevent cli help display
2014-05-29 23:19:24 +02:00
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +02:00
Christophe Simonis 040c93026a [MERGE] merge bzr trunk addons branch 2014-05-20 18:10:36 +02:00
Fabien Meghazi ffb18d0af3 Broken @route arguments for events pages 2014-05-20 10:15:49 +02:00
Richard Mathot (OpenERP) a54b9ffe36 [FIX] website_event: Increase number of displayed events 2014-05-16 13:54:50 +02:00
Fabien Meghazi e6e5ac048b [FIX] broken routes for pages 2014-05-14 12:11:24 +02:00
Fabien Meghazi c3cfc4bc32 [MERGE] sitemap backport, merge trunk from 9438 til 9440
merge from 9438 revid:fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4 til 9440 revid:fp@tinyerp.com-20140511143314-nzn1239l00arbxjq
2014-05-13 16:38:31 +02:00
Fabien Meghazi 8eed143112 [IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty 2014-05-13 11:35:45 +02:00
Fabien Pinckaers 798e4156fa [IMP] sitemap cleaning: events
bzr revid: fp@tinyerp.com-20140511143314-nzn1239l00arbxjq
2014-05-11 16:33:14 +02:00
chm@openerp.com 41ade23b09 [FIX] website_sale & website_event: create product (redirect with slug)
bzr revid: chm@openerp.com-20140505095724-mc9k6d2yf68ln9nq
2014-05-05 11:57:24 +02:00
chm@openerp.com ab903b9f68 [FIX] website_event: return empty string in Local Events snippet if GeoIP is not installed
bzr revid: chm@openerp.com-20140327111006-ca2lbv2jxluxlw27
2014-03-27 12:10:06 +01:00
chm@openerp.com 85cdf2a990 [FIX] website_event: import GeoIP if GeoIP is not installed
bzr revid: chm@openerp.com-20140327105831-6qwvs32aa6hj3nk2
2014-03-27 11:58:31 +01:00
chm@openerp.com c1b6589851 [IMP] website_event: widget to promote Events with country flag
bzr revid: chm@openerp.com-20140327093517-8ppcxypc6krxc2fi
2014-03-27 10:35:17 +01:00
Dharmraj Jhala (OpenERP) c96f080e72 [IMP] improved code
bzr revid: dizzy.zala@gmail.com-20140321120550-8p0l6lh5iv45mvf7
2014-03-21 17:35:50 +05:30
Dharmraj Jhala (OpenERP) 3566b69374 [MERGE] with latest trunk addons
bzr revid: dizzy.zala@gmail.com-20140318065716-m8wxkwonpu7gpp3a
2014-03-18 12:27:16 +05:30