- Sep 18, 2014
-
-
Simon Lejeune authored
-
- Sep 17, 2014
-
-
Fabien Meghazi authored
-
Denis Ledoux authored
-
Raphael Collet authored
When a one2many field uses an integer field as inverse, the onchange method on the second model may receive a dictionary for the value of the integer field. This is because the client expects that field to be a many2one.
-
Fabien Meghazi authored
-
Olivier Dony authored
If the server was started without -i or -u and happened to initialize a fresh database, auto-installed modules that depend on `base` only would stay in status "to install" without actually being installed (until the next installation round was triggered). This was of little consequence in 7.0, but causes a crash in 8.0. Fixes #953
-
Olivier Dony authored
-
Denis Ledoux authored
If so, impossible to uncheck the box in the webclient
-
Denis Ledoux authored
[FIX] orm write: do not try to store computed & stored fields for relational records deleted by *2many fields opw-613772
-
- Sep 16, 2014
-
-
Fabien Meghazi authored
-
Fabien Meghazi authored
-
Fabien Meghazi authored
-
Fabien Meghazi authored
-
Fabien Meghazi authored
-
Fabien Meghazi authored
Refactored and fixed tools.image_resize_image() that converted to RGBA after making thumbnails, resulting in bad looking picture in case the source is in 'P' mode (indexed palette)
-
Fabien Meghazi authored
-
Olivier Dony authored
As the whitespace is stripped when exporting terms to translate, it must be done as well when matching translations at runtime. Fixes issue #1755 partly
-
Olivier Dony authored
The changes for QWeb template translation have introduced res_id values in PO comments for all `#: view:` terms, as the real database id needs to be resolved when loading them. For non-QWeb views this is not necessary and actually caused the terms to be dropped when the res_id could not be resolved. Rather than having a different PO comment format for QWeb and non-QWeb views, we can extend the QWeb hack to force the res_id to 0 for non-QWeb views. Fixes issue #1755
-
Raphael Collet authored
-
Sunil Sharma authored
Distributing our version of pyPdf is not required anymore since we introduced the new reporting tool. In order to keep reports working, the standard python library `python-pypdf` has to be installed instead (through pip or your distribution's package manager)
-
Denis Ledoux authored
-
Raphael Collet authored
The method was expecting that name_get() returns complete and in-order values. Because of this, some records in the recordset could end up without a value.
-
- Sep 15, 2014
-
-
Raphael Collet authored
-
Martin Trigaux authored
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field. The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
-
Cecile Tonglet authored
This feature hasn't been implemented because of complexity problems. Therefore, we should not allow the developer to use it.
-
Christophe Simonis authored
[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previous forward-port) also add tests of `_group_by_full` functionality
-
Denis Ledoux authored
-
- Sep 12, 2014
-
-
Daniel Reis authored
Showcase the feature by moving auth_ldap's description to README.rst (Manual rebase of PR #1759)
-
Olivier Dony authored
-
- Sep 11, 2014
-
-
Raphael Collet authored
When computing a field on a recordset, a subset of the records may be missing or forbidden by access rules. In that case, evaluate the compute method record by record, and mark failed records as such in cache.
-
Raphael Collet authored
The method onchange() executes onchange methods in cascade. Suppose onchange() is called and a field F=1 in the form. If an onchange method set F=2, that value is put in the result variable. If another onchange method set it back to F=1, the binding F=2 must be removed from the result variable. Fixes #2309
-
- Sep 10, 2014
-
-
Martin Trigaux authored
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part. Instead of using a limited regex, use the parseaddr method from email library. Fixes lp:1272610, opw 607683
-
Raphael Collet authored
Cascading onchanges can be caused by a related field computed in cache. This causes a bug in sale order lines, were setting the uom field forces reading product fields, which are inherited from product templates. The inherited fields are computed as related fields, which marks the product record as dirty. This subsequently triggers an onchange on the product field, which resets the uom field!
-
Denis Ledoux authored
-
Raphael Collet authored
This fixes issue #2146. The inverse of a one2many field can be an inherited field (_inherits). In that case, we cannot read its value with a simple database query. Instead, we let the related field read it, but for performance considerations we disable the prefetching of other fields.
-
- Sep 09, 2014
-
-
Simon Lejeune authored
As the context was not transferred, it was never translated.
-
Denis Ledoux authored
-
Christophe Simonis authored
-
Christophe Simonis authored
name_get() must return a value for each ids and keep order of ids.
-
Raphael Collet authored
-