Commit Graph
33 Commits
Author SHA1 Message Date
Rohan Patel 79597a2b84 [REF] website: merge Website and Website Admin menu items
This commit merge the two website menu items in order to ease user flow
inside Odoo. When clicking on the Website item a server action is called
that decides to redirect the user either to the dashboard if the user is
an admin or a website publisher, either to the website for other people.
Overriding this method allows to define a specific behavior. Future commit
will also redirect sales people to the website dashboard.

Dashboard itself is customized to add a header used to display a website
button. It will be used in future commits to add other new stuff to the
dashboard.
2017-03-03 16:57:06 +01:00
Jeremy Kersten 1c6bad5f86 [IMP] website: rename default website for demo data 2016-09-30 15:11:58 +02:00
qsm-odoo d04a42022b [REF] website, *: review website access rights
* event, website_event, website_forum,
* website_hr_recruitment, website_sale

Website access rights were buggy. The editor assets and website editor
assets have to be loaded together to work so the previous behavior
which only loaded one with the restricted access right was not right.
Also, people which had the "Manager" access right for model like event
or job only got access to creation and edition of those objects if they
had the full access to website access rights.

Now the website module creates the two same groups :
* group_website_publisher: load all editor assets, give access to
page creation for model the user has access (event, job, ...) and
edition of those pages
* group_website_designer: implies the first one and give access in
creation and edition of all pages + access of all website menus

The manager access rights for event, product, jobs, etc now implies
the group_website_publisher group for the user (so that the manager
have the editor assets and editor ui).
Note: some python codes use the group_website_publisher for no right
reason, this has to be adapted.
2016-09-28 15:56:04 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
stefanorigano 2f303acdd0 [IMP] website: change layout of s_references and s_big_message snippets
- s_references
    * Replace demo images (lighter ones)
    * Move title to left
    * Review responsiveness
- s_big_message
    * Add background
    * Use grid system
2016-09-02 14:58:01 +01:00
stefanorigano 0cdfbc0fbe [REF] website: snippets layout/style improvements
* s_banner
    - Remove text-container hardcoded style (user will be able to use the
        new transparent color palette instead)
    - Improve indicators visibility on both dark or light bg
    - Cursor: pointer for navigation buttons
* s_cover
* s_quote: remove the whole snippet
* s_three_columns
* s_reference
    - Remove Quotes
    - Add new logo demo images
* s_button: rename from "Button" to "Call to Action" + some design
* s_feature_grid
2016-08-31 16:37:20 +02:00
stefanorigano 937d299887 [IMP] website: replace images and better use them in snippets
* Reduce images number (remove unused ones)
* Improve images quality (so that they can be used for parallax too)
* Make them all available in the website library
* Snippet demo/default images are in a separate folder and a separate
record to allow theme customization (this was already the case for the
cover snippet but the system has been extended)
* Some snippet style improvements
2016-08-31 16:37:20 +02:00
Ravi Gadhia fd09ddb6f3 [MIG] website: migration to new api
Migration of website module to new API.
The tricky phase is ir_http.py : we need to use `request.env`
only when the authenfication phase is done. Normally by
calling `super` of `_dispatch` method, but website module
required it to be done before. This is important since
`env`is a lazy property of `request` object.

Some hack were kept since this commit is a migration ('RequestUID'
in ir.http, ...)

Some docstrings were added.
2016-08-04 12:02:14 +02:00
Jérome Maes 2becc4a59a [MOV] website: module directory organization 2016-08-04 12:02:13 +02:00
Antony Lesuisse ff37d0ebca website sale refactor
bzr revid: al@openerp.com-20140130233951-55ttup4ohmp4i0nf
2014-01-31 00:39:51 +01:00
Antony Lesuisse 3124343f04 [IMP] product style model renames, add user_id on website to be used in multiwebsite
bzr revid: al@openerp.com-20140130225853-6fgpmtaa8v1vr25x
2014-01-30 23:58:53 +01:00
jke-openerp 2c255db1d0 [REF] Move public_user from website_data to module server/addons/base
[REF] Remove _auth_method_public from website/ir_http to become a native auth_method in server/addons/base/ir/ir_http

bzr revid: jke@openerp.com-20140128142824-62ejlnnud4a4m694
2014-01-28 15:28:24 +01:00
Fabien Pinckaers 9a8048bb9c [FIX] Misc Fixes and better design
bzr revid: fp@tinyerp.com-20140125182719-wfhn8n2um1f81m15
2014-01-25 19:27:19 +01:00
Fabien Pinckaers b1f131c9c6 [IMP] Misc Fixes
bzr revid: fp@tinyerp.com-20140125161203-zy29ixl0vgni8pxy
2014-01-25 17:12:03 +01:00
Christophe Matthieu 7cc06c62db [IMP] website: public partner active false
bzr revid: chm@openerp.com-20140124152714-jz78701882gt3lry
2014-01-24 16:27:14 +01:00
Christophe Matthieu 85871da3f5 [IMP] website: add depends to mail; change website menu sequence
bzr revid: chm@openerp.com-20140123110135-ujhykh2no6y1c1lq
2014-01-23 12:01:35 +01:00
Fabien Pinckaers a559aca8d1 [IMP] better images for library
bzr revid: fp@tinyerp.com-20140117082813-7wa345r76txiin97
2014-01-17 09:28:13 +01:00
Thibault Delavallée 9cf78e93cc [MERGE] Sync with trunk, tries to solve conflicts. There are still some new images to convert into images in xml files.
bzr revid: tde@openerp.com-20140116103910-qmm2y6kucmngplnk
2014-01-16 11:39:10 +01:00
ddm 39c5b09e6e [IMP] Banner tour automated test
bzr revid: ddm@openerp.com-20131223152503-saqpy0d8vgvg9p20
2013-12-23 16:25:03 +01:00
ddm 64794a8c3b [FIX] Restore tutorial on module install
bzr revid: ddm@openerp.com-20131212095950-3675vfd0tjpzlsug
2013-12-12 10:59:50 +01:00
Fabien Meghazi a7738ab2ea [IMP] Reorder menu
bzr revid: fme@openerp.com-20131203120910-yv82gwref4uikn7b
2013-12-03 13:09:10 +01:00
Fabien Pinckaers d4fc95f1fe [FIX] small fixes
bzr revid: fp@tinyerp.com-20131130205834-ilds41gcktv7vchg
2013-11-30 21:58:34 +01:00
Fabien Pinckaers 56eb2c0607 [IMP] transparent background on impage
bzr revid: fp@tinyerp.com-20131129213229-ctp1sne7r1ioa7w1
2013-11-29 22:32:29 +01:00
Christophe Matthieu 64c70ddf33 [IMP] website: group website_publisher and website_designer grouped in the user form
bzr revid: chm@openerp.com-20131119145714-ot106cxrv0w1qfi8
2013-11-19 15:57:14 +01:00
Christophe Matthieu 176a78e161 [IMP] website: add website_designer group and access rules to edit qweb view
bzr revid: chm@openerp.com-20131119135717-6sv54lpm5smybsib
2013-11-19 14:57:17 +01:00
Christophe Matthieu 910c2657a9 [IMP] website: add a group_website_publisher to Display Editor Bar on Website and other editable option
bzr revid: chm@openerp.com-20131119103042-stdyd6r00e1zgli5
2013-11-19 11:30:42 +01:00
ddm f449371223 [IMP] Better tour naming
bzr revid: ddm@openerp.com-20131115100651-jifmv37b36v0dyya
2013-11-15 11:06:51 +01:00
Fabien Pinckaers 929197e578 [IMP] wording
bzr revid: fp@openerp.com-20131109081123-dh5h1xfsfesor4v0
2013-11-09 09:11:23 +01:00
Fabien Meghazi 5ce5a2d877 [ADD] Added sequence field to website.menu data
bzr revid: fme@openerp.com-20131106154207-dd6g5jgpjt35ee9h
2013-11-06 16:42:07 +01:00
Fabien Meghazi 418e10c382 [IMP] Misc menu improvements
bzr revid: fme@openerp.com-20131030140216-f2fz7p3waur3l8j7
2013-10-30 15:02:16 +01:00
Fabien Meghazi eb7b1362cd [WIP] Menu working from database (not yet multi-website)
bzr revid: fme@openerp.com-20131025152446-si9gsjujzcn40hip
2013-10-25 17:24:46 +02:00
Fabien Pinckaers 42f69cc848 [IMP] transparent background for vegetables
bzr revid: fp@openerp.com-20131020092215-ljejg7i0rh9e0km9
2013-10-20 11:22:15 +02:00
Antony Lesuisse 25a260068b [IMP] renamse files to conform to the future openerp module guidelines
bzr revid: al@openerp.com-20131013030806-2236jpszm1morlg6
2013-10-13 05:08:06 +02:00