- Nov 28, 2014
-
-
Sebastien Versaille authored
-
Goffin Simon authored
QWeb monetary widget uses the precision of the currency to know the number of digits to display on a price. The number of digits is based on log10(rounding). For currency with rounding different than 10^x (e.g. in Switzerland 0.05 to allow 5 cents coins only), the number of displayed digits should be rounded up. e.g. log10(0.05) is -1.3, rounded up to 2 digits. Fixes #3233
-
Denis Ledoux authored
-
Antony Lesuisse authored
Closes #3902
-
Xavier Morel authored
fixes #3102
-
- Nov 27, 2014
-
-
Denis Ledoux authored
For instance, when a context was passed to a method, but no lang was defined in the context, it did not tried to fallback to other places where we could have find the user language.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
David Monjoie authored
Without this fix, if you have a new view in a module with active=False, the active tag will be ignore when upgrading the module because of 'update' mode, and the view will be activated by default !
-
- Nov 26, 2014
-
-
Somesh Khare authored
[Fix] ir_translation: fix the problem of base_field object has no attribute model (Maintenance Case:618054) Fixes #3859
-
- Nov 25, 2014
-
-
Olivier Dony authored
This is safer to avoid inadvertently dropping customizations, and does not impact the normal update/uninstall process, which is based on the dependency order.
-
Raphael Collet authored
[FIX] fields: in *2many convert_to_write(), return all fields for new records and dirty fields for existing records
-
- Nov 24, 2014
-
-
Raphael Collet authored
-
Raphael Collet authored
-
- Nov 23, 2014
-
-
Simon Lejeune authored
commit f76d4525 was not actually working: extra keys from config files are not yet into the config options dict at import time. The fix is to move the logic inside the method, like in `find_pg_tool` just below. Also fix the use of `find_in_path` in report.py: the subprocess may also raise AttributeError exception, so instead of listing all the possible ones just re-raise the IOError shallowed by `find_in_path` when the result is None. Fixes #3809 #3811
-
- Nov 21, 2014
-
-
Simon Lejeune authored
The openerp-server.conf now generates the bin_path record, in order to resolve calls to external binaries served in the thirdparty dir. Adpated report.py to use find_in_path and not directly which.
-
Christophe Simonis authored
-
- Nov 24, 2014
-
-
Christophe Simonis authored
-
Xavier Morel authored
* use static imports in java examples to make them terser * inline ``domain`` in java and php example to make examples more self-contained * try to extend/improve Model.write's docstring * add convenience kwarg to fields_get, mostly for user-driven introspection Closes #3689
-
- Nov 20, 2014
-
-
Christophe Simonis authored
-
- Nov 19, 2014
-
-
Denis Ledoux authored
-
Olivier Dony authored
-
Christophe Simonis authored
Fixes #3730
-
Olivier Dony authored
Changing the decimal precision of float fields is a rare operation, while cache clearing occurs fairly frequently. Signaling a full registry change when the decimal precision is changed (instead of a mere cache change) is therefore a better trade-off, and more semantically correct as well. This way we avoid the decimal precision refresh for each invalidation. Registry invalidation implies cache invalidation.
-
- Nov 18, 2014
-
-
Antony Lesuisse authored
return False when calling is_running_as_nt_service from a non adminstrator account.
-
Antony Lesuisse authored
Define a shim signal.SIGHUP on windows to avoid an ifdef in the threaded server loop.
-
- Nov 17, 2014
-
-
Raphael Collet authored
-
Raphael Collet authored
When a failure occurs, or when exiting an assertRaises(), the environment should not contain fields to recompute.
-
Raphael Collet authored
-
- Nov 14, 2014
-
-
Denis Ledoux authored
When an onchange returns a change in a 2many field line (a '1' tuple, update), avoid to return all fields of the *2many field but only the altered field. Otherwise, the web client regard all the fields of the 2many as dirty, and try to write on all fields (even if the value is the same, thus) opw-615062
-
- Nov 13, 2014
-
-
Raphael Collet authored
There was an issue in _setup_fields(): the method invokes _inherits_reload(), which recomputes inherited fields, and invokes itself recursively on children models. This may be problematic if the children models have already been set up. This optimization avoids recursive calls of method _inherits_reload(). In _setup_fields(), first all parent models are set up, then their fields are inspected to determine inherited fields, and their setup is done. This scheme guarantees that inherited fields are computed once per model.
-
Raphael Collet authored
-
Raphael Collet authored
Note that serialized fields are ignored; they are no longer supported, anyway.
-
Raphael Collet authored
-
- Nov 06, 2014
-
-
Raphael Collet authored
Fixes #3272.
-
Raphael Collet authored
-
Raphael Collet authored
-
- Nov 05, 2014
-
-
Olivier Dony authored
Stems from prebiblical commit f083aa2b. Fixes #3480
-
Antony Lesuisse authored
-
Olivier Dony authored
Whenever the longpolling/gevent worker dies, it should be automatically restarted by the prefork server, just like it happens for HTTP workers.
-