Commit Graph
4622 Commits
Author SHA1 Message Date
Cédric Krier e82df70a75 Restore historically deleted record as deleted
issue4260
review14591002
2014-10-18 09:17:09 +02:00
Jordi Esteve a7f08d8606 Update es_ES translation 2014-10-17 19:22:21 +02:00
Albert Cervera i Areny 21ab58226d Update Catalan translation. 2014-10-17 18:18:55 +02:00
Bruno M. Villasanti 9b196347d1 Update translation for es_AR 2014-10-16 23:22:52 -03:00
Mathias Behrle e03135c247 Update translation for de_DE 2014-10-16 22:53:37 +02:00
Cédric Krier b2f5f995dd Update fr_FR translation
review5691002
2014-10-16 15:50:20 +02:00
Venceslav Vezjak 76d199bdcd Update sl_SI translation 2014-10-16 09:47:18 +02:00
Oscar Alvarez 5dab9af39d Update Tryton es_CO translation 2014-10-15 06:23:30 -05:00
Fabián Calle aa810dbf1d Update some translations for es_EC 2014-10-08 19:37:23 -05:00
Cédric Krier b00094bb83 Avoid double evaluation from inherit with different model
safe_eval forbid to evaluate '__' but PYSON encoded contains such strings. So
with inherit from different model, the XML attributes could already been
encoded we should prevent to evaluate them a second times because it will fail.

issue4228
review5681002
2014-10-06 22:24:16 +02:00
Cédric Krier 28e4d67df8 Use new cursor to check access in ModuleInstallUpgrade
check_access take a lock on many tables and so it prevents those tables to be
modified by the installation/upgrade process as far as the cursor is not
closed.

issue4223
review13571002
2014-10-06 22:22:08 +02:00
Fabián Calle 231a4a8826 Add translation for es_EC 2014-10-02 11:01:30 -05:00
Cédric Krier a8fcf1fc88 Remove old reference to -i option 2014-09-30 11:09:06 +02:00
Cédric Krier 0602387444 Keep fields.depends over multiple setup calls
Since changeset 690d629e0050, the field is always an original copy so it loose
the depends set on previous setup calls. The depends should be comptute all
over the mro.

issue4200
review13531002
2014-09-30 09:37:26 +02:00
Cédric Krier 5ce5fb79d3 Use literal_eval instead of safe_eval whenever possible
CVE-2014-6633
issue4155
review10521002
2014-09-29 17:29:25 +02:00
Cédric Krier ccda215615 Prevent double underscore in safe_eval
CVE-2014-6633
issue4155
review5601002
2014-09-29 17:23:37 +02:00
Cédric Krier 278d6ee05a Fix restore of database
- Use a transaction to execute query
- Fix usage of update

issue3951
review14531002
2014-09-21 12:28:31 +02:00
Cédric Krier 790884f984 Fix typo in table name for ir.module
issue3951
review14531002
2014-09-21 12:27:55 +02:00
Cédric Krier 87e0c4dea0 RawConfigParser.getboolean raise AttributeError in case of missing option 2014-09-19 19:27:38 +02:00
Cédric Krier 029284816b Log error if timezone is not UTC
issue4192
review6521004
2014-09-19 18:46:02 +02:00
Nicolas Évrard beb8398c36 Add image widget to rn[gc]
issue3729
review3991003
2014-09-19 17:11:28 +02:00
Nicolas Évrard c9b20c3216 Define a default value for configfile
issue4164
review7571002
2014-09-19 11:55:55 +02:00
Cédric Krier 3149dd745e Protect config accessor about missing section
issue4189
review7591002
2014-09-18 19:16:27 +02:00
Cédric Krier baa50526ba Ensure __and__/__or__ of PYSON is always boolean
issue4187
review9731002
2014-09-18 19:14:37 +02:00
Cédric Krier 62f76d5815 Fix infinite loop in check_access of ir.attachment
introduced in changeset a382ef9185e7
2014-09-18 10:52:21 +02:00
Cédric Krier cc8ef0259e Typo in topic name of setup-database 2014-09-18 09:32:28 +02:00
Cédric Krier 2aa2ee994d Add pre-validation on button
issue4121
review8511002
2014-09-17 22:05:44 +02:00
Cédric Krier a2c8111f26 Use context to check model and field access
* Model and Field access checked only if _check_access is set
* Add check_access to RPC
* Add check_access to Wizard and Report

issue4081
review8481002
2014-09-17 21:43:53 +02:00
Cédric Krier 1fa2b084d9 Remove init option
issue4177
review6521003
2014-09-17 00:43:44 +02:00
Cédric Krier 096c50448e Monitor also the configuration file
issue4157
review7561002
2014-09-13 15:22:01 +02:00
Cédric Krier 16aa948e3d Add support for domain_<field name> method
issue4126
review6501002
2014-09-13 15:14:56 +02:00
Cédric Krier fb3eb72d16 Fix wrong is_module_to_install test introduced in changeset b0a271549ddd 2014-09-13 13:56:43 +02:00
Cédric Krier 5afaf53503 Add documentation about database setup
review7571003
2014-09-13 12:19:20 +02:00
Cédric Krier 7b3757f5a1 Merge update and init options and improve help message
- deprecates the init option
- replace the keyword "all" by an option "--all"
- rename debug into dev like in the client

issue4165
review7571003
2014-09-13 12:17:13 +02:00
Nicolas Évrard f7611654a6 Fix inverted boolean logic introduced in changeset 01399128964f 2014-09-08 17:51:13 +02:00
Cédric Krier fc5dab5777 Missing separator between installation and configuration topics 2014-09-07 19:09:12 +02:00
Cédric Krier 56e040dd31 backend.name is a function since changeset 01399128964f 2014-09-07 00:27:56 +02:00
Cédric Krier 20dceeec9b Fix UnboundLocalError introduced in changeset 01399128964f 2014-09-06 23:39:19 +02:00
Cédric Krier 34367b037c Missing initialisation of update parameter in load_module_graph
Since changeset 01399128964f, update must be a list of module to update.
2014-09-06 16:17:21 +02:00
Cédric Krier 41bd15b31e Use sequence as parameter of query for MySQLdb >= 1.2.5
issue4149
review7531002
2014-09-04 00:19:39 +02:00
Cédric Krier e0b995abbe Refactore configuration to allow easy extention
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier 6765a12e5a Add add_remove alias on Many2Many for compatibility with One2Many
issue4112
review5511002
2014-09-01 12:53:32 +02:00
Cédric Krier 349fc51a7f Use the context of the relation field for instanciation
issue4098
review13461002
2014-08-29 16:49:09 +02:00
Pierre-Louis Bonicoli 3a8373db6e Use a configuration file for logging
issue4040
review10441002
2014-08-26 16:50:25 +02:00
Cédric Krier 40df019a5e merge 2014-08-19 14:51:23 +02:00
Sergi Almacellas Abellana c2de992751 Avoid updating mptt tree when parent field hasn't been modified
issue4095
review6451002
2014-08-06 12:13:29 +02:00
Guillem Barba 1301551515 Use repr() to show value in digits_validation_error message
issue4083
review5471002
2014-08-04 18:19:55 +02:00
Cédric Krier cd2ac5c1b1 Add translated descriptor for Selection field
issue3679
review10401002
2014-08-04 16:50:59 +02:00
Cédric Krier 2b5e337553 Missing loading attribute in Function.__copy__
and remove useless deepcopy of string attributes.

review11391002
2014-08-01 10:20:32 +02:00
Cédric Krier ff7e4df714 Improve get_action on Menu
review5481002
2014-07-31 19:38:33 +02:00