Commit Graph

88399 Commits

Author SHA1 Message Date
Géry Debongnie 1602ba44c9 [FIX] correctly include some inputs in drawer
The search view has been split into two widgets: SearchView
and SearchViewDrawer.  The addons board and google_spreadsheet need
to be updated to append their input widget to SearchViewDrawer and
not to SearchView.
2014-05-27 14:44:21 +02:00
Géry Debongnie 70052e1fd6 [FIX] correct some issues with scrolling area
the height of the oe_view_manager_header is variable, and the top can't
be positioned correctly with pure css without a lot of work, so this
commit adds a touch of javascript to make sure that the view is
correctly positioned.
2014-05-27 14:21:52 +02:00
Géry Debongnie bb8b659ce3 [FIX] adjust the tests after changes to the searchview
* oe_searchview_custom has been split in oe_searchview_custom and
oe_searchview_filter: a test need to take that into account
* in adjust_top, the parent might not have a $ method.
2014-05-26 16:43:04 +02:00
Géry Debongnie d657f0f598 [FIX] corrects some display problem in addon web
the drawer was displayed for all views instead of only graph views
2014-05-26 16:29:54 +02:00
Géry Debongnie e9732dab8d [FIX] fix various issues with the drawer (addon web)
* separate the css class oe_searchview_custom into oe_searchview_custom
and oe_searchview_savefilter to be able to style them independently
* by default, the drawer has display:none
* fix a bug occuring when the user removed a custom filter (it hid the
remaining filters)
2014-05-26 15:45:28 +02:00
Géry Debongnie d5f5d07779 [FIX] remove an useless <div> in searchview drawer 2014-05-26 15:02:33 +02:00
Géry Debongnie 5e367d958c [FIX] adjust view top when header height changes
the header height is not fixed, it can change when the breadcrumbs
start a new line, or when there is only one view type (for ex, in most
reporting views).  So, the top value of the view_manager_body has to be
adjusted accordingly.
2014-05-26 14:51:47 +02:00
Géry Debongnie 14d4cd4ad4 [FIX] remove a useless border (css fix) 2014-05-26 13:32:27 +02:00
Géry Debongnie 62900fe01b Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
Conflicts:
	addons/crm/crm_case_section_view.xml
2014-05-26 10:06:31 +02:00
Géry Debongnie 6e6ae4cbf9 [IMP] improves the scrolling behaviour
the mail menu is a client action, so not subject to the same template
as regular views.  so, it had to be patched to properly scroll like
other views (meaning: the 'header', left menu and top menu are fixed)

Also, changes the width of the searchbbar into a min-width css property,
to allow it to grow more.  The reason is that we don't want the searchbox
to take two lines (or more), which will force the view_manager_header to be
higher, and which will cause slight issues with the scrollbar (absolutely
positioned)
2014-05-26 09:37:16 +02:00
Géry Debongnie 779aabfc5b [FIX] various css fixes related to scrolling
(1) it seems that position:relative behaviour is undefined in a td,
so it has been moved to the div below oe_application
(2) the left menu bar can now scroll vertically if necessary.
2014-05-23 17:06:50 +02:00
Géry Debongnie b374cf0089 [IMP] fix a css problem with multiple view_manager
when a view_manager is contained inside another, the
css rule for defining a scrollable zone (with position:absolute)
was also applied to the inside view manager.
2014-05-23 16:07:42 +02:00
Géry Debongnie 3c468073d4 [IMP] small css tweaks
correct a few problems introduced by the change to the scrolling area.

Note: body is in overflow:auto to allow scrolling when there is no view
manager (for example, client action)
2014-05-23 15:51:57 +02:00
Géry Debongnie 088b33d0bc [IMP] change scrollable area to main view
Now, only the main view is supposed to scroll (the part below the
header with the view selector).  The left menu, top bar and header
are supposed to stay fixed.  This is done by carefully using
position:relative and absolute.  However, this is likely to
introduce some (many?) issues, perhaps with tooltips position and
such.  The bug hunt is on!
2014-05-23 15:09:48 +02:00
Géry Debongnie 8b132b70c5 [IMP] slightly improve the html structure
of web client: remove an useless div .oe_view_manager_parent
introduced by a clueless developper.
2014-05-23 15:07:09 +02:00
xmo-odoo 576b00a196 Merge pull request #174 from odoo-dev/tnx-remains
Various ex-module remains
2014-05-23 12:21:33 +02:00
Xavier Morel 9f6f9853a0 [REM] leftovers from removed/deactivated modules
* document_page should have disappeared a long time ago, no idea why it
  remains
* thunderbird seems to have suffered from odd conflictual moves (or lack
  thereof)
* audittrail was removed but not deactivated in rosetta
2014-05-23 12:18:17 +02:00
Xavier Morel ed156e6724 [REM] undead modules reanimated by translation file exports 2014-05-23 12:02:03 +02:00
Thibault Delavallée c69f0260ef Merge pull request #170 from odoo-dev/master-fix-languages-thingy-tde
[FIX] website: fixed languages errors
- ir_http: added a missing ? when a route using the default language was re-rerouted to remove the language part of the path, leading to a wrong url
- website layout: fixed use of a languages variable not always defined depending on the working conditions
2014-05-23 11:06:47 +02:00
--global 62c0f6bf11 [FIX] website: ir_http: when rerouting url containing default language -> url without language, the ? was missing, leading to wrong urls. 2014-05-23 10:39:26 +02:00
--global 319f4cb270 [FIX] website: define languages variable outside of an 'if' as it is used below in the same template, leading to a crash due to the variable not always being defined. 2014-05-23 10:23:13 +02:00
Fabien Pinckaers 7a6435b0a3 [MERGE] no website description 2014-05-23 10:20:06 +02:00
Fabien Pinckaers 1ddc8c7f93 [IMP] missing file 2014-05-23 09:55:24 +02:00
Fabien Pinckaers f6575e2645 [FIX] Missing file 2014-05-23 09:43:34 +02:00
Fabien Pinckaers 143615ddc1 Merge branch 'master-remove-html-fields-backend-ypa' of https://github.com/odoo-dev/odoo into odoo-dev-master-remove-html-fields-backend-ypa 2014-05-23 09:24:16 +02:00
Fabien Pinckaers a3f5da5f4f Merge pull request #168 from legalsylvain/master
[FIX] Issues #167. Remove obsolete shop reference
2014-05-23 09:15:08 +02:00
Sylvain LE GAL 5d8927e2b1 [FIX] Issues #167. Remove obsolete shop reference 2014-05-22 22:55:50 +02:00
Thibault Delavallée ada00bbe32 Merge pull request #164 from odoo-dev/master-website_sale--fix-tde
[FIX] website_sale: cleaned call to removed methods in website_sale
2014-05-22 16:22:32 +02:00
Martin Trigaux c0fdc2cdbe Improvement of the delivery module
Add field sequence on the delivery.gird.line to order rules
Add condition quantity to add more flexibility in the rules
Add operators > and < to be able to create rules without gap (instead of needing hack like 'x <= 100', 'x >= 100.000001')
2014-05-22 15:41:36 +02:00
--global 13ac3865d5 [CLEAN] Use none or false, but not both on two lines ... 2014-05-22 15:40:29 +02:00
--global 15e874b5c8 [FIX] website_sale: still cleaning lost references to deleted code in website_sale ...
Fixed checkout redirection that was meant to clean the session (incorrect sale order or transaction) that may happen
when having issues with the payment.
2014-05-22 15:34:09 +02:00
Martin Trigaux 0efc066aa6 Add sequence field with handle in tree view 2014-05-22 14:56:33 +02:00
Martin Trigaux 4e34e3bce5 Add < and > operators to allow rules without gap (eg: until 100 & above 100) 2014-05-22 14:55:26 +02:00
Thibault Delavallée 8df42a88ab Merge pull request #160 from odoo-dev/master-forum-subtypes-tde
MERGE [IMP] website_forum: make forum.forum inherit from mail.thread. This way we add the possibility to users to follow a forum and be automatically followers of new questions, using some new subtypes on the forum.forum model that do the auto subscription.

Misc :

also added a profile link on the forum, when logged.
also added a subscribe button on the forum.
2014-05-22 14:29:06 +02:00
Géry Debongnie c4fc0f5992 [IMP] work on scrollable zone in web client
add a div parent to oe_view_manager_body, and move the searchview
drawer inside oe_view_manager_body.  This is in preparation to the
goal of making the oe_view_manager_body div scrollable
2014-05-22 13:53:26 +02:00
--global 2649beba97 [IMP] website_forum: make forum;forum inherit from mail.thread. This way we
add the possibility to users to follow a forum and be automatically followers of new
questions, using some new subtypes on the forum.forum model that do the auto subscription.

Also added a profile link on the forum, when logged.

Also added a subscribe button on the forum.
2014-05-22 13:49:41 +02:00
Richard Mathot 8ad97da843 Merge pull request #159 from odoo-dev/master-gengo-fix-rim
[FIX] base_gengo: use supported/up-to-date library
2014-05-22 13:46:15 +02:00
Richard Mathot 0b0f74861e [DOC] base_gengo: add changelog 2014-05-22 13:36:48 +02:00
Yogesh Parekh 59ecefbed2 Remove content field in Pages History form in website_blog module 2014-05-22 16:17:22 +05:30
Richard Mathot b283f8d5b1 [FIX] base_gengo: use supported/up-to-date library 2014-05-22 12:13:34 +02:00
Yogesh Parekh 52f571ac8a Remove content html field from website_blog module 2014-05-22 15:33:37 +05:30
Yogesh Parekh c0f453a1ea Remove description html field from website_event_track module 2014-05-22 15:28:39 +05:30
Yogesh Parekh a79ffefd87 Remove description html field in website_forum module 2014-05-22 15:26:10 +05:30
Yogesh Parekh 3772a3a3af Remove html fields in frontend from website_quote module 2014-05-22 15:23:09 +05:30
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Géry Debongnie a24020e004 [FIX] update the searchview tests
to accomodate the fact that the searchview has been changed.
Two changes need to be accounted:
(1) the drawer html structure has changed (oe_selected class is
replaced by badge, some li tags are replaced by spans, ...) and
(2) the CustomFilters has been split into CustomReports and
SaveFilter, so there is an extra filter in the drawer inputs.

Also, the searchview need a parent to react to the switch_mode event,
so the tests add a fake parent to the view in make_search_view
2014-05-22 09:59:32 +02:00
Géry Debongnie 8159f4a18c [IMP] improves searchview appendTo
after some thought, the extra method insert was not really necessary.
It was at first a way to force the user to give two nodes to determine
where the searchview and the drawer were to be inserted.  However,
the second node can be omitted, a perfectly reasonable default is
to append the drawer just after the searchview.

Then, the role of insert is exactly the same as appendTo, so it makes
sense to override appendTo and remove insert.  Simpler, and the job is done.
2014-05-22 09:55:04 +02:00
Géry Debongnie 36471c3955 [FIX] correctly loads default filters (addon web)
also, hide/show the custom reports list when it is empty/non empty
2014-05-21 14:27:17 +02:00
Géry Debongnie aec3ba08ae [IMP] improvements to inline searchview (web)
this commit splits the widget CustomFilters in two widgets:
CustomReports and SaveFilter.  CustomReports is the widget
displaying the list of reports, and SaveFilter obviously is the
Save Current Filter widget.

The goal was to put the custom reports in the first column and the
Save Current Filter form in the second.
2014-05-21 13:18:30 +02:00
Fabien Meghazi 7adfaf786d Merge pull request #97 from odoo-dev/master-default-addons-path-fme
[FIX] If no addons-path provided, include the main addons [Fixes #29]
2014-05-21 11:15:21 +02:00