Commit Graph
3046 Commits
Author SHA1 Message Date
Pierre-Louis Bonicoli b5245c82e1 View: remove encoding declaration (fix lxml usage)
issue3119
review765002
2013-04-08 10:57:39 +02:00
Cédric Krier 36d681263d Fix search on tree rec_name
issue2868
review757002
2013-04-06 12:28:28 +02:00
Cédric Krier a986f2ecd5 Add missing break when looping over security.check
If call to security.check doesn't raise a DatabaseOperationalError, it should
not be retried.
2013-04-03 14:44:50 +02:00
Cédric Krier 83eee68713 Fallback to order by id when ordering Many2One 2013-04-01 16:57:02 +02:00
Cédric Krier f27631161a Add test for unknown fields in test_depends
review745002
2013-03-27 22:47:06 +01:00
Cédric Krier d9dd0cf368 LoginAttempt.count must return an integer not a tuple
issue3096
2013-03-26 14:18:12 +01:00
Cédric Krier 451e79d59f Fix typo in Model.check_module 2013-03-26 12:19:35 +01:00
Nicolas Évrard 549fb4fa88 Split the User class in order to prevent locking the table
issue2906
review625002
2013-03-23 19:18:03 +01:00
Cédric Krier 2fc5214e4f Remove left/right check on create
It was introduced in changeset c7804c288ca3 but tools like proteus will set the
value on creation because there is a default value on such field as they are
required. So such test is not doable on creation.

issue3019
2013-03-21 21:40:10 +01:00
Cédric Krier 15961b9e67 Allow to search on target of Reference field
review716002
2013-03-21 18:20:39 +01:00
Nicolas Évrard 94914dc086 merge. 2013-03-21 13:52:12 +01:00
Nicolas Évrard 26eb243b63 Allow to override string of fields
review597005
2013-03-21 13:51:04 +01:00
Cédric Krier e701223d75 Fix set translation as view.arch could be None 2013-03-21 11:34:00 +01:00
Cédric Krier a95ae0dad9 Remove _inherits
review670002
2013-03-20 22:49:16 +01:00
Cédric Krier 9af0cc3039 Re-add tests of search on Reference field with tuple/list 2013-03-17 00:56:45 +01:00
Cédric Krier a8755c51ea Fix uninitialized new_records in ModelStorage.copy 2013-03-17 00:17:19 +01:00
Cédric Krier 84240b78c3 Add dynamic label and prefix, suffix on tree view
review689003
2013-03-15 21:44:22 +01:00
Cédric Krier f74b525a4d Fix Warning.check to use instance for delete
issue3065
review715002
2013-03-15 00:52:16 +01:00
Cédric Krier 2ff45c8869 Let raise exception in sqlite extract 2013-03-13 18:43:35 +01:00
Cédric Krier d7a9e86ed1 Fix local variable 'microseconds' referenced before assignment
issue3049
2013-03-13 18:42:30 +01:00
Cédric Krier b7ab51697b Fix check of _sql_error_messages 2013-03-12 11:47:14 +01:00
Cédric Krier 18e7ff87c3 clear _values before save values
This is to allow to use the instance passed to write and then having the real
stored values.

review707002
2013-03-12 10:34:14 +01:00
Albert Cervera i Areny 7ae0c13c3a Remove useless recursion_error entries in ir.translation. 2013-03-07 18:27:42 +01:00
Albert Cervera i Areny 25463800c9 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:53:19 +01:00
Sharoon Thomas 6efc1f6a0c Improve trigger tests
review690002
2013-03-06 17:00:34 +01:00
Sharoon Thomas c861f0fb70 Fix records built as argument by trigger_action
Fix the construction of active records sent as arguments to trigger action
functions to use the source model instead of action_model.

issue3026
review690002
2013-03-06 16:59:54 +01:00
Cédric Krier a3857167fd Don't use Model from res module in ir module
As ir module doesn't depend on res module, it should not use the Model of it.
2013-03-06 13:32:16 +01:00
Cédric Krier 1887c2c564 Enforce usage of None instead of False
review685002
2013-03-05 10:33:18 +01:00
Cédric Krier d5b8bba99a Use better order for existing translation when importing po file
review701002
2013-03-05 10:31:15 +01:00
Cédric Krier 7bea08c745 Fix coding for StringMatcher in global_search
StringMatcher requires to have the same type of strings

issue3029
review696002
2013-03-05 10:28:11 +01:00
Albert Cervera i Areny 511e78e6fa Consider that reference fields may be of tuple type in menu.
review699002
2013-03-05 00:15:03 +01:00
Albert Cervera i Areny d3466b21c9 Remove _id suffixes from ir.model.field-res.group
review700002
2013-03-05 00:08:40 +01:00
Cédric Krier d9c75603a0 Use correct grouping, thousands_sep for en_US and fr_FR
review691002
2013-03-04 22:13:05 +01:00
Cédric Krier 10b2b5cfda Fix check of _sql_error_messages
issue3021
review682002
2013-03-04 21:30:17 +01:00
Cédric Krier 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +01:00
Cédric Krier 2808c7315d Remove button type for documentation
All types of button have been merged in changeset c5324dfc9882
2013-02-26 18:06:34 +01:00
Pierre-Louis Bonicoli 8b1cae85f5 use IOError & display filename of db when SQLite db is not found
issue3020
review680002
2013-02-26 13:30:49 +01:00
Cédric Krier e30c4e51a1 Fix wrong instantiation when removing module
issue3025
review689002
2013-02-26 13:03:31 +01:00
Ian Wilson 4790d575b0 Data must be item and not list.
Unpack data into an item from a list to be consistent.

issue3016
review679002
2013-02-25 12:53:32 -08:00
Cédric Krier 2af1936eb1 Ensure the existing record are always set on xxx2many
review662005
2013-02-23 18:29:14 +01:00
Cédric Krier 690c066c35 Add documentation for Dict field and standardize options
review672003
2013-02-23 18:26:01 +01:00
Cédric Krier cab7a9778e Move view translation into TranslationSet wizard
Since the possibility to have view XML in a separate file, the translation
synchronization can not be done anymore in the check_xml.

issue2926
review666003
2013-02-23 17:50:46 +01:00
Cédric Krier 00f7400e8c At least make record inactive if delete fails
review665003
2013-02-23 14:32:50 +01:00
Cédric Krier 098f815d69 Delete takes instance not ids
issue3015
2013-02-21 23:31:08 +01:00
Pierre-Louis Bonicoli e7ee28a15b 'Configure users' wizard: clean state after saving
issue2973
review657003
2013-02-18 00:40:02 +01:00
Ian Wilson 32e28ccd63 Use new search API.
The search method returns records now so browse is no longer needed.

issue3004
review672002
2013-02-15 14:06:13 -08:00
Ian Wilson 238750fe48 Update migration code to use new search and write api.
Search returns record objects now and write expects a list of records.

issue3002
review662004
2013-02-15 13:49:09 -08:00
Cédric Krier 63a2b16aa9 Fields with set was not always called since new create API
review668003
2013-02-15 19:24:22 +01:00
Cédric Krier 5a3568fd31 Fix strip as selection could be str or unicode
issue2978
review668002
2013-02-11 10:38:51 +01:00
Cédric Krier 3cb9f0468f Always update attributes and store view per id
This is needed to allow the client to choose the right view when the same field
is displayed multiple times with different views.

review656002
2013-02-05 19:31:22 +01:00