Commit Graph
1667 Commits
Author SHA1 Message Date
Aaron Bohy cc2548407d [FIX] website: Test Translator tour: enterprise compatibility
Fixes selector to match in both editions
2015-07-16 11:04:18 +02:00
Christophe Matthieu 087fd6942b [IMP] web_editor: add test translator 2015-07-10 17:00:15 +02:00
Christophe Matthieu a8a170ee6c [FIX] website: need to resize the editor overlay when click in ul snippet. Bullet must change when open or close list 2015-07-10 17:00:15 +02:00
Christophe Matthieu ff58a961e8 [IMP] web_editor: add modal to translate node attributes 2015-07-10 17:00:14 +02:00
Christophe Matthieu cebc73ebf9 [IMP] web_editor: move summernote & nearest lib from website 2015-07-10 17:00:13 +02:00
Christophe Matthieu 9665882fba [IMP] web_editor: adapt css, js and xml to use web_editor 2015-07-10 17:00:12 +02:00
Christophe Matthieu 8c559044a5 [IMP] web_editor: split website into web_editor (to use editor in backend for html field) and website 2015-07-10 17:00:11 +02:00
qsm-odoo fc3b25cefd [MOVE] web, website_*: select2(-bootstrap) in web and assets-common
* select2 was linked in both backend and frontend (by web and website)
* select2-bootstrap was in website and linked only in frontend but it
  is in fact needed in backend too

+ Remove useless link of the lib by other modules
2015-07-09 16:27:24 +02:00
Yannick Tivisse 4f3e633d3c [FIX] : website : Remove hack that was unfortunately publishing all new record
created from the frontend (NB : This fix is compatible with the new webclient)
2015-07-09 16:13:04 +02:00
Christophe Matthieu 548fb30735 [IMP] website: add a FAQ collapse snippet, the javascript is only used for edition (set id and target to use bootstrap default collapse code). 2015-07-08 16:55:09 +02:00
Christophe Matthieu 03174f1149 [IMP] website: split margin-x snippet option and create an preventParentEmpty object. This object can be used by other snippet when the parent can't be empty. 2015-07-08 16:55:09 +02:00
Christophe Matthieu 01b1d640f8 [IMP] website: reduce the slider snippet option code 2015-07-08 16:55:09 +02:00
Christophe Matthieu 8420e0bfdd [IMP] website: add on_move method on snippet options called when the user move (drag and drop) a snippet 2015-07-08 16:55:09 +02:00
Christophe Simonis 6c64869de1 [FIX] website{,_quote,_sale}: do not use undefined variable openerp 2015-07-08 15:21:07 +02:00
Ajay Javiya d8fb8fa6a9 [ADD] website : generic template for search and add functionality to clear search box 2015-07-07 14:10:14 +02:00
Christophe Simonis a304194936 [MERGE] forward port of branch saas-6 up to 81b5c60 2015-06-25 00:26:31 +02:00
Aaron Bohy 10f4ed2f74 [FIX] website: (un)published stat button css
Make the css rules more specific to take priority over the base ones
defining 'display: block' on every o_stat-text, as in this case, one
must be hidden.
2015-06-23 09:02:06 +02:00
Simon Lejeune 74d1e43a40 [ADD] many addons: add new icons
This commits adds icons for most applications.  They are
necessary for the home menu in the enterprise edition.
2015-06-18 12:58:18 +02:00
qsm-odoo 5df9efff19 [FIX] Website: html_frame: display: block
commit from aab
to override display: inline-flex rule defined on oe_form_field (enterprise)
2015-06-18 10:55:26 +02:00
Christophe Matthieu 1b7c49bf1e [FIX] website: trigger on change to save when drag and drop and change snippet options 2015-06-17 19:23:17 +02:00
Christophe Matthieu 4ee19ac990 [FIX] website: use relative url in background image
Use .css convert into absolute url
2015-06-17 19:00:45 +02:00
Denis Ledoux 93e6b08e7c [FIX] website: Edition with Firefox with CSS of external domains.
Firefox doesn't allow to access sheets cssRules
In such a case, we just pass, these css rules will simply
not be available for the edition of some inputs.

Probably, when a real use case needing these external css rules
will come, we will probably need to fetch these style sheets
another way.

opw-642752
2015-06-17 16:57:00 +02:00
Dharmraj Jhala bc43417b18 [IMP] website_* Post button improved : Prevented posting to server multiple times 2015-06-17 12:51:47 +02:00
Xavier Morel 77eca089d1 [FIX] website editor clear()
Apparently in some unclear situations, using delete on the dataset blows
up (issue appears in both Safari and phantomjs) failing the test.

Only try the deletion if the item is actually present in the dataset,
and wrap it in a try/except to handle it blowing up
2015-06-17 11:12:58 +02:00
David Monjoie a9a6aa7ca2 [IMP] website: extract default website customize options into new theme_default module 2015-06-16 15:36:05 +02:00
Aaron Bohy 4072e336a2 [FIX] Cross-addons: Kanban templates: records editable/deletable
for the sake of compatibility with the communication logic in the
new Kanban implementation.
2015-06-15 16:30:35 +02:00
Christophe Matthieu 9c1155a020 [IMP] web: boot.js add some informations for debugging (missing modules, failed modules, unloaded modules). Add odoo.init in the website to display debugging informations. 2015-06-15 13:45:52 +02:00
Jigar Patel 22b7362df1 [FIX] website: Fix choose image option 2015-06-11 15:08:14 +02:00
Pankaj Joshi 98d0e3cc4b [IMP] updated icon classes which are renamed in font-awesome v4.2 and removed useless icon-* classes of old font-awesome 2015-06-08 12:52:29 +02:00
Denis Ledoux c6d552e9c6 Revert "[FIX] website: moved website.xml loading to editor"
This reverts commit e18a3a43e4.

website.error is used in the Javascript file it was removed from,
in website.js, line 350.

Another solution to not load this template when not needed has
to be found

opw-640822
2015-05-29 11:50:57 +02:00
Christophe Simonis 8b5a1f1035 [MERGE] forward port of branch 8.0 up to 9fe0590 2015-05-28 15:53:42 +02:00
Denis Ledoux 9fe059027e [FIX] website: seo, auto detection of keywords with accents in boundaries
Javascript regex \b is not unicode aware,
and words beginning or ending by accents won't match \b

We therefore use a custom regex to replace \b.
Basically, it's a regex matching all words separators
such as dot, comma, spaces, etc. and other unicode
separators as well.

opw-641005
2015-05-28 15:15:53 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
David Monjoie e18a3a43e4 [FIX] website: moved website.xml loading to editor
To avoid loading unneccesary templates on every page.
2015-05-21 16:17:10 +02:00
Christophe Simonis 14a7d52307 [MERGE] forward port of branch 8.0 up to 327e471 2015-05-21 14:50:39 +02:00
Paramjit Singh Sahota 68dbacac1e [IMP] event, event_sale, website_event, website_event_sale : clear registration badge handeling
Now,
- event contains the HTML badge fields and the report (and report templates) to print badges
- event_sale add the ticket type on badges
- website_event allow the edition of badge throught website editor.
When the editor will be available in backend, event will be allow to edit badge report, so the action should be moved from website_Event to event module.
2015-05-20 17:56:37 +02:00
Jigar Patel d403c9acfd [FIX] website: Open edit menu dialog 2015-05-19 14:33:45 +02:00
Olivier Dony d5aa22ea5f [FIX] website, website_report: backwards compatibility with outdated templates
* Complements commits a696913364 and
21d4b3fda9 by adding the missing `data-lang`
attribute also in the report layout (in saas-6 a single QWeb
template is used for language links in both reports and website
layouts).

* Fix the "Edit Master" link to work also for outdated templates
where the data-lang attribute is dynamically set to 'default',
and thus cannot be used as URL prefix -> use /website/lang
controller to switch lang instead.
2015-05-18 19:34:11 +02:00
Christophe Simonis 4a0241d6f6 [MERGE] forward port of branch 8.0 up to f722254 2015-05-18 17:35:24 +02:00
Jeremy Kersten 30013c57ba [TYPO] website: add semicolon
Thanks @sle-odoo
2015-05-18 16:18:28 +02:00
Jeremy Kersten 21d4b3fda9 [FIX] website: force default lang for edit master option
Since user is redirected automatically in his preferred language, the button edit_master redirect always to
the current lang and so not the master.
2015-05-18 15:53:34 +02:00
Christophe Matthieu 81763ac365 [FIX] website: if the top bar is displayed, in mobile view the layout have a crappy top margin 2015-05-18 13:50:33 +02:00
Christophe Matthieu a910d45cab [FIX] website: when open and close html ace editor, the css apply an opacity 0 but the mousedown button hanlder cancel the event and the user can't reopen the html ace editor 2015-05-18 11:43:22 +02:00
Nicolas Lempereur 02fb59fffa [FIX] website: widget share doesn't always work
Depending on the area (in this case a html field), the editor can escape
the url which wasn't taken into account by this widget.

closes #6726
opw-639852
2015-05-15 17:00:26 +02:00
Darshan Kalola 50a043d979 [IMP] website, website_sale, crm, web_planner : add planner for website modules
This commit impact crm, website, website_sale and web_planner modules because it
- add planner for website and website_sale
- improve planner notebook by setting texterea and input size to 100% and using col-md-* class
- split js code into common part (used in backend and frontend) and backend part (only for backend)
- adapt some tour, since every page will have the planner modal in its DOM, the tour selectors msut be more accurate
- introduce some style fixes and adaptations
- ...
2015-05-15 10:59:42 +02:00
Christophe Simonis 2260496879 [MERGE] forward port of branch 8.0 up to a939a27 2015-05-05 18:48:34 +02:00
Jeremy Kersten 19a09ceada [FIX] website: force default lang for edit master option
Since user is redirected automatically in his preferred language, the button edit_master redirect always to
the current lang and so not the master.
2015-05-04 15:26:10 +02:00
Goffin Simon ec47493f46 [FIX] website: edit menu
when closing a modal, the class 'modal-open' was removed from the
'body' tag and all the existing modals became not scrollable.
The class 'modal-open' must be kept in the 'body' tag if there is
still a visible modal in the dom.
Inspired from commit: dee000be14

opw:633801
2015-04-29 11:09:51 +02:00
Christophe Matthieu e9c3336003 [IMP] website: improved tours error message and race conditions 2015-04-29 10:25:20 +02:00
Christophe Matthieu 3a1d4a86bb [FIX] website: translation doen't work with t-field translatable 2015-04-28 11:46:01 +02:00