Commit Graph
91754 Commits
Author SHA1 Message Date
Paramjit Singh Sahota 06d79d2fe5 [FIX] website_forum: fixed inclusion of css / js, notably ckeditor.
Assets were badly configured, fixed it.
2014-10-23 16:11:05 +02:00
Thibault Delavallée fc0d9ada6d [IMP] payment: add the auto_confirm field on form view + transfer does not confirm by default 2014-10-23 12:49:29 +02:00
Yannick Tivisse 938c028e67 [IMP] Quotation form view fields moved 2014-10-22 16:18:58 +02:00
Yannick Tivisse 6d35fd0435 [IMP] Accounting typos fixes in tips 2014-10-22 16:16:54 +02:00
Yannick Tivisse 02a5f7fa88 [FIX] website_quote: onboarding tip 2014-10-22 16:15:41 +02:00
Denis Ledoux 6998184d9d [FIX] product: remove empty from state field selection
In order to avoid having twice "empty" in the web client. There is always an empty option in selection field in the web client. When the selection field is required, you have to select it, and it is not required, you can set False as selection value
2014-10-22 11:51:30 +02:00
Fabien Meghazi 8e59d086d5 [ADD] CDN support for website 2014-10-22 10:00:36 +02:00
ssh-odoo 74115334f6 [FIX] stock: group dependency
When installing stock without account, the group group_account_invoice is not present.
Fixes #3117
2014-10-21 18:00:37 +02:00
Christophe Simonis a42167d085 [MERGE] forward port of branch 8.0 up to 262eb66 2014-10-21 14:59:56 +02:00
Christophe Simonis 262eb662de [MERGE] forward port of branch 8.0 up to d80376a 2014-10-21 14:33:36 +02:00
Christophe Simonis 22c390285f [MERGE] forward port of branch 7.0 up to 78a29b3 2014-10-21 13:06:27 +02:00
Géry Debongnie d822766296 [MERGE] Improved search view UI
This branch is the result of a UI rethink of the search views.
In order to do that, many other parts had to be moved/reworked.
Main changes affect action manager, view manager and search view
(they have been almost completely rewritten)

Some highlights:
* search view has 3 submenus (filters, groupbys, favorites) and all inputs are included in these submenus
* view manager header is now responsive, and bootstrapized
* icons are now using fontawesome
* transitions between views should have much less flicker (because of work in action and view managers)
* debug mode has a pretty icon (because why not)
* we can now add custom groupbys (every groupable fields from the model are exposed (make sure you have good descriptive strings))
2014-10-21 12:07:58 +02:00
Denis Ledoux 78a29b3738 [FIX] point_of_sale: no need to specify numeric digits
In the report pos order, average_price was set as a numeric(16,2), therefore, if the amount was too big, it led to a psql crash:
A field with precision 16, scale 2 must round to an absolute value less than 10^14.
2014-10-21 10:13:44 +02:00
Richard Mathot d80376a43d [DOC] cmdline: database-related parameters 2014-10-21 10:07:54 +02:00
Géry Debongnie bc20dd9f03 [IMP] move some functions in a better position (web client)
the prepare_search_inputs is an initialization function, and was at
the end of the Searchview class.  It is more intuitive to put it closer
to the top
2014-10-21 09:33:53 +02:00
Géry Debongnie e8ee946a86 [IMP] better variable/function names in action manager 2014-10-21 09:33:53 +02:00
Géry Debongnie 6a36b80e0e [FIX] css and layout fix in advanced search view
* make sure the searchbar allows text selection
* revert back to col-md (from col-lg) classes => looks better
2014-10-21 09:33:53 +02:00
Géry Debongnie 7854f976a8 [FIX] hide groupby menu in inbox (addon mail)
the groupby menu does not do anything in the client actions.  Hiding the
group by menu prevent possible confusion about its use.
2014-10-21 09:33:53 +02:00
Géry Debongnie 782da3ac06 [IMP] xml, css and js tweaks in advanced search view 2014-10-21 09:33:53 +02:00
Géry Debongnie d7892b94ac [REM] remove instance.web.ViewManagerAction
ViewManager takes over all duties of ViewManagerAction, it can now be
safely removed.
2014-10-21 09:33:52 +02:00
Géry Debongnie d87f760a2c [FIX] correctly check default/shared filters
in searchview.  They were swapped in the UI, and not in the code.  It
also shows that using position as reference is fragile.
2014-10-21 09:33:52 +02:00
Géry Debongnie d82ca918cd [IMP] various code improvements
mostly styling, and related micro-changes
2014-10-21 09:33:52 +02:00
Géry Debongnie ef636ed520 [FIX] various small UI tweaks 2014-10-21 09:33:52 +02:00
Géry Debongnie 307c687997 [FIX] avoid inserting invisible filters
and avoid inserting two separators because of that
2014-10-21 09:33:52 +02:00
Géry Debongnie 4151f0fd83 [FIX] fix a crash in sub kanban views
sub kanban views is sometimes initialized without a $buttons attribute in options.  In that case, it should just ignore it.
2014-10-21 09:33:52 +02:00
Géry Debongnie f563b2a119 [FIX] put the scrollbar back in web/tests
for some reason, the web tests interface loads base.css, in which the .openerp is overflow:hidden, which is not fun in the tests.

The correct fix is actually to remove base.css from the tests, but the way I did it had some problems. So, this is a simple workaround that can be safely removed if base.css is removed from the view.
2014-10-21 09:33:52 +02:00
Géry Debongnie f25608c6fc [FIX] remove search.invisible tests
The search view architecture allowed an 'invisible' attribute in fields.  These fields were ignored for the autocompletion and did not appear in the interface.  The goal was to allow default parameters to create facets, without displaying the field in the interface.  Since that functionality is not used and the new search view does not support it right now, the tests can be removed.
2014-10-21 09:33:51 +02:00
Géry Debongnie d9f95e855e [FIX] update tests in search view 2014-10-21 09:33:51 +02:00
Géry Debongnie 748de602ef [FIX] catch possible exception in search.js
The search view tries to evaluate the category of a filter in order
to put it in the filters or in the group by sub menu.  The pyeval.eval
function could throw an exception, which is not cool if it crashes the
client.  This fix make sure that the exception is caught.
2014-10-21 09:33:51 +02:00
Géry Debongnie 2e43d4be29 [FIX] update the search tests
The search tests are totally outdated since the search view rewrite. This commit update them to the new search view.
2014-10-21 09:33:51 +02:00
Géry Debongnie f4774f25ad [IMP] various code cleanups
remove some old cruft
2014-10-21 09:33:51 +02:00
Géry Debongnie a8bd1fa8ba [IMP] some cleanups in graph/kanban views
notable: disable the group by integration in graph view, because of crash (the search view was rewritten and too much search logic was in the graph view.  This is a temporary measure, the graph view will be split into pivot/graph views, and the search integration will be done correctly in the near future.
2014-10-21 09:33:51 +02:00
Géry Debongnie 16aff1132b [FIX] make the view editor work
with the recent changes in view manager, it was kind of broken.
2014-10-21 09:33:51 +02:00
Géry Debongnie 8f08d74660 [IMP] add basic pivot support
The goal is to split the graph view into two views: pivot table view (short: 'pivot') and graph view (with charts).  This patch lays the foundation for that work.
2014-10-21 09:33:50 +02:00
Géry Debongnie 21cb194440 [FIX] a few bugs in view_form/view_list
some small stuff...
2014-10-21 09:33:50 +02:00
Géry Debongnie 2015d87a55 [IMP] integrate mail client actions with search view
The mail client actions did not integrate with the search view.  (it is actually an ugly hack to fake a view manager and instantiate a search view. of course it was broken when the search view was refactored)
2014-10-21 09:33:50 +02:00
Géry Debongnie 32c9cbde4d [FIX] readd the google spreadsheet functionality
It is now an item in the favorite submenu (search view)
2014-10-21 09:33:50 +02:00
Géry Debongnie 524543fa3b [FIX] make add to dashboard work
With the search view refactoring, the add to dashboard functionality was unavailable.  Weep no longer, it is fixed.  The dashboard button is now an action in the favorites submenu instead of a search input
2014-10-21 09:33:50 +02:00
Géry Debongnie d8d6311b50 [IMP] rewrite of search view/view manager
Second part of a large refactoring.  Lots of cleanup, simpler code organization, and it should be faster.
2014-10-21 09:33:50 +02:00
Géry Debongnie bafa09f7e4 [IMP] graph view integration into view manager header 2014-10-21 09:33:50 +02:00
Géry Debongnie 14d5860b35 [IMP] readd pager functionality to web client
The pager was removed in the refactoring of view manager. This commit
readd the pager, and improves its rendering to avoid flickering
2014-10-21 09:33:49 +02:00
Géry Debongnie ffb8bf31af [FIX] fixes many issues with the various views
the views don't always return a proper promise, or were
somewhat fragile and broke with the changes in the view
manager.
2014-10-21 09:33:49 +02:00
Géry Debongnie 582ccb5ab9 [IMP] web client refactoring: action and view manager
large rewrite of action manager, view manager and
viewmanageraction.  The goal is to lay the foundation
for the redesign of the advanced search view.

This commit includes:
* improvements to the display order (no/less flickering)
* large simplification of the breadcrumbs code
* much better html layout for the header (no table)
* bootstrapisation of the view manager
* lots of optimizations/simplification
* a base.css.map, courtesy of the last sass version
2014-10-21 09:33:49 +02:00
Olivier Dony b9953acb0f [FIX] website_forum: respect karma when posting questions/answers/comments + more user-friendly errors
While posting new questions and answers the check
for karma limit was bypassed because it was using
super-user mode: use regular user instead.
Also improve the user feedback when karma level is
too low to perform some actions: post comment,
post question, post answer.
The usability in these cases still needs to be
improved.
2014-10-21 01:23:28 +02:00
Christophe Simonis edc4b0b9bb [FIX] {web,point_of_sale}: allow cross-origin access to company logo 2014-10-20 20:14:36 +02:00
Denis Ledoux bfb61cd5e9 [FIX] website_sale: image doesn't change when the user select a product (for product variant list). website_sale_options: image dones't change in modal with the selection 2014-10-20 18:40:06 +02:00
Denis Ledoux 285ba3d801 [FIX] account: default product taxes on product.template
As product.template is now most commonly used than product.product

This is related to fix 96dd8bf
2014-10-20 17:50:22 +02:00
Richard Mathot e829047015 [FIX] (website_)hr_recruitment: correct version of
659db669aa
2014-10-20 17:35:33 +02:00
Denis Ledoux 32f8a18dbf [FIX] auth_signup: refresh is no longer needed with the new api
Besides, it leads to a invalidation of the cache, which is not needed here.
2014-10-20 17:06:30 +02:00
Julien Legros b00122ad99 [FIX] res_partner: add parent_name related field
In some cases (e.g. with record rules), the name_get might not have access
to the parent name. Therefore a parent_name related field solves the
issue (as it read with as superuser).
2014-10-20 15:50:49 +02:00