Commit Graph
41 Commits
Author SHA1 Message Date
Aaron Bohy aebc17f22a [FIX] addons: .less compatibility between both web clients 2016-04-21 15:21:40 +02:00
Fabien Pinckaers 4c8e908b49 [IMP] Speed up app switcher loading: 645k --> 137k lossless compression for all icons 2016-02-26 11:39:38 +01:00
qsm-odoo 5b65befcd8 [REF] web,web_editor,website,report,mass_mailing,mail: LESS
* Convert some CSS to LESS
* Split/Join LESS files
* Remove duplicates between website and web_editor
* UI improvements
* Allow simple customizations thanks to LESS var&mixins for website
2016-02-24 13:09:48 +01:00
Géry Debongnie 6567725ac8 [FIX] web_planner: fix autosize textarea 2016-01-11 14:32:51 +01:00
Simon Lejeune 7d30769980 [FIX] web_planner: cleaner way to handle initial percentage
Instead of using a default value of 5%, we now add a fictive first
step and consider it as done.

this is related to 9a8153ee55

(fp is watching my ugly commits)
2016-01-11 14:27:30 +01:00
Géry Debongnie 0336f109f1 [FIX] web_planner: hidden by default
The web planner should be hidden by default.  Now, it is displayed,
then hidden in js after a while (but it can be seen by the user), then
displayed again if necessary
2016-01-08 15:57:21 +01:00
Simon Lejeune 9a8153ee55 [FIX] web_planner: show the planner when the state is 0% 2016-01-08 15:50:55 +01:00
qsm-odoo bcca4a44c7 [IMP] web(_planner),website: navbars & menus merge
Merge appswitcher navbar and app navbar.
Merge planner menu and user menu.
2015-12-24 17:11:55 +01:00
Martin Trigaux edfa2c4732 [FIX] web_planner: untranslated planner
Missing context in call to render the planner leading to untranslated planner.
Use the session to get the user context as outside of the view manager.

opw 660627
2015-12-23 10:51:21 +01:00
David Monjoie 9c43f79627 [FIX] web_planner: modal body height in IE11
Credits go to qsm for the fix.
2015-12-14 14:20:38 +01:00
Damien Bouvy 0a6edac151 [FIX] web, openerp: make the webclient edition aware
- Differentiate between the Community and Enterprise editions
in the version number. By adding this attribute on the global
odoo JS object in the web client bootstrap controller /web,
we can differentiate between versions easily on the client
side without extra RPC calls.

- Remove a couple of version-related RPC calls in case
the global version info is present in the JS environment

- Update "About" panel to display the edition info

- This commit also reverts 07fe5afc87
which implemented the idea in a more limited way.

Closes #9625
2015-11-25 18:12:42 +01:00
Nicolas Lempereur dc69248e29 [FIX] web_planner: hide background pn planner destroy
A PlannerDialog does not extend Dialog for historical and graphical
reasons. Thus sometime a logic in Dialog is missed in a PlannerDialog
whilst it is useful.

In this instance, when doing an action from the planner which destroyed
it, the modal backdrop was not removed by bootstrap. Bootstrap does this
when the modal 'hide' function is called.

opw-653734
2015-11-04 16:19:10 +01:00
Martin Geubelle 703b384a1e [FIX] web_planner: correct link in help 2015-10-08 10:57:22 +02:00
Martin Geubelle 5946623d3f [FIX] website, web_planner: shared help comportement in frontend/backend
Help has been moved to web_planner, but only in backend. The comportement needs to be defined in website also so it is now shared in frontend and backend (mixin in common)
2015-09-28 15:42:44 +02:00
Martin Geubelle 1b3939a8b1 [IMP] web, web_planner: add wow effect on button
* As the animations were already defined in web_planner, they are now moved in web (animations.less)
2015-09-24 15:14:12 +02:00
Martin Geubelle e89d528788 [IMP] web, web_planner: move 'Help' in systray
* 'Help' has now its own dropdown, directly accessible in the systray, instead of being hidden in the Administrator dropdown
* 'About' has been moved there also
* We can access the planner through this dropdown, even if the planner is hidden (complete)
2015-09-24 11:25:43 +02:00
Simon Lejeune a693a60082 [FIX] planner: correct tooltip text changes
and only init the tooltip once
2015-09-15 18:09:18 +02:00
Simon Lejeune 4c3264122f [REF] planners: increased font-size on the first page 2015-09-14 22:18:10 +02:00
Simon Lejeune 7a421f2191 [FIX] planners: next step as btn-primary when hide_mark_as_done is set 2015-09-14 22:06:23 +02:00
Martin Geubelle b3d8057512 [IMP] crm, stock: planner content 2015-09-14 10:49:00 +02:00
Simon Lejeune 598475c3f2 [FIX] crm, project: planner layout issues 2015-09-08 17:57:43 +02:00
Simon Lejeune ef3d0d87bc [FIX] web_planner: tooltip on progress bar 2015-09-07 13:36:12 +02:00
Aaron Bohy 7d1590ef33 [FIX] web_planner: detach on close 2015-09-07 12:15:44 +02:00
Simon Lejeune 9f985c98ea [FIX] web_planner: don't crash when restoring on a deleted page 2015-09-07 11:37:06 +02:00
Fabien Pinckaers a093114065 [IMP] removing fp photo 2015-09-05 18:07:58 +02:00
Darshan Kalola 7f024fe5ef [IMP]planner: some correction according to new features added in master. 2015-09-01 15:46:22 +02:00
Simon Lejeune 623b7cc051 [REF] web_planner: style changes
Also correctly left align the menu when there is a multi line item and
vertical-align all the elements of the header so that it does not look
broken when there is a multi line title.
2015-08-28 00:32:24 +02:00
Simon Lejeune 5c374313f6 [REF] planner: back again in a modal
fp's request
2015-08-26 14:53:00 +02:00
Simon Lejeune ad66daa6a9 [REF] planner: responsive width
fp's request
2015-08-18 17:57:39 +02:00
Simon Lejeune f97b44580b [REF] planner: sidebar menu
fp's request
2015-08-18 17:57:38 +02:00
Simon Lejeune 295423af78 [FIX] planner: don't apply fa-* on a button tag
It doesn't make sense and it obviously applies a different font
to the text of the button.
2015-08-18 17:57:38 +02:00
Simon Lejeune 7c0d5f16e0 [REF] planner: no title on the top bar
lle's request
2015-08-18 17:57:38 +02:00
Simon Lejeune 22fe0f5d0e [REF] web_planner: adapt style to webclients and website
With selectors here and there to make it work with the community
webclient, the enterprise webclient and the website without duplicating
the module.
2015-07-23 14:02:41 +02:00
Simon Lejeune 5666cd3643 [REF] web_planner: javascript & dom cleaning
* Correct inheritance of async method
* Correct calls to do_hide/show
* Fetch the template in `willStart`
* Correct bootstrap structure for the layout, remove useless branding
  and dom depth
* Each planner page is now in its own bootstrap grid
* Compatibility between both webclients
2015-07-23 14:02:40 +02:00
Joren Van Onder b2eafca067 [REF] web_planner: refactor to make less brittle and reliant on layout
This introduces a new way to define web_planners. They now take the
following form:

<template id="project_planner">
    <t t-call="web_planner.pages">
    <t t-call="web_planner.category">
        <t t-set="menu_categorytitle" t-value="'Prepare'"/>
        <t t-set="menu_categoryclasses" t-value="'fa-flag-checkered'"/>
        <t t-call="web_planner.page">
            <t t-set="page_title" t-value="'Welcome'"/>
            <t t-set="hide_mark_as_done" t-value="True"/>
            <t t-set="hide_from_menu" t-value="True"/>
            <!-- content here -->
        </t>
    </t>
</template>

The menu is not manually created anymore, it is automatically generated.

Pages do not have to be part of a category and can just be defined as
children of web_planner.pages. A page can have hide_mark_as_done and
hide_from_menu, these are optional and will both default to False when
omitted.
2015-07-23 13:56:07 +02:00
Valerie Pirenne d1e4e0d58d [IMP] web_planner: hide progressbar when full 2015-07-08 10:58:38 +02:00
Jamin Shah 0e5b25b48f [IMP] project, web_planner, crm : add planner for project module
- clean the planner style
- add specific class per planner crm (avoiding collisions)
- create .o_planner_white_box class used in all planners
- add planner for project module
2015-05-18 16:43:24 +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
Jérome Maes 534b8da99d [IMP] web_planner, crm : prefix css classes to fit the future webclient conventions. 2015-05-07 08:56:14 +02:00
Jérome Maes 547fc5ad04 [IMP] web_planner : clean the less style 2015-04-23 10:04:31 +02:00
dka-odoo ab1b4cab31 [IMP] web_planner : planner as data module
Planner is like web Tips : a data in a module.
- Rename planner.planner to web.planner
- Rename files according to guidelines
- Remove planner_crm module
- Make CRM depends on web_planner, and add its planner as crm data
- Remove duplicate less style
- Add 'active' boolean field on planner (to disabled them), and create planner backend views
2015-04-23 10:04:31 +02:00