Commit Graph
10 Commits
Author SHA1 Message Date
app d6ead3dbe0 [FIX] base: show attachments of archives records
When testing the access rights, attachments associated with
archived/inactive records are inadvertently being hidden due to
the default ORM behavior of search.

Patch simplified while merging.

Closes #14366
2016-12-09 11:51:21 +01:00
andreparames 1cd9c01b42 [FIX] Wizard is preventing the user deletion
When deleting users which have recently had their password changed, the reference from the password change wizard throws a validation error.
2016-01-26 15:01:01 +00:00
app ae9cd5a221 [FIX] report: fetch user with context
When rendering QWeb reports, the user is being browsed without the
context, which means that any translatable field being accessed
through it will be in English.
2015-12-29 11:22:12 +01:00
andreparames 6b9b2274e5 [FIX] doc: http.route auth=public instead of admin
Removed the `admin` option, since it was removed on 04a5264, and added the
option `public`.

Fixes #9688
2015-12-11 10:52:52 +01:00
andreparames 067fd2f342 [FIX] models: don't assume ids are ints in sorted()
Some models (e.g. calendar.event), use "virtual" ids which are not represented
as integers. It was not possible to use sorted method on those models as calling
int() is failing.

This commit fixes the method, making it agnostic to the type of the
'id' member variable.

Fixes #7454
2015-07-08 15:00:32 +02:00
andreparames dae0d407c0 [ADD] base: LGPL as possible module license
Keeping in mind than the AGPLv3 core still propagates the license to other
modules.
Fixes #6914
2015-07-02 11:50:40 +02:00
andreparames d4aa2decde [FIX] web: onchange compare changes using === operator
The onchange handler is doing a weak comparison between the values received from
the onchange() method and the current field value, which leads to a falsy value
such as "0000" being treated as equal to False.
This patches changes the operator to enforce non-coercive equality.
Fixes #6405
2015-04-23 16:02:21 +02:00
andreparames 7ada8734bc Signed CLA 2015-04-23 16:02:20 +02:00
andreparames 0908376221 [FIX] Load translations for selection fields
Selection fields in the new QWeb reports aren't being translated, because the context with the language isn't being passed.
2014-08-28 16:41:45 +01:00
andreparames 5b932ec98b Merge 8083afe7c3 into 736c5dd87e 2014-07-14 11:55:01 +00:00