Commit Graph
91838 Commits
Author SHA1 Message Date
Géry Debongnie 270da77dd0 [FIX] correct a layout issue in viewmanager (webclient)
problem was that the pager was not displayed/hidden at the correct moment
Result is that when switching views, the header sometimes takes an extra
line.  The pager is now hidden just before creating the view
2014-10-29 08:38:19 +01:00
Géry Debongnie 5fc76ff7a9 [FIX] fixes an issue with non-displayed favorite filter
If someone removes the last filter in favorites menu, it removed the
divider, and therefore couldn't properly add a new filter.
2014-10-29 08:38:19 +01:00
Géry Debongnie 488bb6e803 [FIX] fix bouncing problem on create/import buttons
the bouncing is supposed to occur when clicking on the area in view list
with no content.  Problem was that the Create button was separated from
the import button while bouncing.  This commit fixes the issue in a not
really subtle way: it instead bounces the whole row.  I tried to find a
better fix, but I don't like jqueryui and i don't want to spend too much
time on this.
2014-10-29 08:38:19 +01:00
Géry Debongnie 3b537ec121 [FIX] various layout fixes for web client
* fallback support for browser without calc,
* invisible pager in some cases
* correct colors for oe_stars
* readd oe_webclient class
2014-10-29 08:38:19 +01:00
Géry Debongnie f76e7b4f19 [IMP] add warning when removing non global favorite 2014-10-29 08:38:19 +01:00
Géry Debongnie 4554647b87 [FIX] fix display issue in safari
safari needs to use css rules prefixed with -webkit-
2014-10-29 08:38:19 +01:00
Géry Debongnie 62c9795d72 [FIX] css fixes: oe_mail size, and link color 2014-10-29 08:38:18 +01:00
Géry Debongnie da9f858572 [FIX] improvements to modal windows (web client)
problem is that they sometimes collapse to a single line, making it
difficult to operate the search view. Other problem is that content is
not displayed sometimes (when sub view manager).  Other problem is that
it does not have a scrollbar.  Sidenote: modals will be properly
reworked soon (tm).
2014-10-29 08:38:18 +01:00
Géry Debongnie 2c6f576cc4 [FIX] make sure that breadcrumbs are generic (web client)
breadcrumbs incorrectly assumed that they were made with views inside
viewmanagers.  But client actions can be used in breadcrumbs, so the
action manager should play nice with these widgets.
2014-10-29 08:38:18 +01:00
Géry Debongnie 1ccd87a037 [FIX] fix various display problems with ie11, ie10, ie9 2014-10-29 08:38:18 +01:00
Géry Debongnie eb521562cd [FIX] prevent a crash in ie9 (invalid setTimeout) (bus)
The call to this.poll return undefined, and IE9 does not like undefined
values in a timeout.
2014-10-29 08:38:18 +01:00
Géry Debongnie bb8127a263 [FIX] css fixes (ie10) (web client) 2014-10-29 08:38:18 +01:00
Géry Debongnie 3316956051 [FIX] add tooltip to some buttons (graph view) 2014-10-29 08:38:18 +01:00
Géry Debongnie 7249743c36 [FIX] fix button looks in module install view
The 'install' and 'installed' buttons are supposed to look different,
and to show the 'disabled' look on already installed modules.
2014-10-29 08:38:18 +01:00
Géry Debongnie 5abc3afe4b [FIX] various css fixes (advanced search)
* dashboard did not display properly kanban in ie
* kanban did not extend to the bottom of the available screen
* custom filters did not display anything different when they were
public (not private)
* some small css problems
2014-10-29 08:38:18 +01:00
Géry Debongnie 5f2646e838 [FIX] correctly display check marks in measures (graph) 2014-10-29 08:38:17 +01:00
Géry Debongnie 5a9580d877 [FIX] hide 'add to dashboard' in mail menu
add to dashboard does not work with messaging client actions. So,
better to hide it than to have crashes.
2014-10-29 08:38:17 +01:00
Géry Debongnie 4750576fdb [FIX] properly destroy client widgets (web client)
The new action manager only destroyed viewmanager widgets instead of
any old widget.  It now checks for the widget class.

Also, minor improvement to clear_widgets: vms used to stand for
view_managers, but it can destroy any widget.
2014-10-29 08:38:17 +01:00
Géry Debongnie f67298c6b2 [FIX] fix display issue in IE in kanbans
vertical text in folded kanban groups did not have a correct
orientation in IE.

Also, stupid sass compiler insists on normalizing color codes. No idea
why
2014-10-29 08:38:17 +01:00
Géry Debongnie cd19c5c5c6 [IMP] change webclient structure: remove table
This is a small change if measured in lines of code, but is a large
change: it removes the table structure from the web client and use divs
instead.  It will likely break a lot of things (some css selectors
will not work), but it should simplify our lives in the future:
closer to being responsive, easier layout computations for the browsers
(and hopefully less discrepencies between the results), simpler html, ...
2014-10-29 08:38:17 +01:00
Martin Trigaux ed5fc84a37 [IMP] stock_account: stock journal in multicompany
Restrict the property_stock_journal to the main company only. This avoids errors in multicompany when the stock journal of the main company (getting an error company mismatch) is used instead of a more useful message explaining the missing stock journal.
Fixes #3251
2014-10-28 15:57:14 +01:00
Fabien Meghazi 4b6363b7a6 [ADD] Website KeyCDN integration guide 2014-10-28 14:42:18 +01:00
Christophe Simonis 90b81a283a [FIX] event_sale: workaround for broken view.
Non-stored fields created with the new API are not converted to old
fields and added in `_columns` (and thus `_all_columns`). This forbid
them to be used in qweb views.
A fix will be commited in 8.0 to address this issue.
2014-10-28 10:59:19 +01:00
Martin Trigaux 9e1ae57c2a [FIX] l10n_fr: remove depedency to l10n_fr_rib
Cherry-pick of 4ff1c7c required due to fe1b2c0
2014-10-28 10:15:36 +01:00
Martin Trigaux fe1b2c070d [REM] l10n_fr_rib module
RIB format is no longer accepted by banks (replaced by SEPA) since 1st of August 2014, in regards of #3331
2014-10-28 10:09:13 +01:00
Christophe Simonis 27979746fb [MERGE] forward port of branch 8.0 up to 92183e5 2014-10-24 18:23:46 +02:00
Julien Legros 92183e59a7 [FIX] event_sale: event name carried over in invoice line 2014-10-24 17:57:08 +02:00
Julien Legros 5cbd5f13f8 [FIX] event_sale: event tickets carried over on duplication 2014-10-24 17:55:42 +02:00
Julien Legros 0780304656 [FIX] mail: append messages at the right place
e6790ba introduced a bug where messages were always appended at the end
of the thread, potentially displaying them in the wrong order.
2014-10-24 17:46:33 +02:00
Christophe Simonis 89eaa8a8a8 [MERGE] forward port of branch saas-3 up to 309ca4f 2014-10-24 17:25:19 +02:00
Jeremy Kersten 6e48c892dd [ADD] web: add a route '/web/dbredirect' to ensure the connection to the right database via the get param db. 2014-10-24 17:19:55 +02:00
Christophe Simonis 309ca4fcf7 [MERGE] forward port of branch 7.0 up to d2fd05e 2014-10-24 16:52:10 +02:00
Samus CTO d2fd05ef21 [IMP] config: Test that the config file is readable
Fixes #3237

cherry-pick of 8e72049
2014-10-24 16:48:27 +02:00
Simon Lejeune 440fb712cb [FIX] Report: use ir.config 'report.url' key as base url if it exists
Browse ir.config 'report.url' with superuser as
the user may want to restrict access of this key to the public
2014-10-24 16:37:30 +02:00
Christophe Simonis 472291b35c [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update
Backport of 2c4e370b76 and
33ce0e73db
2014-10-24 16:24:50 +02:00
Martin Trigaux 7ec7f1ba40 [FIX] web: avoid incoherent actual_mode after refresh
When accessing an existing record in form mode directly (enter the url or refresh a page), the daterecord has not been initialized yet. This means that the value of actual_mode will be set to 'edit' before loading the current record (method _actualize_mode() called from do_show()).
This was problematic for one2many fields that we loaded in edit mode, showing add/delete icons/buttons in readonly views. (opw 607910)
2014-10-24 15:36:58 +02:00
Jeremy Kersten cd8bd872e8 [IMP] res_country: add relation from country to group_country. The purpose of this patch is to allow in domain (model.country_id.country_group_ids, '=', 'Europe') 2014-10-24 15:19:34 +02:00
Christophe Matthieu 23f9736372 [FIX] website_event_sale: display the discounted price in website.
Add price_reduce compute method on ticket and sale order line
2014-10-24 14:16:16 +02:00
Samus CTO 8e7204942d [IMP] config: Test that the config file is readable
Fixes #3237
2014-10-24 11:55:27 +02:00
Christophe Matthieu 1a5bfdc055 [FIX] website_mail: connected users can't follow a website document 2014-10-24 11:33:15 +02:00
Christophe Simonis b4c2216d7d [FIX] website_forum: correct view typo introduced during previous commit 2014-10-23 17:35:13 +02:00
Paulius Sladkevičius 83b4742b56 [FIX] Render of report shouldn't update context
With API 8 context is frozendict that don't support update
2014-10-23 17:33:37 +02:00
Christophe Simonis 4b6c948be5 [MERGE] forward port of branch 8.0 up to ed92589 2014-10-23 17:14:35 +02:00
Christophe Simonis ed925892b9 [MERGE] forward port of branch saas-3 up to 2c1bcfb 2014-10-23 16:52:37 +02:00
Denis Ledoux 2c1bcfb2c9 [FIX] calendar: avoid to pass ids as string to unlink and write methods
opw-616532: if the event is associated somehow to a workflow, an assert is done to check that element of the ids list are (int, long)
2014-10-23 16:40:53 +02:00
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
Simon Lejeune 6bd36a8613 [FIX] account: tax report: translate account.tax.code according to context
As get_lines is called from the template, use a partial to embed the original context.
2014-10-23 15:43:52 +02:00
David Monjoie 76824b4248 [FIX] website_sale: check the first product variant radio button in variants list by default to avoid users to click on Add to Cart without choosing any variant 2014-10-23 15:20:51 +02:00
Denis Ledoux 076fedb6a7 [FIX] crm_partner_assign: colors only if there is a stage on the lead 2014-10-23 15:07:40 +02:00
Cedric Snauwaert 44eed595df [FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting with other non bootstrap element
This method trigger the focus event when clicking inside the modal, causing a blur event on other widgets resulting in unwanted problem. Typical case is for the jquery datetimepicker where we try to open a select element which will close right after.
2014-10-23 15:04:59 +02:00