Commit Graph
106440 Commits
Author SHA1 Message Date
Damien Bouvy 4b831fb4b9 [FIX] website_quote: browse acquirer with sudo in all cases
Somehow in the migration to the new api, it was decided that the
acquirers would be browser as sudo only for token access. This caused
portal users to have a crash when trying to view their quotation since
some fields from acquirers are set the specific groups for security.

This commit reintroduces the old behaviour, which was to browse as
SUPERUSER in all cases for the rendering of the buttons.
2016-10-05 22:31:11 +02:00
Christophe Simonis 780869879b [REL] 10.0 \o/ 2016-10-05 21:00:09 +02:00
Christophe Simonis 18cdce919b [FIX] packaging: correct docker build name 2016-10-05 20:59:43 +02:00
Olivier Dony f18def7175 [FIX] web_settings_dashboard: stop depending on old numbering scheme 2016-10-05 17:28:15 +02:00
Denis Ledoux 60a59b607a [FIX] mail: handle undefined customer_email_data
`customer_email_data` can be undefined.
It must therefore be checked before testing
its length

e.g. use the /helpdesk command with an anonymous visitor
of the livechat

opw-690301
2016-10-05 16:46:55 +02:00
qsm-odoo fb363b572b [FIX] *: adapt odoo interface violet
Change color #a24689 to #875A7B

Commit https://github.com/odoo/enterprise/commit/8ac1c19fac7615fecd51e670f798d13158a4e53c
changed the odoo interface violet by changing the main LESS variable
but forgot there was many direct occurences in XML/HTML/... (for
example for the mobile browser color).

Even if it's community the odoo interface violet is used at many places
(module description, XML demo data, ...).
2016-10-05 10:29:00 +02:00
Denis Ledoux 3babd230b0 [FIX] sale: tour, remove tip which is about another module
A customer can confirm a quotation only once `website_quote` is
installed. Without it, this isn't possible, and by default
this is not installed with the installation of the `sale` module.

Courtesy of fgi@odoo.com.
2016-10-05 10:02:34 +02:00
qsm-odoo b970eaac15 [FIX] website: set the correct height for welcome message
Commit 48a1eaf792 adapt the welcome
message on website so that it fits the page height. But this does
only worked for large screens as the height was forced to main
height... which is smaller than the default welcome message height
on small screen. The fix only had to use min-height instead of height.
2016-10-04 21:49:44 +02:00
qsm-odoo 9337c7d4e2 [FIX] website: properly reload editor after menu edition
Commit 5f98040430 in saas-12 changed
some "saved" event to "save" event but forgot to adapt new features
which depend on this in 10.0 after forward port.
2016-10-04 21:25:19 +02:00
qsm-odoo 0175395c13 [FIX] website_blog: prevent customization of blog post outside of blog
The blog_cover JS code is only available on blog pages. So the option
can only be activated on blog pages (which was not the case if the
snippet latest post was used on a random page).
2016-10-04 17:04:40 +02:00
qsm-odoo 6c284a18d4 [FIX] web_editor: allow website_animate to preview image animation
Animation preview on images did not work as the web_editor stopped
every potential animation when an image entered edition. As the
behavior does not seem useful as there is no infinite animation which
is possible with standard odoo (and even if it was the case, it would
not be too strange that the animation continues), the feature is
removed with this commit.
2016-10-04 16:43:34 +02:00
qsm-odoo 4b6bbbe5e6 [FIX] web_tour: adapt tip color to new brand color
Since commit 8ac1c19fac7615fecd51e670f798d13158a4e53c the odoo brand primary color
changed, which also changed the color of tips. The problem
was that they lose a lot of contrast in the appswitcher.
2016-10-04 10:25:05 +02:00
Valencia Rodrigues Sah 10dcec1e9a [IMP] account: It is better to order also by 'id', esp. when 'sequence' could match among multiple records. 2016-10-04 10:24:03 +02:00
Nicolas Lempereur 886751e2c1 [IMP] base: upstream_dependencies called from new api
In saas-12 and up, upstream_dependencies returns:

- when called from old API : a list of ir.module.module ids
- when called from new API : a recordset of ir.module.module

From 9.0 to saas-11, when called from new API it would also returns a
list of ids which can bring needless inconsistencies.

With this commit when called from new API a recordset is returned.

opw-690015
2016-10-04 09:29:31 +02:00
Olivier Dony f9da4970ab [MERGE] Forward-port saas-11 up to eb6b256f99 2016-10-04 01:20:17 +02:00
Olivier Dony 48b4da63e7 [IMP] res.users: remove special case for sudo() in read_group
Neither the super-user nor the sudo() mode should need
to use read_group() on any of the private user fields.
So we can simplify the code and remove this special case.

The same is not true for read(), though.
2016-10-04 00:21:09 +02:00
Olivier Dony 2e71496695 [FIX] hr_expense: order sheets even when not paid 2016-10-04 00:21:09 +02:00
Olivier Dony eb6b256f99 [MERGE] Forward-port 9.0 up to b64b9619f8 2016-10-04 00:16:09 +02:00
Olivier Dony b64b9619f8 [MERGE] Forward-port saas-6 up to 447179c2d3 2016-10-03 23:59:12 +02:00
Olivier Dony 447179c2d3 [MERGE] Forward-port 8.0 up to 3d55aff1c8 2016-10-03 23:53:23 +02:00
Olivier Dony 3d55aff1c8 [FIX] convert: properly catch Value/Name Errors 2016-10-03 23:41:44 +02:00
Olivier Dony ba7880a249 [FIX] base: force local cursor in case of mismatch 2016-10-03 19:48:09 +02:00
Olivier Dony 12634e1227 [FIX] base_import_module, tools: raise a clear error for unsupported file types
Also restrict XML data attribute evaluation context
even for real module data files. This will prevent
accidentally depending on context parameters that
would not be available inside base_import_module.
2016-10-03 19:48:09 +02:00
Thibault Delavallée 0b87f76628 [IMP] mail: separate management of mail routes from redirection
Move code related to redirection in its own class method. This way all
controllers perform their own actions and checks before calling the
redirection itself. Moreover it is necessary for some controllers to be
able to call the redirection independently outside of the mail/view
controller scope.

This commit also fixes some links generated for mail notification email
buttons. Assign and (un)follow buttons now effectively use the link helper
when generating the associated URL instead of manually crafting it.

Custom routes for notification buttons used in HR and CRM are added.
Indeed in order to be able to fine-tune the behavior called by those
buttons, using dedicated controllers is simpler than trying to use
a generic one. As there are few custom buttons in notification emails
using dedicated controllers does not lead to a code overhead.
2016-10-03 19:03:50 +02:00
Martin Trigaux 859bcd45c6 [I18N] export sources terms to reflect planner update
in saas-13 as it's still where Transifex watches .pot files
2016-10-03 19:03:18 +02:00
Christophe Simonis 87b12bea89 [FIX] account: use renamed decimal.precision (see 4b60d5c1bd) 2016-10-03 18:48:48 +02:00
Parth Gajjar a4fcd26e25 [IMP] web: added user name in session if for used in mobile sign up 2016-10-03 18:20:44 +02:00
Parth Gajjar 61a07c9966 [IMP] web: improved image widget for mobile
- Before it need a tap to show options
  - And Tap area was not enough for mobile
2016-10-03 18:20:34 +02:00
Dharmang Soni ef96bd0669 [ADD] web: Added database list controller 2016-10-03 18:20:25 +02:00
Olivier Dony 0ea7842c5e [FIX] base: force local cursor to avoid mismatch 2016-10-03 17:42:37 +02:00
Frédéric Gilson ad8af74477 [FIX] website,account,website_sale: Enhance and clean website and ecommerce planners
Lots of typos, wrong links, outdated content.
2016-10-03 16:59:38 +02:00
Olivier Dony 8aba05dc08 [FIX] base_import_module, tools: raise a clear error for unsupported file types
Also restrict XML data attribute evaluation context
even for real module data files. This will prevent
accidentally depending on context parameters that
would not be available inside base_import_module.
2016-10-03 16:57:00 +02:00
Denis Ledoux 48f6b8278e [FIX] website: fix library incompatibility for moves of menus
Since the library nestedSortable was updated to the release 2.1a,
at the below revision:
https://github.com/odoo/odoo/commit/aa19d9edd02756d87056a44340e36568b3183e21
It was no longer possible, in the front-end, to move the menus:
Re-sequence them, put one below another, ...

Indeed, in that piece of code, `.item_id` was never
set with the new release, while it was the case with the former one.
We replace with `.id`, which looks like to have the same behavior.
2016-10-03 16:56:58 +02:00
Christophe Simonis 366b01f079 [FIX] hr_attendance: get group via xmlid instead of searching via name match (which will not works in other languages) 2016-10-03 16:31:01 +02:00
Denis Vermylen (dve) 9fc91bd354 [FIX] attendance: forgotten rename
couldn't find a group after rename. -> renamed
2016-10-03 16:20:03 +02:00
Denis Vermylen (dve) 2c13736cbf [IMP] attendance: help messages, comments, ...
- improve some help messages
- improve comments
- small refactoring
- add category to group "Manual Attendance"
2016-10-03 15:19:21 +02:00
Denis Vermylen (dve) 64c398c618 [IMP] hr_attendance: rename js and templates correctly
for coherence with menus (that got renamed after code was written) to improve
code comprehension.

Also, attendance is an application.
2016-10-03 15:14:56 +02:00
Christophe Simonis ae1fb33e0e [FIX] base: call correct method to get module icon 2016-10-03 13:13:11 +02:00
Christophe Simonis 858032cb22 [MERGE] forward port branch saas-13 up to 1bb51b5 2016-10-03 11:24:13 +02:00
Christophe Simonis 1bb51b5536 [MERGE] forward port branch saas-12 up to 9dc383e 2016-10-03 11:22:40 +02:00
Christophe Simonis 9dc383e84b [MERGE] forward port branch saas-11 up to 415f1af 2016-10-03 11:16:11 +02:00
Christophe Simonis 415f1af939 [MERGE] forward port branch 9.0 up to 2c5ef3b 2016-10-03 11:14:47 +02:00
Christophe Simonis 2c5ef3b7b0 [FIX] l10n_*: limit tags and taxes migration scripts to 9.0 series 2016-10-03 11:06:37 +02:00
Christophe Simonis d2d1233429 [MERGE] forward port branch saas-6 up to ba790d1 2016-10-03 10:47:55 +02:00
Christophe Simonis ba790d1e27 [MERGE] forward port branch 8.0 up to ca18a16 2016-10-03 10:36:56 +02:00
Josse Colpaert 59c410ac5c [FIX] mrp: _compute_qty does not exist anymore, so needed to replace 2016-10-02 21:14:37 +02:00
Josse Colpaert 831baf7dd2 [FIX] mrp: workorder duration should be updated when updating manufacturing order qty 2016-10-02 21:14:36 +02:00
Josse Colpaert 8ec7c00e1e [FIX] mrp_byproduct: take into account operation where byproduct gets produced
As the field is not shown in the view, it is just done
because the field is still there and easy to do.
2016-10-02 21:12:56 +02:00
Josse Colpaert 157db49d9c [FIX] mrp: in production orders, we don't want the possibility to select phantom BoMs
As the finished move or the one after might automatically split into its components,
it is not a good idea to select a Phantom BoM for a production order, so
this is for the moment, the best way to avoid it.
2016-10-02 21:08:31 +02:00
Josse Colpaert 98c97b03d6 [FIX] mrp: when posting inventory in mo, don't allow to pass stock.move.lots with quantity done > 0, but without lot
It is good to have this check, otherwise
it risks taking whatever lot or creating
a piece without lot if you would by accident
say you did so many quantities but no lot was given.
2016-10-02 21:06:02 +02:00