Commit Graph
127612 Commits
Author SHA1 Message Date
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
Simon Lejeune 0dc03fae2c [FIX] packaging: version info 2016-10-02 15:26:18 +02:00
Odoo Translation Bot ca18a1699c [I18N] Update translation terms from Transifex 2016-10-02 02:57:59 +02:00
Odoo Translation Bot b33415f3bd [I18N] Update translation terms from Transifex 2016-10-02 00:35:04 +02:00
Jeremy Kersten d97f8f5708 [FIX] website_payment: don't add link manage payment if no provider
Before this fix, the link was always present, even if no acquirer payment was configurated to allow tokenization.
2016-09-30 19:20:43 +02:00
Jeremy Kersten 768df3a972 [IMP] website_sale: position for next button float right in extra step
Stay coherent with others buttons from eCommerce.
2016-09-30 19:20:42 +02:00
Jeremy Kersten b6406e8923 [IMP] website_sale: add payment terms page and update checkout.
Old terms feature display the default terms from company.
But if you have more than that 10 words, it was just unusable.
Now, we just add a link to a page.
2016-09-30 19:20:42 +02:00
Jeremy Kersten 8875442c81 [IMP] website_sale: fix layout issue
The payment method and pay now button was not in the left part.
So if we only have one line in cart, a big margin top was visible.
2016-09-30 18:58:20 +02:00
Jeremy Kersten 59849eecc8 [FIX] website_sale: add zoom icon on hover picture 2016-09-30 18:58:20 +02:00
Denis Vermylen (dve) 084e840016 [FIX] hr_attendance: rename setting correctly
Company Screen menu was renamed to Kiosk Mode.

This commit renames the associated setting.
2016-09-30 18:50:22 +02:00
Manuel Vázquez Acosta 5b692df1b1 [FIX] mail: Ignore case for mail aliases.
When receiving new mail (not replies) to an alias we should not take
case into account.

This also homogenize the treatment of local parts.  For instance, lines
967 and 980 convert the local part to lower case to avoid
case-sensitivity issues.

Also `mail_alias` normalizes alias names by lowering case and finding,
if necessary to make it unique, a suffix to alias name provided.

From RFC 5321, section 2.4:

  > Exploiting the case sensitivity of mailbox local-parts impedes
  > interoperability and is discouraged

Closes #334
Closes #13037
2016-09-30 18:41:39 +02:00
qsm-odoo 1142a56ba9 [FIX] website_mass_mailing: restore missing image files + snippets ref
Commit 9676ceec02 removed/replaced image files in mass_mailing
module but two of them were still used by website_mass_mailing.

This commits adds these two images in website_mass_mailing module and
use a more standard convention to define associated snippets and
link them in the snippet panel. Also lint JS files.
2016-09-30 18:07:14 +02:00