Skip to content

[9.0][MIG][website_snippet_calendar] - #317

Closed
tarteo wants to merge 16 commits into
OCA:9.0from
tarteo:90_mig_website_snippet_calendar
Closed

tarteo wants to merge 16 commits into
OCA:9.0from
tarteo:90_mig_website_snippet_calendar

Conversation

@tarteo

@tarteo tarteo commented Jan 31, 2017

Copy link
Copy Markdown
Member

Previously (branch 8.0) the name was 'website_calendar_snippet'

@pedrobaeza pedrobaeza mentioned this pull request Jan 31, 2017
34 tasks
@tarteo

tarteo commented Mar 1, 2017

Copy link
Copy Markdown
Member Author

Tests are working locally but not here (same issue as in OCA/web#548)

events = event_obj.search([('start', '<', select_stop),
('stop', '>', select_start)])
request = http.request
http.request = MagicMock(env=self.env,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check Dave's comment in OCA/web/pull/548. You should use a context manager.


//Mutate data for calendar
var events = result.events;
for(var i = 0; i < events.length; i++) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about moving this to specific function? Something like prepare_events would ease customization.

Comment thread website_snippet_calendar/README.rst Outdated
================

This module adds a new block in the website editor.
The new block is based on Calendar (module). Use field 'Privacy'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean "FullCalendar"? :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I mean the calendar of Odoo module 'Calendar'.

@astirpe astirpe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a minor fix in the readme, other than that it LGTM

Comment thread website_snippet_calendar/README.rst Outdated
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/186/issues>`_. In case of trouble, please

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace 186 with website

@astirpe

astirpe commented Jul 28, 2017

Copy link
Copy Markdown
Member

Branch rebased

@tarteo tarteo closed this Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants