Commit Graph
203 Commits
Author SHA1 Message Date
Christophe Simonis 529f88dbd3 [MERGE] forward port branch saas-10 up to 4ca04fd 2016-07-29 13:01:29 +02:00
Christophe Simonis 73cc3611b4 [MERGE] forward port branch 9.0 up to d35f425 2016-07-28 12:31:29 +02:00
Jeremy Kersten 49d789cf99 [FIX] base: widget duration - allow to round to avoid seconds
Allow to round the duration to a minimal unit.

Eg:
   0.33 hour = 19.8 min = "19 minutes 48 seconds"
   if option {'widget'='duration', 'unit'='hour', 'round'='minute'}
   0.33 hour => 20 min = "20 minutes"
2016-07-26 16:17:50 +02:00
Christophe Simonis 7ae5121877 [MERGE] forward port branch saas-10 up to fc0f023 2016-07-25 16:06:15 +02:00
qsm-odoo 7aa9f23955 [FIX] *: use html_translate for non-sanitized html fields
Commit c21568e14f deactivated the sanitization of frontend html fields so
that their modification through the editor worked again. However,
this broke the possibility to display their traduction and to modify
them.

The problem is that the translate option of html fields should not
equal "True" but instead be the html_translate function defined in
openerp.tool.translate. The translate=True option is automatically
change in html_translate though but there is a condition: the field
should be sanitized, which is why this broke since the sanitization
is disabled.

This commit sets the translate option of non-sanitized html fields
to html_translate. Maybe we should investigate for this to be automatic
for non-sanitized html fields as well.

Thanks to @rco-odoo.
2016-07-19 17:02:02 +02:00
Christophe Simonis 1fca5e01cb [MERGE] forward port branch saas-10 up to 156dee2 2016-07-14 18:17:30 +02:00
qsm-odoo c21568e14f [FIX] *: html fields sanitization
Since commit c9e38cae9f in saas-10, the html fields are sanitized in
strict mode by default. This breaks all html fields behaviour when it
is editable in the website editor.

This commit deactivate the sanitization for such HTML fields (like it
was already the case for blogs contents or products descriptions for
example). A more specific sanitization will be implemented in future
versions.
2016-07-11 16:02:20 +02:00
Deep Bundela 8a4ba5d21a [MIG] website_event_track : migrate the module to new api 2016-04-14 11:56:45 +02:00
Deep Bundela a2426e420d [MOV] website_event_track : split files per models 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
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
Christophe Simonis 79976bd779 [MERGE] forward port of branch saas-10 up to 6e95659 2016-04-01 19:10:34 +02:00
Christophe Simonis 6e95659a08 [MERGE] forward port of branch saas-9 up to f4d1adc 2016-04-01 18:51:55 +02:00
Denis Ledoux 2d2028a66c [MERGE] forward port of branch 9.0 up to b44cb82 2016-03-31 17:57:22 +02:00
Olivier Dony 742c7b4c2f [FIX] website_event_track: use image_medium avatar
The default image field is usally too large for use
as a speaker avatar.
The implementation of the field should have been
a simple "related" field too, instead of a custom
computed field.
2016-03-30 03:47:24 +02:00
Hitesh Trivedi ed589ca98a [ADD] Add (Un)archive button on form view of following model
- slide.channel
- slide.slide
- forum.post
- forum.forum
- blog.blog
- blog.post
- survey.survey (only for closed surveys)
- stock.location.route
- stock.warehouse.orderpoint
- stock.picking.type
- stock.incoterms
- stock.warehouse
- stock.location.path
- stock.location
- crm.team
- mrp.bom
- mrp.routing
- mrp.workcenter
- fleet.vehicle.log.contract
- fleet.vehicle
- event.track
- crm.claim
- hr.equipment.request
- hr.equipment
- hr.department
- res.currency
- procurement.rule
2016-03-10 13:06:03 +01:00
Darshan Kalola e14d0a9f62 [ADD]hr_recruitment,website_event_track: added color field to store the user selected tag color where tag color selection is not possible and improved the tag position in kanban view of event.track. 2016-03-07 14:02:33 +01:00
Thibault Delavallée e32f6bc950 [IMP] website_event_track: raw html from python to data
Using message_post_with_view, raw html contained in python is now moved into
a template data and called from the code. This allows to avoid having raw html
directly embedded in python code.
2016-02-01 12:15:57 +01:00
Yannick Tivisse 8ca2002f99 [REM] website_event_track: Remove useless dependency to website_blog 2015-10-15 14:00:55 +02:00
Raphael Collet 5a6e136172 [IMP] addons: adapt binary fields to store images in attachments 2015-09-28 15:19:47 +02:00
Jérome Maes b3e7629566 [FIX] website_event_track : menu items generation
When uncheck 'show tracks on website' or 'tracks proposal' the menu of event page (on website) was not modified.
2015-09-15 16:42:38 +02:00
Fabien Pinckaers f4e24b9843 [IMP] Event form view 2015-09-10 08:48:14 +02:00
Paramjit Singh Sahota 8ada8b8276 [IMP] event, event_sale, website_event_track: usability improvements
Among others small improvements :

 - [event] remove automatic logging of new registrations on event; for big events
 it produces only noise
 - [event_sale] fix product creation from event management; better display of
 address and date of the event
 - [website_event_track] add a cancel state on the track model. The stat button
 on the event shows only not-canceled state. Also added some tips.
2015-08-11 16:11:19 +02:00
Thibault Delavallée 269ff99f24 [FIX][IMP] website_event_track: clean management of track
proposal.

Instead of posting a chatter message with the post data + storing a blob on the track
store directly the various data on the track object itself.

Post a message on the event to warn a new track has been created.

Updated the track website view. Instead of storing a blob, rebuild a correct
and editable track view on the website.
2015-08-11 16:11:19 +02:00
Antony Lesuisse 1e90257e58 [IMP] tags: add unique constraints
- remove tags translatability
- add unique constraints
- res.partner.category is kept until we remove the parent_store test.
- hr remove tag parenthood
- hr remove unsed views and menu
2015-08-07 00:51:14 +02:00
Fabien Pinckaers 0c84526ed4 [IMP] stages of tracks: add refused 2015-04-22 13:15:26 +02:00
Thibault Delavallée 9497af4905 [FIX] website_event_track: do not copy tracks and sponsors when duplicating an event 2015-03-09 10:21:02 +01:00
Fabien Pinckaers 4c9889ceb6 [IMP] better labels 2015-02-15 20:33:53 +01:00
Mahendra Barad d9fa702d5e [IMP] event and event_* modules: onboarding improvements
event:
- added tip
- default subscription/reminder/thanks templates for registrations are now using
the reply_to defined on the event
- fixed check of available seats: use seats_availability field, unlimited events
should never trigger the constraint
- added a sequence on scheduled emails on events
- config: wording improvements
- various improvements in event, registration, event_mail and event_report views

event_sale:
- removed override of seats_max: should not depend on available seats in
tickets. Indeed you may have less available places than the sum of seats for
each ticket type, for example if you have 0-10 VIP and 0-20 Standard tickets
for a 20-seats event.
- removed a duplicated view override
- added a seats_availability field on tickets, same meaning as on event.
- improved event form view: registration tab is now replaced by the tickets tab
when tickets are used

website_event:
- better management of sold-out event in the front-end, when doing registrations

website_event_sale:
- removed register link on the event kanban view. There is no need to to from
the back-end to the front-end from the kanban view. The published button on the
event form view already allows to go to the front-end view on the event
- better management of sold-out event in the front-end, when doing registrations
- fixed a template that was in customize and should not

website_event_track:
- wording improvements
- small improvements in the front-end of tracks
2015-01-29 17:39:41 +01:00
Thibault Delavallée b1eb6537f0 [FIX] website_event_track: fixes :
- aggregation of track tags on event model was buggy
- website URL was not correct
2015-01-23 15:54:04 +01:00
Mahendra Barad e31e11449b [IMP] event, website_event_track: auto subscription.
event: organizer is now automatically added as follower of the event

event_track: responsible and speakers are now automatically added as
followers of the track
2015-01-23 15:54:04 +01:00
David Monjoie 04e412ccb8 [IMP][REF] website_blog, website_event, website_event_track,
website_hr_recruitment, website_sale: add published mixin on blog / event /
track / job / product objects and update their website url and form view
according to the publish mixin/button refactoring.
2015-01-20 17:34:33 +01: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
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
Thibault Delavallée 7c7c2c72ee [CLEAN] event: lint / remove dead code
- event.event: removed is_subscribed
- event.registration: removed log_ids
- res.partner: removed speaker boolean field, used nowhere
- linted the event module
2014-10-02 16:18:13 +02:00
Bhavik Bagdiya eb5adb8093 [IMP] event: refactored event form view. Usability reviews
showed that the form view was complicated and difficult to use. Now
that stat button and edition options in the front-end exist, it is
possible to remove some of the numerous tabs as well as some options
from the form view.

Coming: further cleaning of the model, behavior and probably the various
event-related views.
2014-10-02 13:04:10 +02:00
Christophe Simonis 709c9868de [MERGE] forward port of branch 8.0 up to e883193 2014-10-01 19:18:14 +02:00
Prashant Panchal 3ad9349373 [IMP] event: new kanban view. New! Shiny! With popcorn!
Added two features in kanban view
- having a data-routing attribute on the oe_kanban_global_click
container allow to have a custom routing instead of only
'form view' / 'edit view'. This is used for example to go to
the website view of events.
- allow type=url along with object, action, ... to have some specific
urls for links.
2014-10-01 14:03:39 +02:00
Thibault Delavallée 7cad4baa84 [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Jeremy Kersten ba74b29ed0 [FIX] website_event_track: force type from related to fix bug with convert_to_cache on picture 2014-09-10 17:23:19 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Raphael Collet 1d0a6e20a4 [FIX] event: move definition of fields track_ids and count_tracks to the right module
bzr revid: rco@openerp.com-20140505085739-z2asr1vrx6yyjtlh
2014-05-05 10:57:39 +02:00
Fabien Pinckaers 8970cefdd1 [IMP] track duration in hours
bzr revid: fp@tinyerp.com-20140409184334-ehkhowyhyqw6cdmx
2014-04-09 20:43:34 +02:00
Fabien Pinckaers 65908c769b [IMP] Event Agenda: merge with cleaning
bzr revid: fp@tinyerp.com-20140409172600-bwy97j8kr8dzrgg9
2014-04-09 19:26:00 +02:00
Vidhin Mehta (OpenERP) 308ac3dcaf [IMP]improve comment
bzr revid: vme@tinyerp.com-20140409101205-j41ufx8kxh10usf3
2014-04-09 15:42:05 +05:30
Vidhin Mehta (OpenERP) 4a1bc09a40 [IMP]shows location on days and fixes other bug.
bzr revid: vme@tinyerp.com-20140409100310-tiugx0jzxlwdphy6
2014-04-09 15:33:10 +05:30
Fabien Pinckaers 6dff1b434d [IMP] track translatable
bzr revid: fp@tinyerp.com-20140409082730-0aafeuss3o8ywmkm
2014-04-09 10:27:30 +02:00
Vidhin Mehta (OpenERP) 2baf1c7a52 [IMP]
bzr revid: vme@tinyerp.com-20140404110140-i0gtefh1astotx70
2014-04-04 16:31:40 +05:30
Vidhin Mehta (OpenERP) 2a8f2a70ff [IMP]Show track name when overlaping and color shown in backend view.
bzr revid: vme@tinyerp.com-20140404105903-wvgrsias92zml5di
2014-04-04 16:29:03 +05:30
Vidhin Mehta (OpenERP) a4907a2d82 [FIX]timezone
bzr revid: vme@tinyerp.com-20140404070517-gr561r6l5b02t4a3
2014-04-04 12:35:17 +05:30