Commit Graph
110692 Commits
Author SHA1 Message Date
Denis Vermylen 689d6d6829 [IMP] website: add signup option in website settings
This commit duplicates the General settings' User Signup options in
the Website configuration, with a clear description of the options.

We also remove the unnecessary usage of safe_eval in auth_signup's
res_config.py. As stored values are repr values of a boolean field
just comparing the string values is sufficient. There is no need to
use safe_eval as it should be used only when necessary.
2017-07-06 12:53:39 +02:00
Khoi Nguyen 5854bb7d12 [IMP] web: Add disableDrop option to dragAndDrop
In some situations, it would be desirable to be able to attempt a drag
and drop, without actually triggering the dropping action. As an
example, we would like to see whether dragging a new field in studio
ensures that a class 'o_web_studio_nearest_hook' be assigned. This can
only be tested *before* the new field is dropped.

This commit adds an optional argument 'disableDrop' to the
dragAndDrop method, and sets it by default to false. The dropping action
will then only be triggered if the aforementioned parameter is set to
false.
2017-07-06 11:50:35 +02:00
Denis Ledoux 70e1efd41e [FIX] product: non-random default variant attribute order
Before this revision, if the user did not re-order
the sequence of its attribute values manually,
the attributes in the variant name were ordered
randomly.
e.g. On the ipod, one time it could be the color before
the GB, one time the other way around.

Besides, this could lead to an issue in the pivot table,
as mentioned in the revision
834b38a84d.

However, on the contrary on what is done in the above revision,
these attributes must not be ordered on their value name,
but rather on their sequence, and if they have the same,
on their attribute, so the order is always deterministic.
2017-07-06 10:41:00 +02:00
Denis Ledoux 4613455d45 Revert "[FIX] stock : traceback pivot view for stock moves"
This reverts commit 834b38a84d. It also reverts 003328ec82
that improved the sorted.
2017-07-06 10:40:42 +02:00
Fabien Pinckaers d84657813d [IMP] website_links: reverting latest commit: auto_install 2017-07-06 09:39:32 +02:00
Fabien Pinckaers dad3055870 [IMP] website_links: no auto install 2017-07-06 09:38:20 +02:00
Fabien Pinckaers f2d492fac3 [IMP] mail: show late+today activities only in counter 2017-07-06 00:18:45 +02:00
Fabien Pinckaers 34da40a44d [IMP] acitvity filters cleaning 2017-07-05 23:32:23 +02:00
Fabien Pinckaers cfd5f47493 [IMP] base: no image (and kanban use default values 2017-07-05 22:06:41 +02:00
Fabien Pinckaers a099b4955a [IMP] account: degree of trust hidden on partner form 2017-07-05 21:49:25 +02:00
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