Commit Graph
18 Commits
Author SHA1 Message Date
Nicolas Lempereur 6d56d02d05 [FIX] website_views: don't show view editor when versionning
The versionning has not been created for editing view with the website
HTML Editor, it can leads to several issues, among which are:

- getting the wrong view (good key but bad version) in the HTML Editor,
- losing view inheriting the modified view

So this commit remove the HTML Editor when a version is currently shown,
if a view needs to be edited with the HTML Editor it should be done only
on the 'master' version.

opw-667225
2016-03-08 17:13:58 +01:00
Nicolas Lempereur b0b6b9afb5 [FIX] website{,_version}: get current version view
customize_template_get which gets template inheritence informations was
not taken into account by website version, so at one time we could get
an erroneous view version instead of the wanted one.

This commit refactor some of the code adding a function to sort view and
find the most suitable one (based on website and version in request).

This function is then used in ir.ui.view `_view_obj`'s function to
select the correct view.

related to opw-667225
2016-03-08 17:13:58 +01:00
Nicolas Lempereur 9bdaf45de6 [FIX] website_version: typo write return value
Models' write function has a return value which was not propagated when
overriding it for ir.ui.view in website_version module.

opw-658965

note: fix was already present in enterprise f0975cb
2015-12-18 16:33:36 +01:00
Goffin Simon 5b554499e8 [IMP] website_version: cache enable
The visitors who have the same sequence of versions for their running experiments must
share the same cache.
2015-09-18 10:31:21 +02:00
Goffin Simon 10bd5f797a [FIX] website_version: dependence
The module website_version depends of mail because the model "website_version.experiment"
inherits of 'mail.thread'.
2015-09-16 09:27:04 +02:00
Goffin Simon 5611b5e2fa [IMP] To allow to translate pages in version.
The translations of a page A in a version are applied to all the pages
with the same key of page A.
2015-03-18 17:19:07 +01:00
Goffin Simon f99cea5f69 [FIX] versioning: override read_group in Experiment to always display all Experiment states. 2015-02-26 15:02:04 +01:00
Goffin Simon 8e7c59f171 [IMP] website_version: ergonomic improvements of the modals. 2015-02-19 12:15:16 +01:00
pgu-odoo 663956ec1b [FIX] website_version: traceback with group_by_full of experiments, wrong format returned 2015-02-17 15:07:32 +01:00
Jérome Maes 5c07f3ed47 [FIX] website_version : call parent instead of duplicate of parent code. 2015-02-13 09:19:24 +01:00
Goffin Simon ac8d13a0a1 [IMP] To have the link to the pages in the current verison when you clicked on Diff with Master(Technical Feature). 2015-02-02 08:26:29 +01:00
Christophe Matthieu a65fee458a [IMP] website editor: display snippet block on the left side and open it on mouse enter 2015-01-26 10:14:02 +01:00
Martin Trigaux adc041e4d4 [IMP] website_version: remove dupplicated menu
two menu had the id menu_website_view for the action
2015-01-21 17:21:37 +01:00
Christophe Simonis 902be20de0 [FIX] *: remove deprecated checks attribute of tests modules 2015-01-19 17:17:26 +01:00
Goffin Simon 9850080eb0 [ADD] Versioning Module.
This module allow to make versioning and A/B testing of the website.
2015-01-16 23:13:58 +01:00
Christophe Simonis d248ae0669 Revert "[ADD] website_version: website versioning and ab testing"
With more than 100 comments on github[1], this commit is clearly not
production-ready.

This reverts commit c255b5bc34, reversing
changes made to e5ac65de59.

[1] https://github.com/odoo/odoo/commit/c255b5bc3461c803e38057c72c45530235de84dd
2015-01-08 14:49:18 +01:00
Goffin Simon 4e47f917df [FIX] To show all columns in a Kanban view even if they are empty. 2015-01-07 18:17:14 +01:00
Goffin Simon 421a76dabb [ADD] Versioning Module. 2015-01-07 18:17:13 +01:00