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
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
Cédric Krier
d49fb4318d
Add selection_change_with on Selection and Reference fields
...
review587002
2013-02-05 19:06:16 +01:00
Cédric Krier
b2d11b6df5
local_cache and model2ids must depend on datetime
...
review650002
2013-02-04 20:08:10 +01:00
Cédric Krier
289eaac537
Add test for copy of One2Many
2013-02-04 20:03:18 +01:00
Cédric Krier
60d4e28911
Fix copy when relation field is a Reference
...
review654003
2013-02-04 20:02:37 +01:00
Cédric Krier
1e60085854
Use a better hashing method for context
...
repr doesn't guarantee to have always the same string
review642002
2013-02-04 19:59:05 +01:00
Cédric Krier
fd01a724f8
Add Dict fields
...
review501007
2013-01-26 15:18:41 +01:00
Cédric Krier
9deb4d3591
Retry security.check on DatabaseOperationalError
...
review638002
2013-01-26 15:09:17 +01:00
Cédric Krier
d5241a05dd
merge
2013-01-21 12:47:46 +01:00
Cédric Krier
8e248e9922
Fix wrong access check read -> write
...
Typo introduced in changeset cc8493263998
2013-01-21 12:46:24 +01:00
Albert Cervera i Areny
8060c42f2b
Fix upgrade after the removal of fields in ir.rule.
...
issue2964
review643002
2013-01-20 23:08:53 +01:00
Cédric Krier
d5ba4e67c0
Call only once _save_values in ModelStorage.save
2013-01-20 14:16:32 +01:00
Cédric Krier
515051ac21
Remove unique constraint on model and field access
...
Removing this constraint makes Tryton more modular.
As sometimes access must be added by module for technical reason, we should not
worry about duplication of such access entry.
review614003
2013-01-13 22:43:59 +01:00
Albert Cervera i Areny
30b1403cdc
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
e0eecb9dae
Missing migration to Rule.domain
2012-12-28 11:04:09 +01:00
Cédric Krier
9abd6d2c23
Remove no more needed migration of operator in Rule
2012-12-28 11:03:29 +01:00
Cédric Krier
259150b712
Fix name in Translation.set_ids for ir.model{,.field}
2012-12-27 22:36:33 +01:00