Commit Graph
4600 Commits
Author SHA1 Message Date
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
Cédric Krier 460a38c386 Speed up XML import
- write grouped_model_data only at the end of data tag
- order record by id

issue4079
review10451002
2014-07-31 19:36:16 +02:00
Cédric Krier ae4224c16b Remove wrong docstring for table_query
The right one is in the documentation.
2014-07-29 11:07:15 +02:00
Cédric Krier 18f7565434 Add tree_state attribute on tree view
issue4028
review11331004
2014-07-20 12:54:11 +02:00
Cédric Krier e64956cffe Use unittest skipIf
review9491002
2014-07-20 12:48:56 +02:00
Cédric Krier 5bc2beaa75 Add test on browsing history
review5451002
2014-07-20 12:47:50 +02:00
Cédric Krier a289d8ad02 Use a more expressive tree icon
issue4034
2014-07-20 12:46:14 +02:00
Cédric Krier ab820aecf5 'res' should be global in load_modules
issue4045
2014-07-20 12:39:15 +02:00
Cédric Krier cc39b82917 Exit run-tests with correct error code
review7411002
2014-07-20 12:38:23 +02:00
Sergi Almacellas Abellana fd7c510ce4 Add grouped_slice helper and use it.
issue3516
review10301002
2014-07-17 18:53:05 +02:00
Cédric Krier b19d919d15 On restore_history select the record with highest __id
issue3861
review13391002
2014-07-09 00:26:31 +02:00
Cédric Krier 7a283a20c3 Normalize json domain for tree state
JSON string could be different for the same object because of spaces.

issue4027
review11331005
2014-07-09 00:25:10 +02:00
Cédric Krier fc2fa94e1c Missing migration to ModelData.load_values in check_xml_record
issue3918
review5421003
2014-06-28 14:57:12 +02:00
Cédric Krier 12635ced23 Use list comprehension in ActionKeyword
review6391003
2014-06-28 14:55:37 +02:00
Cédric Krier 721f736088 Clear ModelView cache in ActionMixin modification
issue3959
review9451003
2014-06-28 14:44:51 +02:00
Cédric Krier e339a57b3e No need to use context in the key of _view_toolbar_get_cache
Cache already use by default the context to generate the key.

issue3993
review13351002
2014-06-22 17:18:01 +02:00
Cédric Krier 68c34c203a Add name to union_column to ease override
The current union_column uses the field.name to get the union_field, it works
correctly but prevent to implement by override a clean mapping transformation of
name between the union and the models. Indeed it is doable by passing an other
field but then we could potentially lost the automatic sharding.

issue3992
review13331003
2014-06-22 17:11:06 +02:00
Cédric Krier 962fe3daf5 Merge ir_translation migration from 2.2 and 2.8
Both migration are incompatible so it only works if there are merged.

issue3998
review7391002
2014-06-22 16:58:07 +02:00
Cédric Krier 7218f5d42a On historied search select the record with highest __id
issue3861
review11271002
2014-06-22 16:56:08 +02:00
Sergi Almacellas Abellana 780f047e10 Use one transaction per test that fails in the database
review13331002
2014-06-17 11:37:45 +02:00
Cédric Krier 6c793d540b Fix changeset d3caeb4c20d1 to use the new JSONDecoder instead of object_hook 2014-06-14 08:48:55 +02:00
Cédric Krier b955ab3070 Allow to sync XML data
- Adds menu entry for ir.model.data
- Remove write access on ir.model.data to administrator group
- Add sync button on ir.model.data
- Change storage format of values to be comparable

issue3918
review8351002
2014-06-13 19:14:48 +02:00
Cédric Krier 3c53e43d25 Add test numeric search with None
issue3930
review11281002
2014-06-13 19:12:14 +02:00