- Sep 02, 2014
-
-
Simon Lejeune authored
[FIX] config.py: do not use appsdir to define the user's data dir when he has no home directory on unix Force it to be '/var/lib/(appname)' in this case
-
Raphael Collet authored
When a relational field is assigned in an onchange, its inverse field is updated in cache. Reading the current value of the inverse field may be costly, for instance in the case of a one2many field with thousands of records as a value. Instead, put in cache a SpecialValue that reads and updates the field; it will be triggered only when it is accessed.
-
Martin Trigaux authored
When reading a one2many field, the inverse mapping of the lines (matching m2o -> lines of corresponding record) was instantiating each line and then triggering the prefect of fields. To improve the performances, the inverse mapping is done in sql to avoid triggering the prefetching.
-
Xavier Morel authored
incomplete, incorrect, committed for testing
-
- Sep 01, 2014
-
-
Yannick Vaucher authored
-
Christophe Simonis authored
-
Xavier Morel authored
* fix some docstrings so they can be autodoc'd * intersphinx mapping (and links to) werkzeug and python
-
- Aug 31, 2014
-
-
Antony Lesuisse authored
Split the ternary field application in active and show_customize, all four possible value are now needed for the customize theme popup.
-
- Aug 29, 2014
-
-
Christophe Simonis authored
record rules. Partial revert of commit 80017b04. Conflicts: addons/web/static/src/js/chrome.js
-
- Aug 28, 2014
-
-
Christophe Simonis authored
-
André Paramés authored
Selection fields in the new QWeb reports aren't being translated, because the context with the language isn't being passed.
-
Xavier Morel authored
-
- Aug 27, 2014
-
-
Leonardo Donelli authored
Fixes #811
-
Fabien Meghazi authored
-
- Aug 26, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Denis Ledoux authored
without having the rights to read ir.config_parameter
-
Denis Ledoux authored
-
- Aug 25, 2014
-
-
Christophe Simonis authored
-
Cecile Tonglet authored
-
Cecile Tonglet authored
This makes no sense and can generate errors if you try to purge ir.model.data of not existing records.
-
- Aug 24, 2014
-
-
Raphael Collet authored
-
- Aug 22, 2014
-
-
Raphael Collet authored
-
Raphael Collet authored
The selection of records in cache for prefetching was moved to method _read_from_database() by xmo at rev 785018cc in order to fix an access right bug. But this introduced an issue: to explicitly avoid prefetching, you should use read() instead of browsing records. We revert the change by xmo, without reintroducing the bug (which apparently was fixed by another way).
-
Raphael Collet authored
Fixes #1719
-
Raphael Collet authored
-
Raphael Collet authored
-
Raphael Collet authored
-
Raphael Collet authored
-
- Aug 21, 2014
-
-
Christophe Simonis authored
-
Raphael Collet authored
-
Martin Trigaux authored
When a new ir.model.field is created, add the new field in the fields_by_model (cache of custom fields). This is required as the __init__ method would not retrieve the new field if fields_by_model is already set. Otherwise, the _columns would not contain the new fields and we could not access it without restarting the server (e.g. the installation of a module adds ir.model.fields and use it in the a view.
-
Binjal Desai authored
-
Martin Trigaux authored
Comparing an id and a browse record will always fail so the exception would have always been raised when changing a model (e.g. updating a module with custom fields).
-
Raphael Collet authored
-
Thibault Delavallée authored
through a server action, try to correctly set the value to write on a given fields according to its type. For example many2one fields should receive an int, not a unique containing the id of the new value.
-
Thibault Delavallée authored
[FIX] ir_actions: server action: check the validity of write_expresison only if defined. Also check for the related model only if set in the onchange.
-
- Aug 20, 2014
-
-
Christophe Simonis authored
-
Xavier Morel authored
It turns out TTFontFile can throw not only TTFError (generic) and KeyError, but also ValueError (unknown cmap) and maybe others. Just catch Exception, warn that the font couldn't be loaded and report why.
-
Fabien Meghazi authored
Sometimes a node can't be translated using the website Translate mode. The translation is added to the Application term list but the id of the view is not correct. This happen when a translatable node is a children of a inherited node whose branding could not be kept. data-oe-source-id was left over because it was not registered in MOVABLE_BRANDING
-