Commit Graph
867 Commits
Author SHA1 Message Date
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
David Monjoie df9725df26 [IMP] web_editor,website: added scalable margins in less
The original commit by fka used to define less variables like this:
@px-4: 4px
@px-8: 8px

The goal was to be able to change the margin values in
media queries for smaller screens.
However, as the less is only compiled once in css, those
variables didn't really help as you couldn't redefine them
from inside a media query and have the less magically
reassign the margins on the fly.

I created less helper functions to be able to easily redefine
the margins for smaller screens from inside media queries.

The task also required to replace the nbsp in the html by the
newly created mr and ml classes.

This is also the first phase of the sass -> less transition.
2015-07-20 15:00:24 +02:00
Jeremy Kersten c1d290d699 [FIX] website: fix snippet references 2015-07-15 11:38:15 +02:00
Jeremy Kersten f84bbda221 [FIX] website: fix snippet comparisons 2015-07-15 11:34:28 +02:00
Jeremy Kersten 80db19100a [FIX] website: dont call a dog a cat !
Already in V8, the 'Separator' is not a content but a structure snippet !
2015-07-10 18:15:47 +02:00
Jeremy Kersten 653ccf7b3b [FIX] website: A panel is a panel... 2015-07-10 18:15:46 +02:00
Jeremy Kersten 1621d3fe1a [FIX] website: Fix background option
Add oe_dark in color list for 'background color', else end user cannot change the color
Force background-color and not background, else background-size from oe_img is overrided
and so the background is displayed with a size:auto instead of cover
2015-07-10 18:15:46 +02:00
Christophe Matthieu 087fd6942b [IMP] web_editor: add test translator 2015-07-10 17:00:15 +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
Christophe Matthieu a616c57c60 [IMP] web: create a template with bootstrap scripts 2015-07-10 16:34:35 +02:00
Jeremy Kersten 5ed23c87d4 [FIX] website: use summernote.less and fix color picker (+ add FA support) 2015-07-10 16:10:03 +02:00
Jeremy Kersten fa7d32e722 [REV] website, website_quote: partial revert of d1d8802/ed9f8fd
This hack was just good to print, but break all repsonsive snippets.
Previous commit specify the use of col-md when printing, and so avoid
to add xs anywhere !
2015-07-10 16:09:32 +02:00
Jeremy Kersten 9b11430887 [FIX] website: basic banner snippet - allow to change background after that the snippet is dropped 2015-07-10 16:09:32 +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
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
Ajay Javiya d8fb8fa6a9 [ADD] website : generic template for search and add functionality to clear search box 2015-07-07 14:10:14 +02:00
Raphael Collet cd925255b7 [FIX] addons: view extensions are no longer based on attribute string
In view inheritance, selecting an element based on the attribute `string` is
broken, since this attribute may be translated before the inheritance is
applied.  This fixes existing views to avoid such selections.
2015-07-06 16:58:04 +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 bd3bf97dce [FIX] website: navbar template: don't call web.menu_link
for new design compatibility (those templates have been moved client-side)
2015-06-18 21:23:37 +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
Antony Lesuisse 037269e9c3 [IMP] website: require less by default
Removed the then useless website.theme view
2015-06-16 15:26:05 +02:00
Antony Lesuisse 920c8df3a4 [IMP] website: reordered website_templates.xml
Also renamed editor_head template to layout_editor, but
this template was never called anywhere.
2015-06-16 15:26:00 +02:00
Simon Lejeune 5cb10d4fc9 [IMP] web: update bootstrap to 3.4, and use less files
important note: the bootstrap.css file is left in the tree because
it is used for reports.  (reports fails if they use the less files)
2015-06-15 16:29:38 +02:00
Christophe Simonis 4647778758 [MERGE] forward port of branch 8.0 up to ea59856 2015-06-15 12:28:32 +02:00
Christophe Matthieu bd3f6e447e [IMP] web: split misc.js into misc.js and session_instance.js 2015-06-12 12:02:34 +02:00
Jeremy Kersten 1bc328317a [FIX] website: display 'Show Sign In' option
Commit 4ff1af4 moves the groups attributes on the ir ui view/template.
So the option is no more available in customize menu if user is logged.
No luck, because when your are not logged you don't have the menu.

Groups on template are the best practice to hide the content of a view
to a group of poeple, except in this case where a customize_show is set
to True.

Maybe that customize_show should ignore groups on ir ui view in a future
version ?
2015-05-30 16:00:28 +02:00
Christophe Simonis 1f22653d19 [MERGE] saas-6 forward-port
Rebasing a merge commit with a lot of conflicts is a real pain as every
non-automatic conflicts should be redo manually (especially when there
is a lot of file rename that git cannot follow)
2015-05-28 14:31:46 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
Yannick Tivisse 92583db004 [IMP] Several menuitems readjustments
- Jump on Users tree view when clicking on settings
- Move Companies into Users menuitem
- MRP menus sequence fix
- Website Admin menus sequence fix
- Move slides menus into Website Admin
2015-05-28 14:01:15 +02:00
Yannick Tivisse c210cd3e3b [IMP] Reorganize menuitem into coherent block instead of ordering
them alphabetically
Bloc Simple apps
1 Chat
2 Agenda
3 Notes
4 Contacts

Bloc Sales apps
5 Sales
10 Lead Automation
15 Members
20 Point of Sale
25 Purchases

Bloc Operation apps
30 Warehouse
35 Manufacturing

Bloc Accounting app
40 Accouting/Invoicing
45 Payroll

Bloc Project
50 Project
55 Timesheets

Bloc Marketing
60 Mass Mailing
65 Events
70 Surveys

Block HR
75 Employees
80 Recruitment
85 Appraisal
90 Attendances
95 Leaves
100 Expenses
105 Lunch
110 Equipments
115 Fleet

Bloc Website
200 Website
205 Live Chat
210 Versionning
215 Website Admin

Bloc Settings
300 Knowledge (Hidden if not base.group_configuration)
305 Dashboards
310 Modules
500 Settings
2015-05-27 15:24:14 +02:00
Yannick Tivisse 9729807671 [IMP] Remove the term Analysis in all the report menus 2015-05-27 15:24:13 +02:00
Yannick Tivisse ecd0f9a637 [IMP] Move all the configuration menus to the related module
add a group menu_configuration in the admin rights
2015-05-27 15:24:13 +02:00
Christophe Simonis 14a7d52307 [MERGE] forward port of branch 8.0 up to 327e471 2015-05-21 14:50:39 +02:00
Samuel Lefever f57f8c87ab [FIX] website : reset lang variable in template
In website template,
it was not possible to use the variable "lang",
containing the current language,
as the variable was overwrote in website.layout,
in a loop context.

Changing the variable name used by the loop
solves the issue.

opw-639488
closes #6320
2015-05-21 11:44:45 +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
Yannick Tivisse 8483ca57ca [IMP] Several UX improvements from saas6 version
calendar : When you create an event (for example from a job interview), you should be set as an attendee.
crm : Lead/opportunity : Bounce should be read only
hr_recruitment : 'Create Employee' should be an action button, instead of a link in the form
website_sale : SO report typo invoicing address instead of invoice address
website : remove Unpublish on the dropdown
website_sale : if accessory product is a non published product : do not show it on the ecommerce (avoid 403 error)
2015-05-13 17:10:19 +02:00
Richard Mathot 8ab4b91f1a [IMP] website_links: promote dropdown wording 2015-05-04 10:35:52 +02:00
Yannick Tivisse 74f3cbc6a6 [IMP] New design : menus reorganization
- Several Modules have been splitted into several apps
  Examples :
      Human Resources : Splitted into Leaves, Recruitment, Expenses, Appraisals, Timesheets, Employees, Payroll
      Marketing : Mass Mailing, Events, ...
      Messaging : Chat, Agenda, Notes, Address Book, ...
- Generally, the related reports have been moved in the apps, as last menu
- Also, configuration menu (no_one group) have been moved into a config root menu
  exception made for the warehouse and lunch modules
- Configuration for typical frontend modules have been moved into the website settings
  Related modules : Ecommerce, blog, slides, forum
- When they are present, menus like 'product' or 'customers' have been moved
  ex : Customers in Sales menu, Product in POS menu
- A lot of sequences and xmlids have been added or modified in this commit
- List of apps :
1  Chat : Inbox, Channels
2  Agenda : Calendar
3  Notes
4  Address Book : The view contact is still laying in the mail module (1 app => 2 icons)
5  eCommerce : Still to define : Config + Orders Analysis + Shipping + incoming Amazon module
6  Sales : Dashboard (Sales Team Kanban), CRM, Sales (note that they are splitted into 2 submenus)
         Assignation, After-Sales (Invoicing and Services), Reports
7  Point of Sale : Dashboard (POS status), Orders, Reports
8  Project : Dashboard (Project Kanban), Search (all tasks, issues), Incoming Forecasts module, Reports
   Project.issue.version feature has been removed completely
9  Members : Dashboard (Members Kanban), Report, Config
10 Timesheets : Time Tracking, Approvals, Reports
11 Purchase : Purchase, Control (Products and Bills)
12 Warehouse : Dashboard (Warehouse Kanban), Operations, Inventory Control, Schedulers, Configuration
13 Manufacturing : Same menu structure
14 Mass Mailing : Mailings, Campaigns, Reports
15 Events : Events, Reports
16 Lead Automation : Campaigns, Reports
17 Surveys : Surveys, Reports
18 Human Resources : Dashboard (Departments Kanban), Employees, Contracts, Engagement (Gamification)
19 Recruitment : Job Positions, Applications, Resumes & Letters, Reports
20 Expenses : Expenses, Approvals, Reports
21 Leaves : My Leaves, Approvals, Reports
22 Appraisals : Appraisals, Interview, Reports --> Will probably be modified by the incoming refactoring
23 Payroll : Current Menu
24 Lunch : My Lunch, Manager, Configuration
25 Accounting : Same menus currently, waiting the new accounting to be merged
26 Fleet : Current menu
27 Sign : Incoming docusign module
28 No root menuitem with this sequence
29 Attendance : Attendance, Reports
   Sign in/out by project feature has been removed completely
30 Link Tracker (group_no_one) : Link Tracker, UTMs
   New view added : URL Shortner, which is the frontend view embedded in backend
31 Versionning : Website domain, Versions, Experiments
32 Slides (group_no_one) : Channels, Categories, Slides, Tags
33 No root menu item with this sequence
34 Livechat : Channels, History, Reports
35 Dashboards : My Boards, Configuration
36 App Store : Local Modules, Apps, Updates
Last Settings : Incoming Dashboard Settings, Sales, ...., Website Settings
General Pattern for all modules' settings :
| Module_name
|-- Settings : General Config view (checkbox screen)
|-- Record setting 1
|-- ...
|-- Record setting n
Example for Sale module
| Sales
|-- Settings : Checkbox screen
|-- Quotations
|---- Quotation Templates
|---- Report Layout Categories
|---- Contract Template
|---- Invoice Type
|-- Contract
|---- Deduplicate Contacts
|-- Delivery
|---- Delivery Methods
|---- Delivery Pricelist
2015-04-24 16:41:08 +02:00
Goffin Simon 3760b1f0f4 [FIX] website: customize logo
The company logo can't be customized because it's a t-field from the db.
This fix don't have to be forward ported because the problem is
already fixed in saas-6.

opw:632702
2015-04-24 13:30:47 +02:00
Olivier Dony d90776454c [MERGE] Forward-port 8.0 bugfixes up to 0d591ca6df 2015-04-22 18:43:45 +02:00
Ravi Gohil 40982f5ace [FIX] website: Published/Not Published button now dynamically updates
Prior to this fix, when you clicked on Publish or Not Published, the
effect was immediate, but the button disappeared instead of just
updating itself to the new value.

Fixes opw 614561.
2015-04-21 15:34:35 +02:00
Christophe Simonis a9471c43b9 [MERGE] forward port of branch saas-6 up to e941c0f 2015-04-17 15:33:00 +02:00
Jérome Maes 6a11f594a8 [IMP] website_slide, website : move the PDFJS library from slides to the website module to allow reusing it in website modules.
This huge library handle PDF file to display them, count their pages, ... Due to its size, the lib is declared in a separated optional bundle who should be called with a 't-call-assets' only on the page it is required.
2015-04-15 14:56:24 +02:00
Jay Patel 8a91c9ea6b [IMP] website: relevant data for comparison snippet 2015-04-13 13:39:13 +02:00
Christophe Simonis 3206a35aed [MERGE] forward port of branch 8.0 up to 8ac8281 2015-04-13 12:07:58 +02:00
Jeremy Kersten b03b7280b3 [IMP] base: allow to load bundle js in async mode
+ Import live support and editor en async

m
2015-04-10 18:04:37 +02:00
Jeremy Kersten efbe6ae880 [IMP] website: Split loading of asset to load css before js
"An external CSS files were included after an external JavaScript file in the document head.
To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript."
-- Chrome analyzer --
2015-04-10 11:43:46 +02:00
Jeremy Kersten 67c40a50fa [FIX] assets : clean typo and useless script 2015-04-10 10:55:58 +02:00
Jeremy Kersten a696913364 [FIX] website: ir_http - no redirect for bot and save lang in cookie
Detect most of bots/crawlers to avoid auto redirect. Most bots fetch
with lang en_US, so even if default website lang was not in en_US,
googlebot was redirected to en_US page.

Now we keep also the language selected by user into a cookie.
If cookie exists but lang not in url, we redirect the user into
his preferred language.

Manage special case to allow to change the lang in url to set the
default lang at fly in url and set the cookie...

Many routes are not specified as multilang=False but should be.
With the auto redirection, we need to update these routes to avoid
useless redirects !
2015-04-08 15:39:57 +02:00