Commit Graph
946 Commits
Author SHA1 Message Date
Christophe Matthieu 032122484e [TYPO] qweb: use the same option attribute for t-esc t-raw and t-field
t-options instead of t-field-options
2016-07-05 18:44:58 +02:00
qsm-odoo 821d2edf04 [IMP] website,web_editor: snippet option li icons
+ Some content changes
2016-07-04 17:24:00 +02:00
qsm-odoo c12f2cd5cc [REF] web_editor,website(_*): snippets
Refactor snippet structure
* new "cover" snippet
* move the title out of col-md-12
* delete snippets (s_quote_slider)
* rename snippets (FAQ Roller -> Accordion)
* ...

Refactor the way the background images are handled so that themes
can customize the defaults ones easily without ugly xpath or ugly
css.
2016-07-04 17:24:00 +02:00
qsm-odoo c1ab17337b [IMP] website: top bar menus promote & help
* Move promote at the end
* Show help only in debug mode
2016-07-04 17:23:59 +02:00
qsm-odoo 8d012afb71 [IMP] website: homepage welcome message when empty 2016-07-04 17:23:59 +02:00
Jainik Patel 633ff1df67 [IMP] website: Snippets images are quite old, so replace with new images. 2016-06-28 13:05:15 +02:00
Aaron Bohy 0980546f41 [IMP] web_tour,website: enable web_tour in the frontend 2016-06-16 14:59:40 +02:00
Foram Shah 052dcd3ee8 [IMP] web: 'Not Archived' becomes 'Active', 'Not published' becomes 'Unpublished'
Another reason why it’s better to change ‘not archived’ into ‘active’ is
because ‘active’ is the functional name of this field in the filter list in list view.

For the rest, it’s just a better en_US way of saying it.
2016-06-14 16:23:50 +02:00
Christophe Matthieu 710a7cee14 [FIX] website: t-att-*** display empty string attribute
Remove attribute only if the result is False or None
2016-06-14 09:46:26 +02:00
Christophe Matthieu 3ebf46fcc0 [IMP] base: add a constraint on ir.ui.view to avoid groups on template
Template arch can contrains "groups" attributes on the html tag but can't have group_id setted. (to allow a cache per template and lang instead of a cache per template, user and lang)
2016-06-14 09:46:25 +02:00
Géry Debongnie 9c68bc7482 [REF] point_of_sale,web(site): move session info into page source
This commit introduces a mechanism to add information into the session
from a different module, without having to fetch it manually with a rpc.
This is intended to be used with small pieces of info required at the
start of the web client, such as currency informations.

To add information to the session, one can simply inherit from ir.http
and modify the session_info method.
2016-05-30 09:23:07 +02:00
Christophe Simonis 91c9284951 [MERGE] forward port of branch saas-10 up to 5aa0bae 2016-05-13 16:33:51 +02:00
qsm-odoo 642dff0901 [FIX] website: hide page edition buttons on mobile
The edition should technically work on mobile but is impossible
to use since the small size anyway. So better hide the button.
2016-05-12 11:30:31 +02:00
Fabien Pinckaers 4b2091e8c9 [FIX] account: demo data invoice line without required name
[IMP] account: d'ont create journal items for invoice lines with quantity 0 (not amount because of tax)
[IMP] crm: usability kanban view and schedule an activity
[FIX] crm: schedule an activity bug when no activity yet
[IMP] website: app for website (not a menu in website admin)
2016-04-20 00:17:17 -07:00
Christophe Simonis 9b5ba8b238 [MERGE] forward port of branch saas-10 up to 21c7ef8 2016-04-12 12:38:02 +02:00
qsm-odoo f49739124d [FIX] web_editor, website: snippet handles and add job offer
* Bad forward port of saas-9 created a bug where the snippet handles
were wrongly positioned.
* The add job offer button did not work as the modal was marked to
dismiss itself on click (and because this button has not any handler
attached to it; it's the only real link amongst the add buttons).
2016-04-06 16:36:38 +02:00
Yannick Tivisse d3714770d9 [IMP] website: Hide website_id in Website Config view
This field is misunderdstood by common user and is problematic in saas
instances. Make it invisible, but usable with the html editor
2016-03-22 15:49:07 +01:00
Deep Bundela eb04aa1e39 [MIG] base: migrate base/ir to the new API 2016-03-21 13:46:44 +01:00
Srushti Patel 24972234b9 [IMP] : added More information links to promote enterprise features in the following Modules
-accounting, project, crm, mass_mailling, stock, point_of_sale, website, website_sale, sale
2016-03-18 08:43:53 +01:00
Yannick Tivisse 6b31d254e0 [IMP] website: Do not resize favicon on each page load 2016-03-17 10:14:00 +01:00
Yannick Tivisse 4be6ac41de [REM] website: 'Optimize AdWords Campaign' under the Promote menu
fp request
2016-03-11 14:26:18 +01:00
Darshan Kalola 54393e9aa2 [ADD] website: Easy website Favicon configuration from website admin panel
Easy solution: a binary field in website.config.settings
2016-03-11 14:02:21 +01:00
Martin Geubelle 42c82d57de [ADD] website, website_sale, website_crm: new dashboard 2016-03-10 13:41:10 +01:00
Martin Geubelle 9688ede434 [IMP] website: speed in another group in settings 2016-03-10 13:41:08 +01:00
Martin Geubelle 3a9a473235 [ADD] website: load a translation in settings 2016-03-10 13:41:08 +01:00
Yannick Tivisse 90981ec730 [IMP] Administration access right on Configuration->Settings menuitems 2016-03-07 15:53:29 +01:00
Yannick Tivisse fdb3ad7082 [REM] Remove the group 'base.group_configuration'
This additional administration group was formerly used to hide
the configuration menuitems for the common users.

Being manager should be enough to access these items
2016-03-07 15:53:29 +01:00
qsm-odoo 58c5ff1d4f [REF] website*: frontend user navbar
* Remove use of bootstrap navbar
* Add navbar.less file for compatibility with enterprise
* Modify the location of the "new page/product/..." elements
2016-02-24 13:47:36 +01:00
qsm-odoo 88c2b6843a [REF] web,web_editor,website(_*),report,pos,mass_mailing: assets
* Remove recursive assets inclusions (i.e. assets_editor was including
assets_common, summernote, ...)
* Better construct the assets (link, then script + type attribute)
* Better include the assets (split js / css, always use t-call-assets)
* Simplifies the number of assets
* Move bootstrap js to assets common
* assets_frontend is now created by web module to allow using it on the
connexion page but also in the web_editor, where colors have to be
bootstrap/theme ones. Note: if a module depends on website, then keep
using the inherit_id="WEBSITE.assets_frontend"
2016-02-24 13:47:06 +01:00
qsm-odoo 40334b3342 [REF] web_editor,website,mass_mailing: editor UI unification
Before, the whole editor UI was redefined for web_editor, each
mass_mailing template, website builder, ... Now they all inherit
from the web_editor one.
2016-02-24 13:09:15 +01:00
qsm-odoo a64f64aba4 [REF] website: snippets
* Delete useless snippets
* Delete default mb,mt on snippets
* Delete useless options
* Reorganize snippets order
* Style improvements
2016-02-24 13:08:09 +01:00
stefanorigano c4a896a8a0 [REF] website,web_editor: complete restyling 2016-02-24 11:15:55 +01:00
Christophe Simonis 87a01c75ef [MERGE] forward port of branch saas-7 up to 5be43b8 2016-02-17 18:01:11 +01:00
Martin Trigaux a7f5a89407 [FIX] typo or outdated info 2016-02-15 17:16:10 +01:00
Christophe Simonis d70fde0330 [MERGE] forward port of branch saas-7 up to cab5c48 2016-02-10 18:37:01 +01:00
Denis Ledoux c2d230ad68 [MERGE] forward port of branch 9.0 up to 47bb1bd 2016-02-10 15:55:48 +01:00
Olivier Dony e901ef2938 [FIX] website: confusion/dangerous config options for CDN
Users are tempted to enable all features they
see under the former "Speed" section of the
website settings, even if they have no idea
what they do.
One of them was `CDN Base URL` and had a default
value that was wrong and very likely to break
your website if enabled by mistake.

This commit replaces the default value with
a placeholder that looks more like a `sample`
URL, and makes the fields required when the
CDN option is enabled.

It also moves the whole "Speed" options to
technical features / debug mode.
2016-02-10 13:40:57 +01:00
Denis Ledoux eb2346ba46 [MERGE] forward port of branch 9.0 up to 0b7990c 2016-02-08 16:08:32 +01:00
Denis Ledoux 9c594cb3cd [FIX] website: optimize SEO in other languages than the default one
When connected as a website manager,
in another language than the default
website language,
it was not possible to use the optimize
SEO feature, because it needed
variables that were not available if the website
was considered as translatable only,
not editable. This is the case
when you are in any other language
than the default website language,
`editable` is `False`
and
`translable` is `True`.

This is a change of behavior compared to Odoo 8.0,
where `editable` was considered to `True`
even if you were only editing the website translations.

opw-668632
2016-02-04 16:35:34 +01:00
Christophe Simonis 63c7488926 [MERGE] forward port of branch saas-8 up to 5f997bc 2016-01-12 16:12:32 +01:00
Christophe Simonis 7fa6f73302 [MERGE] forward port of branch 9.0 up to cb79297 2016-01-12 15:30:29 +01:00
Jeremy Kersten ce3f797068 [FIX] website_event: avoid traceback when page doesn't exists
The controller /event/<event_id>/page/<page> raise exception if page is not existing.

Allow to pass the template reference when user are creating a new page.
Without it, it is impossible for the end user to create a website_event page without
change manually the xml id because the xml id is based on the module from the template.

This fix is retro compatible, because from_template will be ignored until next update
of website. And during update from website, website_event will be updated because it's a
dependance and so the default_page template created.
2016-01-08 23:19:29 +01:00
Nicolas Lempereur 3450401afe [IMP] website{,_forum}: editor for forum or designer
With de5a00ac9 the editor would be loaded on the forum, but it would
then always be loaded on the website which might not be for the best.

With this change, the editor assets will be loaded on the website:

- if the viewer is part of the "base.group_website_designer" group,
- if we are on a forum page,

better solution for #9402
2016-01-06 11:52:50 +01:00
Nicolas Lempereur de5a00ac92 [FIX] website{,_forum}: add summernote for non designer
In saas-6 the editor assets were always included.

In 9.0 it was only included depending on groups, but should be available
to be overwritten (for example by website_forum which needs to always
include the editor for message posting).

fixes #9402
2015-12-04 12:01:33 +01:00
Martin Trigaux 90254beedb [MERGE] forward port of branch 9.0 up to 00ee6e7b 2015-12-01 10:30:44 +01:00
Denis Ledoux f9a462f3e2 [FIX] website: different assets_common according to user rights
The content of an asset can change according to which modules
are installed, but cannot change according to the user rights,
according to which user is connected.

Otherwise, the assets is re-generated  and stored
in the filesystem too often, which is against the
concept of the assets.

opw-657046
2015-11-26 18:08:42 +01:00
Olivier Dony 9376dd6142 [FIX] website: select default language according to database defaults
- Deduplicate default website definition
- Remove hardcoded english values
- All active languages enabled in the website by default
- Default website language = default database language
2015-11-20 11:14:44 +01:00
Martin Trigaux a2f6e77b08 [FIX] English
Typos, unclear, rephrase, harmonise terms.
Thanks Transifex reporters!
2015-11-17 16:54:18 +01:00
Christophe Simonis 0a07be8190 [MERGE] forward port of branch 9.0 up to 87a8896 2015-11-03 13:14:23 +01:00
Denis Ledoux d5d8140f3a [MERGE] forward port of branch saas-6 up to 7158eaf 2015-11-02 18:06:25 +01:00