Commit Graph
92045 Commits
Author SHA1 Message Date
Géry Debongnie fcf0f2882a [FIX] UI fix: ungroup 'edit' and 'create' (web client)
ungroup these buttons in form view.
2014-11-12 09:36:26 +01:00
Géry Debongnie 16b26e3883 [FIX] add scrollbar to filters menu if needed (web client)
the filters menu can quickly grow if the user adds many conditions.
Once it grows out of the screen, the lower buttons can not be reached
anymore.  This patch adds a vertical scrollbar to fix this issue.  It
has to use some javascript to update its max-height property.
2014-11-12 09:26:30 +01:00
Fabien Meghazi 30e21de532 [REM] Removed QWebContext.templates cache
Now rely solely on ir.ui.view#read_template()'s orm cache
2014-11-07 16:25:17 +01:00
Fabien Meghazi 4127468829 [ADD] ir.qweb FileSystemLoader 2014-11-07 16:25:12 +01:00
Thibault Delavallée de7f2481ae [FIX] view_form: kanban selection widget: fixed issue of binding on this instead of self 2014-11-07 14:30:37 +01:00
Thibault Delavallée eded79f47a [FIX] kanban: fixed condition evaluation when reading stage data: ensure you are grouping on a m2o, fixed condition 2014-11-07 13:08:40 +01:00
Thibault Delavallée fe41553623 [IMP] kanban, web: kanban tooltips and kanban states tooltips improvements.
Kanban and form view kanban selection widgets can now be dependent of the
current stage of the record. The displayed legend can be taken directly
from the stage instead of the field selection values.
- added states_legend option on kanban selection widget for kanban and form
view: used to change the selection displayed value by a value coming from the
record given by group_by (kanban) / states_legend_field (form view). This allows
customizing the kanban selection widget depending on stages.

Improved the tooltip of kanban groups customization by improving the first
implementation of group_by_tooltip parameter in kanban view declaration.
This is done by adding some options and improving the first (still not
used) implementation:
- added group_by_tooltip option on field used to group on kanban view. Its
values is a collection of fields on the record used to group. The tooltip of
the group header will be the text formed from those fields values, allowing
custom tooltips for different kanban columns.
- now all data of the kanban columns are fetched in one call instead of doing
one call for each column. The various fields to read are collected by
introspecting the view definition.

Future commits will aim at using those features various addons, notably
in recruitment, project and crm.
2014-11-07 11:57:52 +01:00
Géry Debongnie 90af54ca4d [IMP] various improvements to the action manager (web client)
* add a replace_breadcrumb option to actionmanager
* correctly calls on_reverse_breadcrumbs when needed
* add a semi-protected way to manipulate breadcrumbs (get_widgets)
* calls do_show when changing widgets
2014-11-06 14:30:17 +01:00
Simon Lejeune d1a3964aa6 [FIX] ir_qweb: css asset: use which to find lessc and sass
Also, use lessc.cmd instead of lessc on Windows. It allows to run
lessc command with only nodejs and the less module (no cygwin).
2014-11-06 12:01:56 +01:00
Xavier Morel 4bc8f086af [FIX] doc: guides section was removed, move CDN to reference 2014-11-06 11:42:02 +01:00
Christophe Simonis 812c257094 [MERGE] forward port of branch 8.0 up to c825d05 2014-11-05 21:49:01 +01:00
Christophe Simonis c825d0552d [MERGE] forward port of branch saas-3 up to ec27773 2014-11-05 21:46:42 +01:00
Christophe Simonis c226b0a39c [MERGE] forward port of branch 8.0 up to 87dcaa9 2014-11-05 21:38:03 +01:00
Miku Laitinen 87dcaa95f5 [FIX] project: missing translations
The labels for fields 'use_tasks', 'partner_id', 'date_start' had no valid string (autogenerated or unrelated).
Make the selections of the field privacy_visibility translatable.
Fixes #3435
2014-11-05 21:29:17 +01:00
Frederic van der Essen 0ffa605e37 [IMP] point_of_sale: add product description and product sale description to the search engine 2014-11-05 21:20:17 +01:00
Christophe Simonis ec277732fe [MERGE] forward port of branch 7.0 up to 3e3e35e 2014-11-05 21:10:15 +01:00
Christophe Simonis 3e3e35ed7e [FIX] web,web_kanban: correct radial-gradient usage 2014-11-05 20:57:59 +01:00
Christophe Simonis fb4851a532 [FIX] website_forum: typo introduced during last forward-port 2014-11-05 20:47:21 +01:00
Christophe Simonis 5068cffbb0 [MERGE] forward port of branch 8.0 up to 491372e 2014-11-05 20:30:40 +01:00
Christophe Simonis 491372e865 [MERGE] forward port of branch saas-3 up to d36eee9 2014-11-05 20:26:36 +01:00
Frederic van der Essen 8b69395561 [FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen 2014-11-05 20:02:49 +01:00
Christophe Simonis d36eee98fb [MERGE] forward port of branch 7.0 up to 65d92da 2014-11-05 19:34:18 +01:00
Christophe Simonis 388732dfa6 [IMP] *: one Makefile to rules them all.
Create one unique generic Makefile to compile sass files.
2014-11-05 19:30:28 +01:00
Olivier Dony 65d92dadf4 [FIX] base: incorrect code and locale for Bosnian
Stems from prebiblical commit f083aa2.

Fixes #3480
2014-11-05 19:09:23 +01:00
Christophe Simonis 6239cf5c49 [MERGE] forward port of branch saas-3 up to 48ffbb6 2014-11-05 19:00:51 +01:00
Christophe Simonis 48ffbb68fb [MERGE] forward port of branch 7.0 up to cb91966 2014-11-05 18:58:07 +01:00
Julien Legros cb91966b11 [REVERT] 056c06570c and a5cf719739 2014-11-05 18:26:34 +01:00
Fabien Meghazi 9c57268a4b Merge pull request #2350 from odoo-dev/master-momentjs-csn
Replace datejs by momentjs
2014-11-05 17:44:54 +01:00
Christophe Simonis fbd3041c55 [FIX] website: correct padding of footer 2014-11-05 17:44:34 +01:00
Lionel Sausin (Numérigraphe) 3b69d40a80 [IMP] sale_order_dates: quotation views (backport of b5e9e11)
Add the same fields on the quotation tree view than on the sale order tree view.
2014-11-05 17:42:21 +01:00
Julien Legros 056c06570c [FIX] account_asset: asset depreciation should use the correct dates
fix a5cf719739
2014-11-05 17:38:50 +01:00
Antony Lesuisse c2bff2afae [IMP] safe_eval allow math 2014-11-05 17:25:41 +01:00
Xavier Morel 06a75d0e95 [FIX] doc: typo missed when merging contribution 2014-11-05 17:12:46 +01:00
Lionel Sausin (Numérigraphe) b5e9e11581 [IMP] sale_order_dates: quotation views
Add the same fields on the quotation tree view than on the sale order tree view.
2014-11-05 17:11:26 +01:00
Olivier Dony 71247cebb6 [FIX] longpolling/gevent: automatically restart worker when killed
Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.
2014-11-05 17:09:10 +01:00
Olivier Dony 1719e6b922 [FIX] longpolling/gevent: log errors occurring in main loop 2014-11-05 17:09:10 +01:00
Olivier Dony 6c55dab261 [FIX] forum: closing spam/offensive questions should give author karma penalty
This is a partial patch for issue #3460, pending more
improvements and refinements in master.

Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.
2014-11-05 17:09:10 +01:00
Julien Legros a5cf719739 [FIX] account_asset: move lines should use the depreciation line date
opw-616843
2014-11-05 16:59:44 +01:00
hiekmann d6cfd8ed4b [IMP] doc: various improvements to website tutorial
closes #3476
closes #3477
closes #3479
2014-11-05 16:42:19 +01:00
Martin Trigaux a3f9c908a0 [IMP] account: (over)due payments report
The report includes all due payments, not only the one after the maturity date.
The maturity date is displayed in the report so no confusion is possible for payments below the maturity date.
Fixes #3064
2014-11-05 15:49:15 +01:00
Fabien Meghazi a29c44be31 [FIX] python strftime to moment.js format conversion 2014-11-05 15:28:00 +01:00
Cedric Snauwaert eb1f4ea5d2 [FIX] web: normalize_format was not correctly taking into account whatever char added at the end of the server date format 2014-11-05 15:27:59 +01:00
Cedric Snauwaert 347c0e1540 [FIX] web: remove lazy load of datejs locale 2014-11-05 15:27:59 +01:00
Cedric Snauwaert a878de477f [FIX] web: fix remarks from pr 2014-11-05 15:27:59 +01:00
Cedric Snauwaert a8d9743c0c [FIX] web: fix tests on date parsing 2014-11-05 15:27:59 +01:00
Cedric Snauwaert ef886aed2f [FIX] web: remove datejs and replace by momentjs 2014-11-05 15:27:59 +01:00
Denis Ledoux 3a7dffd6cc Revert "[FIX] mrp: chain product move and MO locations"
This reverts commit 61a8971db5.

This rev. is from a 7.0 forward port b4d602fdd3379a0310ec0b9a56f9b88226

This is no longer needed in 8.0, with the new WMS
2014-11-05 13:51:52 +01:00
Denis Ledoux 89716cb4d6 [MERGE] forward port of branch saas-3 up to c666030 2014-11-05 13:40:30 +01:00
Denis Ledoux c666030539 [MERGE] forward port of branch 7.0 up to cd69dee 2014-11-05 13:39:41 +01:00
Denis Ledoux cd69dee3f2 [FIX] web: inhibit on change flag when validating editable list
To valid all editable list line, we iterate on the lines and set the editor form with the line value, using set_value.
The _inhibit_on_change_flag should be set to True to avoid triggering on changes events

opw-617395
2014-11-05 13:38:49 +01:00