Commit Graph
110682 Commits
Author SHA1 Message Date
Deep Patel e9640407f4 [IMP] mail: parse note when scheduling an activity to make clickable links
Zizisse meuche iouzability.
2017-07-05 17:02:01 +02:00
Thibault Delavallée 2f6e396959 [MERGE] mail, various: add activities summary in topbar grouped by App and remaining time 2017-07-05 16:52:55 +02:00
pgu-odoo 07f1e9025d [IMP] mail: ease activities management by adding a shortcut-counter in top menu
This commit improves the use of activities through various applications
by adding a counter of activities displaying next activities grouped by
application. For each application activities are divided into late, today
and future activities in order to achieve a better management.

This commit also merges Inbox and Messaging icons in topbar to keep only
one displaying All / Chat / Channels messages.
2017-07-05 16:50:27 +02:00
qdp-odoo b9a9daca17 [FIX] account: don't show off deprecated accounts in customer invoice lines
Fix #15767
2017-07-05 16:39:05 +02:00
pgu f5c8bd30a3 [IMP] project: add a default group tasks on stage 2017-07-05 16:25:31 +02:00
pgu a1f0287325 [IMP] hr_recruitment: put a lower priority on applicant reporting search view to avoid wrong default view choice 2017-07-05 16:23:01 +02:00
Pierre Masereel d6dfdc98fb [FIX] purchase: typo in domain
There is a lost bracket in domain.

Bug intreoduced in rev: https://github.com/odoo/odoo/commit/004412749b83376221c7baec2f82718dd9bd954c
2017-07-05 15:54:37 +02:00
pgu-odoo 1142d66ecb [IMP] various: add 'Upcoming Activities' filter on various models using activities 2017-07-05 14:17:34 +02:00
Denis Ledoux 6078c04266 [IMP] models: allow to use a not automatic create_date field
Without this, you cannot use a `create_date` field
in a model with `_log_access` set to `False`
2017-07-05 13:50:15 +02:00
Denis Ledoux ad67f7aff8 [FIX] sql: Do no consider a table exists if this is a schema table/view
Before this revision, this is not possible to create a model
with a `_table` set to `domains`, for instance.
2017-07-05 13:47:29 +02:00
Pragnesh Mistry cef90a559a [REM] event: remove useless yml tests
Simply because they test nothing.
2017-07-05 13:18:10 +02:00
Joren Van Onder a287c15bc8 [IMP] account: mimic name_search in account.group tree view
Allow the user to search on a prefix of code_prefix or a substring of
name.
2017-07-05 08:12:49 +02:00
Joren Van Onder 38c055c325 [IMP] account: allow searching on code_prefix or name on account.group
Inspired by name_search on account.account. Allow the user to search
on a prefix of code_prefix or a substring of name.

Fixes #17926
2017-07-05 08:12:49 +02:00
Dhawal Limbuwala 02c251c92b [IMP] account, usability: action buttons on paid invoices
keep send by email, print invoice button visible when invoice is paid 
Was PR #16882
2017-07-04 17:25:39 +02:00
qdp-odoo 7c0822c026 [IMP] account, usability: improve search view of journal items.
* emphasize on important search criteria: on partners, accounts, journal
* search on move name is important as well but there is a menuitem dedicated for that
* search on taxes is less important
2017-07-04 17:04:53 +02:00
hch-odoo 4e593abb2f [IMP] account: Show cancel button only when account_cancel is installed
Because 'Allow Cancelling Entries' option for journals is made available only when the 'account_cancel' module is installed

Was PR #17216
2017-07-04 16:37:30 +02:00
Denis Vermylen 6f4a40ab67 [FIX] website_project: default search on tasks
set default search to 'content' as expected.
2017-07-04 15:45:31 +02:00
Denis Vermylen 232a44a31d [FIX] sale: missing variable in 'Send by email' template
doc_name was accidentally removed at 5a6f03a1ce.

Shame.
2017-07-04 15:40:54 +02:00
Haresh Shyara 2580cd635d [FIX] website_sale: Use new field name on website settings onchange 2017-07-04 14:21:02 +02:00
Kishan Gajjar aaeef14903 [IMP] web_editor, website(_*): show all snippets even if module is not installed
* mail_channel, mass_mailing, twitter, event

- t-install attribute holds the technical name of the module that
  needs to be install to use a particular snippet.

- Disable the drag & drop feature for these dummy snippets.

- Move some images to website module.

- Installed snippets display at the top of the list.

- Hide not-installed module snippets if user don't have rights to install module.
2017-07-04 10:54:20 +02:00
Khoi Nguyen 79c9f0a7a5 FIX web: clear cache after 'reload' client action
If the 'reload' action is triggered right after a view change, the
latter will only be effective if we refresh the page at the browser
level. To overcome this, we clear the cache every time the 'reload'
action is triggered.
2017-07-04 10:31:09 +02:00
Fabien Pinckaers 5a97afcce1 [FIX] scaffold: small fix in template 2017-07-03 16:33:26 +02:00
Richard Mathot c47c52bfd9 [FIX] base: fetch gravatar images only from views
Before this commit, at each partner creation (including data import,
RPC import and tests) Gravatar server was polled, slowing down partner
batch import.

We then enable this feature only where it is needed: when creating a
partner from a view.
2017-07-03 15:04:29 +02:00
qsm-odoo 42621febc1 [IMP] website_theme_install: optimize animation
Following commit 828c7c3da9:
the kanban record animation when a theme is hovered was blurry with
chrome and laggy with firefox (with linux at least). This commit
removes the scale part of the animation which was the cause of this.
2017-07-03 13:36:46 +02:00
Xavier Morel 9a07a4599c [FIX] doc warnings
* add Sphinx 1.6 compatibility (use app.set_translator when
  available as in that case programmatically setting
  html_translator_class is broken)
* fix a bunch of code block lexers to avoid warnings & get better
  coloration
* add a few options which were referred to without being actually
  defined
* fix some rST formatting
2017-07-03 11:49:03 +02:00
stefanorigano 828c7c3da9 [IMP] website_theme_install: new design
- Handle vertical screenshots
- If a theme is installed, show it first, hide buttons and use a
  specific design
- If no screenshot has been defined, show the cover (or the icon if no
  covers has been defined neither)
- Show theme's name and category
- Allow to filter by category
- Design grouped layout
2017-06-30 17:28:42 +02:00
stefanorigano 8dfc757386 [IMP] theme_bootswatch, theme_default: add screenshots 2017-06-30 17:28:42 +02:00
Martin Trigaux 198d88748e [FIX] pos_*: remaining bad manifests 2017-06-30 16:52:07 +02:00
Martin Trigaux 587b32bcca [FIX] various: badly indented manifest titles
Revealed by ec7b08d1
2017-06-30 16:26:39 +02:00
Martin Trigaux ec7b08d1ff [FIX] base: check description content
Some may say that fe346fa0 made the test fail but this is an illusion
2017-06-30 15:25:44 +02:00
Yenthe V.G fe346fa021 [REM] stock: remove duplicated module description
The proper description is in static/description

Closes #17873
Fixes #3846
2017-06-30 14:43:00 +02:00
Jérome Maes 66bd45a750 [MERGE] website_*: new website chatter
This commit brings a new frontend chatter.
The old one displayed all message on the website
page, and that could be very slow when many many
messages are posted on a document.

The new chatter is more dynamic: we introduce
a pager, to fetch and display only a few messages.
It also still support to post a message if you are
not logged in, using a token mecanism (see
website_quote).

Moreover, a better integration with rating: in the
eshop, when posting a comment, the visitor can add
a rating value (stars).
2017-06-30 11:08:31 +02:00
Jérome Maes 870b51134d [IMP] website_slide: use classical chatter
Slide provided a chatter where you can post message as
public user. We decided to drop that feature in order
to avoid spamming.
Like for all other document, you must at least, be portal
user to post a comment.
Reusing the standart chatter highly simplify the code.
2017-06-30 11:07:01 +02:00
Jérome Maes 760c677d5c [CLN] rating: remove deprecated stuffs, since they are integrated in website_rating 2017-06-30 11:07:01 +02:00
Jérome Maes 548126f1f6 [IMP] website_mail: use access right rather then hardcoded domain 2017-06-30 11:07:01 +02:00
Jérome Maes 0339264d11 [IMP] website_*: adapt website modules using frontend chatter 2017-06-30 11:07:00 +02:00
Jérome Maes ccf869a83e [ADD] website_rating: generic rating management on chatter frontend
Extend new dynamic chatter to manage rating
when posting comment.

The model should inherit of rating.mixin and
its frontend chatter should allow rating to enjoy
star widget and rating card.

This is more generic : stats, rating, ... are manage
in one place (this module) for all document.
2017-06-30 11:07:00 +02:00
Jérome Maes f447e9679f [IMP] rating: message_post with rating value
rating module provide now post a message with a
rating value, though `message_post` method.
'mail.message' also has now a `rating_value` field
to ease searching and filtering.

This will help the ecommerce (and other website modules)
to post a comment associate with a rating.
2017-06-30 11:06:32 +02:00
Jérome Maes d79678fdd5 [IMP] website_mail: make the frontend chatter lazy
Message are now fetched and display using javascript
to optimize performance.
Also the chatter is completely rewrite : add pager,
filter possiblity, ...

This commit is mainly technical: posting feature does
not change. Only the display with pager is new.
The goal is also to prepare frontend chatter for a
better integration with rating widget.

The mail.thread mixin is extended to manage the field
website_message_ids (display all messages that can be
seen on frontend by user (employee or not).

When fetching or posting message, a check is done to see
if we need to do it as sudo(). website_mail implement posting
messages with token or sha_in (using in website_quote).
The same verification is now done when fetching messages, via
'_special_access_object' method.
2017-06-30 11:06:32 +02:00
Jérome Maes 890e665b88 [IMP] website_quote: clean page style 2017-06-30 11:06:32 +02:00
Jérome Maes 56ed99cff5 [IMP] website_mail: extends mail.thread mixin to manage website messages
mail.thread mixin will (re)provide the field 'website_message_ids'.
Models can redifined its domain, since it can differ a bit (blog, forum,
... are not the same).
Even if the domain can differ, we still keep it on the mixin since
it will be required for the new chatter frontend (see following
commits).
2017-06-30 11:06:32 +02:00
qdp-odoo 5967600296 [IMP] account: implement account.account hierarchies
This information will be used by account.report to render accounts in hierarchies.

Was PR #17367
2017-06-29 17:05:19 +02:00
Olivier Colson 414ea47fd5 [IMP] purchase: Added selection field 'module_account_3way_match' in purchase setting to (un)install the module account_3way_match which is created in enterprise.
+ made some refactoring in order to plug correctly this new module.
2017-06-29 14:52:56 +02:00
dbh 22c94287dd [IMP] website_sale: make form match website_form_editor structure
- Labels are now left-aligned in xs
- col-md-* sizes of newly added field were not the same

Note: forms should be reviewed to have a proper bootstrap structure and
website_form_editor should be smarter (see task-34451)

task-31510
2017-06-28 16:19:40 +02:00
Raphael Collet b8cf940247 [ADD] base: new wizard to uninstall a module (#17284)
The "Uninstall" button on the module form no longer changes the state of
modules, so that cancelling the wizard will not unexpectedly perform the
uninstallation.  The uninstallation is performed only by clicking on the
"Confirm" button on the wizard.

Moreover, the wizard provides clearer information about the impact of the
uninstallation: what apps/modules will be uninstalled and what documents
(models) will be lost.
2017-06-28 15:36:17 +02:00
Mitali Patel 026f9ce085 [FIX] mrp: Fix typo 'grousp' -> 'groups'
Prefetcion certailny does have it's prace
2017-06-28 11:46:27 +02:00
Laurent Smet 09296e74e9 [IMP] account: show payments on invoice report.
Each time the invoice is printed, it shows an updated remaining amount on the invoice. The first print, though, is kept as canonical reference as attachment.

Was PR#16343
2017-06-28 11:43:32 +02:00
Laurent Smet 8e230ae25d [FIX] base/report: fix attachment creation without attachment_use
If attachment_use is false and attachment_name specified, the attachment
is not created.
2017-06-28 11:43:32 +02:00
Xavier Morel 6ad587dc8f [FIX] db restoration existence check
5ee9ec7d removed bool(Connection), turns out db restore still used it
but muted the logger so that was hard to notice in the logs.
2017-06-28 10:05:33 +02:00
Ankit Joshi 16ebec2324 [FIX] http: avoid crash in web/database/selector when selecting invalid database (#17830) 2017-06-27 16:52:20 +02:00